ac3parse: inform base parser of frame duration

This commit is contained in:
Mark Nauwelaerts 2009-10-28 14:07:17 +01:00 committed by Tim-Philipp Müller
parent 138c4d7f9c
commit 41e3099d66

View file

@ -422,6 +422,8 @@ gst_ac3_parse_parse_frame (GstBaseParse * parse, GstBuffer * buf)
ac3parse->sample_rate = rate; ac3parse->sample_rate = rate;
ac3parse->channels = chans; ac3parse->channels = chans;
gst_base_parse_set_frame_props (parse, rate, 256 * 6, 50);
} }
return GST_FLOW_OK; return GST_FLOW_OK;