diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index f1e2c89d0b..e89b0a7dbb 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -1067,7 +1067,6 @@ gst_video_decoder_negotiate_default_caps (GstVideoDecoder * decoder) 1, 1, NULL); } caps = gst_caps_fixate (caps); - structure = gst_caps_get_structure (caps, 0); if (!caps || !gst_video_info_from_caps (&info, caps)) goto caps_error;