gst-plugins-bad: camerabin: Add viewfinder colorspace conversion to default flags

Thiago Sousa Santos thiagoss at kemper.freedesktop.org
Fri Jan 27 04:37:27 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: f4d6e03b9b36e76d57745438178d3ddacddb9247
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=f4d6e03b9b36e76d57745438178d3ddacddb9247

Author: Thiago Santos <thiago.sousa.santos at collabora.com>
Date:   Fri Jan 27 07:36:19 2012 -0300

camerabin: Add viewfinder colorspace conversion to default flags

This make the default settings more likely to work. If needed, one
can optimize by disabling conversions with the flags.

---

 gst/camerabin/gstcamerabin.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c
index be13b65..c9f342b 100644
--- a/gst/camerabin/gstcamerabin.c
+++ b/gst/camerabin/gstcamerabin.c
@@ -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



More information about the gstreamer-commits mailing list