mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
openh264dec: On ::finish() stop trying if the decoder returned that no output is available
This commit is contained in:
parent
088cf16bf9
commit
bc8e1465dc
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ gst_openh264dec_handle_frame (GstVideoDecoder * decoder,
|
|||
|
||||
/* No output available yet */
|
||||
if (dst_buf_info.iBufferStatus != 1) {
|
||||
return GST_FLOW_OK;
|
||||
return (frame ? GST_FLOW_OK : GST_FLOW_EOS);
|
||||
}
|
||||
|
||||
actual_width = dst_buf_info.UsrData.sSystemBuffer.iWidth;
|
||||
|
|
Loading…
Reference in a new issue