deinterlace: Change the default to linear
authorDavid Schleef <ds@schleef.org>
Sat, 11 Dec 2010 20:42:10 +0000 (12:42 -0800)
committerDavid Schleef <ds@schleef.org>
Thu, 6 Jan 2011 01:50:09 +0000 (17:50 -0800)
The previous default, greedyh, takes 4 times as long as MPEG-2
video decoding, and is unlikely fast enough on any current CPU
to play 1080i video in real-time.  greedyl isn't much faster.
linear was chosen over vfir, since the quality advantage of vfir
is minimal compared to the occasional visual artifacts and slower
processing.

gst/deinterlace/gstdeinterlace.c

index ed752b2..1ad960e 100644 (file)
@@ -52,7 +52,7 @@ GST_DEBUG_CATEGORY_STATIC (deinterlace_debug);
 /* Properties */
 
 #define DEFAULT_MODE            GST_DEINTERLACE_MODE_AUTO
-#define DEFAULT_METHOD          GST_DEINTERLACE_GREEDY_H
+#define DEFAULT_METHOD          GST_DEINTERLACE_LINEAR
 #define DEFAULT_FIELDS          GST_DEINTERLACE_ALL
 #define DEFAULT_FIELD_LAYOUT    GST_DEINTERLACE_LAYOUT_AUTO