deinterlace: Make automatic detection of interlacing the default
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 30 Apr 2010 20:13:30 +0000 (22:13 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 30 Apr 2010 20:17:12 +0000 (22:17 +0200)
Previously "force deinterlacing" was the default, which is a not very
sensible default for the normal use case where deinterlace should act
in passthrough mode unless interlaced content is present.

gst/deinterlace/gstdeinterlace.c

index ea025c2..8554c9d 100644 (file)
@@ -47,7 +47,7 @@ GST_DEBUG_CATEGORY_STATIC (deinterlace_debug);
 
 /* Properties */
 
-#define DEFAULT_MODE            GST_DEINTERLACE_MODE_INTERLACED
+#define DEFAULT_MODE            GST_DEINTERLACE_MODE_AUTO
 #define DEFAULT_METHOD          GST_DEINTERLACE_GREEDY_H
 #define DEFAULT_FIELDS          GST_DEINTERLACE_ALL
 #define DEFAULT_FIELD_LAYOUT    GST_DEINTERLACE_LAYOUT_AUTO