v4l2sink: fix another unused-but-set-variable warning
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 17:16:11 +0000 (18:16 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 17:16:11 +0000 (18:16 +0100)
sys/v4l2/gstv4l2sink.c

index aa6785c..fcf7e87 100644 (file)
@@ -658,7 +658,7 @@ gst_v4l2sink_get_caps (GstBaseSink * bsink)
 
   ret = gst_caps_new_empty ();
 
-  for (walk = v4l2sink->v4l2object->formats; walk; walk = walk->next) {
+  for (walk = formats; walk; walk = walk->next) {
     struct v4l2_fmtdesc *format;
 
     GstStructure *template;