xvimagesink: remove unused assignment
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 15 May 2012 13:09:05 +0000 (16:09 +0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 19 May 2012 10:19:47 +0000 (11:19 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=676344

sys/xvimage/xvimagesink.c

index a8fd9ea..7fb457f 100644 (file)
@@ -1562,8 +1562,6 @@ gst_xvimagesink_setcaps (GstBaseSink * bsink, GstCaps * caps)
   if (!gst_video_info_from_caps (&info, caps))
     goto invalid_format;
 
-  structure = gst_caps_get_structure (caps, 0);
-
   xvimagesink->fps_n = info.fps_n;
   xvimagesink->fps_d = info.fps_d;