In case of reusing aacparse ,Not working as expected

Tim Müller tim at centricular.com
Tue May 23 12:46:24 UTC 2017


On Tue, 2017-05-23 at 04:54 -0700, vijaypalaniswamy wrote:

Hi,

> If we reuse the audio parser [aacparse] in the pipeline [Reusing: By
> setting pipeline to NULL and again set to playing]
> ...
> Getting below error:
> baseparse gstbaseparse.c:2596:gst_base_parse_push_frame:<aacparse0>
> error: No caps set
> ...
> I tried with below fix by initializing all private member variables
> in
> "gst_aac_parse_start". With this fix its working fine
> 
> +  aacparse->object_type = 0;
> +  aacparse->bitrate = 0;
> +  aacparse->header_type = DSPAAC_HEADER_NOT_PARSED;
> +  aacparse->output_header_type = DSPAAC_HEADER_NOT_PARSED;
> +  aacparse->channels = 0;
> +  aacparse->sample_rate = 0;
> 
> The issue is with channels and sample_rate but i initialized all the
> values.

Please could you file a bug in bugzilla and attach your patch there?
(in git format-patch format) Thanks!

Cheers
 -Tm

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list