videoflip: Change the default method to identity
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 18 Apr 2010 20:54:23 +0000 (22:54 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 29 Apr 2010 17:28:21 +0000 (19:28 +0200)
gst/videofilter/gstvideoflip.c

index bcbb826..015a29f 100644 (file)
@@ -58,7 +58,7 @@ enum
       /* FILL ME */
 };
 
-#define PROP_METHOD_DEFAULT GST_VIDEO_FLIP_METHOD_90R
+#define PROP_METHOD_DEFAULT GST_VIDEO_FLIP_METHOD_IDENTITY
 
 GST_DEBUG_CATEGORY_STATIC (video_flip_debug);
 #define GST_CAT_DEFAULT video_flip_debug
@@ -843,4 +843,5 @@ static void
 gst_video_flip_init (GstVideoFlip * videoflip, GstVideoFlipClass * klass)
 {
   videoflip->method = PROP_METHOD_DEFAULT;
+  gst_base_transform_set_passthrough (GST_BASE_TRANSFORM (videoflip), TRUE);
 }