mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Pass -1 as number of frames to the base class
This will automatically do the right thing if timestamps are good enough
This commit is contained in:
parent
0143418e0c
commit
613a75ad92
1 changed files with 1 additions and 2 deletions
|
@ -590,9 +590,8 @@ retry:
|
|||
gst_util_uint64_scale (buffer_info.presentation_time_us, GST_USECOND,
|
||||
1);
|
||||
|
||||
/* FIXME: Assuming we get a single frame per output buffer */
|
||||
flow_ret =
|
||||
gst_audio_decoder_finish_frame (GST_AUDIO_DECODER (self), outbuf, 1);
|
||||
gst_audio_decoder_finish_frame (GST_AUDIO_DECODER (self), outbuf, -1);
|
||||
}
|
||||
|
||||
if (is_eos || flow_ret == GST_FLOW_UNEXPECTED) {
|
||||
|
|
Loading…
Reference in a new issue