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:
Tim-Philipp Müller 2020-05-03 09:59:45 +00:00
parent b68e47968b
commit 9539eecf20

View file

@ -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);