camerabin: example: make gst-camera use flags
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Sep 2010 02:41:32 +0000 (23:41 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Sep 2010 02:54:46 +0000 (23:54 -0300)
Enable all convertion flags in gst-camera example app
for safety.

Fixes #603063

tests/examples/camerabin/gst-camera.c

index 8881f06..b56402a 100644 (file)
@@ -545,6 +545,7 @@ me_gst_setup_pipeline (const gchar * imagepost, const gchar * videopost)
   /* set properties */
   g_object_set (gst_camera_bin, "filename", filename->str, NULL);
   g_object_set (gst_camera_bin, "preview-caps", preview_caps, NULL);
+  g_object_set (gst_camera_bin, "flags", 0xdf, NULL);
   gst_caps_unref (preview_caps);
 
   gst_videosrc = gst_element_factory_make (CAMERA_APP_VIDEOSRC, NULL);