projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4b0bdb
)
openh264dec: Remove useless check
author
Edward Hervey
<edward@centricular.com>
Wed, 3 Jan 2018 15:07:24 +0000
(16:07 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 3 Jan 2018 15:07:24 +0000
(16:07 +0100)
We are sure to have a frame at this point
CID #1427138
ext/openh264/gstopenh264dec.cpp
patch
|
blob
|
history
diff --git
a/ext/openh264/gstopenh264dec.cpp
b/ext/openh264/gstopenh264dec.cpp
index
4cabfe4
..
a7910f0
100644
(file)
--- 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;