ac3parse: inform base parser of frame duration
This commit is contained in:
parent
138c4d7f9c
commit
41e3099d66
@ -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