mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
nvcodec: fix compiler warning in certain setups
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>
This commit is contained in:
parent
b68e47968b
commit
9539eecf20
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue