camerabin2: update tests to set post-previews to true
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 8 Nov 2011 10:33:59 +0000 (07:33 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 8 Nov 2011 10:33:59 +0000 (07:33 -0300)
Makes most of camerabin2 tests pass again

tests/check/elements/camerabin2.c

index 2c1bbb1dbea1db42580f49a4d5b03f67873b7dde..b310b8654a6b20220b2b98d91abc2878545a1d88 100644 (file)
@@ -379,7 +379,7 @@ setup_wrappercamerabinsrc_videotestsrc (void)
   g_object_set (G_OBJECT (audiosrc), "is-live", TRUE, NULL);
   g_object_set (G_OBJECT (src), "video-source", testsrc, NULL);
   g_object_set (G_OBJECT (camera), "camera-source", src, "preview-caps",
-      preview_caps, "audio-source", audiosrc, NULL);
+      preview_caps, "post-previews", TRUE, "audio-source", audiosrc, NULL);
   gst_object_unref (src);
   gst_object_unref (testsrc);
   gst_object_unref (audiosrc);