camerabin: Add viewfinder colorspace conversion to default flags
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 27 Jan 2012 10:36:19 +0000 (07:36 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 27 Jan 2012 10:37:56 +0000 (07:37 -0300)
This make the default settings more likely to work. If needed, one
can optimize by disabling conversions with the flags.

gst/camerabin/gstcamerabin.c

index be13b65d7c82d3351a2d0d83de46a5d4e63c7a92..c9f342bedc8e612b0fefd6d601ede445f8d7d597 100644 (file)
@@ -210,9 +210,10 @@ static guint camerabin_signals[LAST_SIGNAL];
 
 #define DEFAULT_FLAGS GST_CAMERABIN_FLAG_SOURCE_RESIZE | \
   GST_CAMERABIN_FLAG_VIEWFINDER_SCALE | \
-  GST_CAMERABIN_FLAG_AUDIO_CONVERSION | \
+  GST_CAMERABIN_FLAG_VIEWFINDER_COLOR_CONVERSION | \
   GST_CAMERABIN_FLAG_IMAGE_COLOR_CONVERSION | \
-  GST_CAMERABIN_FLAG_VIDEO_COLOR_CONVERSION
+  GST_CAMERABIN_FLAG_VIDEO_COLOR_CONVERSION | \
+  GST_CAMERABIN_FLAG_AUDIO_CONVERSION
 
 /* Using "bilinear" as default zoom method */
 #define CAMERABIN_DEFAULT_ZOOM_METHOD 1