summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-01-03 16:07:24 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-01-03 16:07:24 +0100
commit80b17c179a9406c348134075d1698aafa32d8096 (patch)
tree4dd2e2936cb972e81b7f4bb0183f79b58ada7777 /ext
parentc4b0bdb5564f389e470664bf87ec712e29ea7737 (diff)
openh264dec: Remove useless check
We are sure to have a frame at this point CID #1427138
Diffstat (limited to 'ext')
-rw-r--r--ext/openh264/gstopenh264dec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openh264/gstopenh264dec.cpp b/ext/openh264/gstopenh264dec.cpp
index 4cabfe4da..a7910f066 100644
--- a/ext/openh264/gstopenh264dec.cpp
+++ b/ext/openh264/gstopenh264dec.cpp
@@ -260,7 +260,7 @@ gst_openh264dec_handle_frame (GstVideoDecoder * decoder,
/* No output available yet */
if (dst_buf_info.iBufferStatus != 1) {
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;