deinterlace: fix assigned method_id when using fallback
authorRobert Swain <robert.swain@collabora.co.uk>
Mon, 24 Jan 2011 11:18:39 +0000 (12:18 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 21 Feb 2011 20:14:09 +0000 (20:14 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=642691

gst/deinterlace/gstdeinterlace.c

index 2f7d2ea..98c8247 100644 (file)
@@ -286,6 +286,7 @@ gst_deinterlace_set_method (GstDeinterlace * self, GstDeinterlaceMethods method)
               self->height)) {
         GST_DEBUG_OBJECT (self, "Using method %d", i);
         method_type = tmp;
+        method = i;
         break;
       }
     }