mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
audiodecoder: track forced decoding state
This commit is contained in:
parent
b9d4d0cd29
commit
45d802b63f
1 changed files with 2 additions and 0 deletions
|
@ -1241,6 +1241,7 @@ gst_audio_decoder_push_buffers (GstAudioDecoder * dec, gboolean force)
|
|||
buffer = gst_buffer_make_writable (buffer);
|
||||
GST_BUFFER_TIMESTAMP (buffer) = ts;
|
||||
flush += len;
|
||||
priv->force = FALSE;
|
||||
} else {
|
||||
if (!force)
|
||||
break;
|
||||
|
@ -1249,6 +1250,7 @@ gst_audio_decoder_push_buffers (GstAudioDecoder * dec, gboolean force)
|
|||
break;
|
||||
}
|
||||
buffer = NULL;
|
||||
priv->force = TRUE;
|
||||
}
|
||||
|
||||
ret = gst_audio_decoder_handle_frame (dec, klass, buffer);
|
||||
|
|
Loading…
Reference in a new issue