openh264dec: On ::finish() stop trying if the decoder returned that no output is available
This commit is contained in:
parent
088cf16bf9
commit
bc8e1465dc
@ -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…
x
Reference in New Issue
Block a user