mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
openh264dec: Remove useless check
We are sure to have a frame at this point CID #1427138
This commit is contained in:
parent
c4b0bdb556
commit
80b17c179a
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ gst_openh264dec_handle_frame (GstVideoDecoder * decoder,
|
||||||
/* No output available yet */
|
/* No output available yet */
|
||||||
if (dst_buf_info.iBufferStatus != 1) {
|
if (dst_buf_info.iBufferStatus != 1) {
|
||||||
gst_video_codec_frame_unref (frame);
|
gst_video_codec_frame_unref (frame);
|
||||||
return (frame ? GST_FLOW_OK : GST_FLOW_EOS);
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
actual_width = dst_buf_info.UsrData.sSystemBuffer.iWidth;
|
actual_width = dst_buf_info.UsrData.sSystemBuffer.iWidth;
|
||||||
|
|
Loading…
Reference in a new issue