diff options
author | vijay <vijay.palaniswamy@in.bosch.com> | 2017-05-24 11:33:05 +0530 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-05-24 13:59:52 +0200 |
commit | 810c0bb0845a4251bf6db341ee58f119c8129b89 (patch) | |
tree | 93bc7717bec92f25262fd275786b36b85f8ef35f | |
parent | f13f3584acc129f33103165da485c1eabbd65895 (diff) |
aacparse : Fix, Caps were not set while reusing aacparse
While reusing aacparse caps were not set.This fix enables aacparse to reuse in same pipeline.
https://bugzilla.gnome.org/show_bug.cgi?id=783027
-rw-r--r-- | gst/audioparsers/gstaacparse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c index cabd961cd..c9ce30443 100644 --- a/gst/audioparsers/gstaacparse.c +++ b/gst/audioparsers/gstaacparse.c @@ -1499,6 +1499,12 @@ gst_aac_parse_start (GstBaseParse * parse) aacparse->sent_codec_tag = FALSE; aacparse->last_parsed_channels = 0; aacparse->last_parsed_sample_rate = 0; + 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; return TRUE; } |