ac3parse: inform base parser of frame duration
This commit is contained in:
parent
8e91b3b3c5
commit
bb8085a348
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user