projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68e479
)
nvcodec: fix compiler warning in certain setups
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 3 May 2020 09:59:45 +0000
(09:59 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 3 May 2020 10:08:29 +0000
(11:08 +0100)
Fixes gstnvh264dec.c:648:12: warning: unused variable ‘ret’
compiler warning on raspbian where HAVE_NVCODEC_GST_GL is
not defined.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1239>
sys/nvcodec/gstnvh264dec.c
patch
|
blob
|
history
diff --git
a/sys/nvcodec/gstnvh264dec.c
b/sys/nvcodec/gstnvh264dec.c
index
940bbef
..
9db36d9
100644
(file)
--- a/
sys/nvcodec/gstnvh264dec.c
+++ b/
sys/nvcodec/gstnvh264dec.c
@@
-645,7
+645,7
@@
gst_nv_h264_dec_output_picture (GstH264Decoder * decoder,
GstVideoCodecFrame *frame = NULL;
GstBuffer *output_buffer = NULL;
GstNvDecoderFrame *decoder_frame;
- gboolean ret = FALSE;
+ gboolean ret
G_GNUC_UNUSED
= FALSE;
GST_LOG_OBJECT (self,
"Outputting picture %p (poc %d)", picture, picture->pic_order_cnt);