mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
ac3parse: inform base parser of frame duration
This commit is contained in:
parent
138c4d7f9c
commit
41e3099d66
1 changed files with 2 additions and 0 deletions
|
@ -422,6 +422,8 @@ gst_ac3_parse_parse_frame (GstBaseParse * parse, GstBuffer * buf)
|
|||
|
||||
ac3parse->sample_rate = rate;
|
||||
ac3parse->channels = chans;
|
||||
|
||||
gst_base_parse_set_frame_props (parse, rate, 256 * 6, 50);
|
||||
}
|
||||
|
||||
return GST_FLOW_OK;
|
||||
|
|
Loading…
Reference in a new issue