camerabin2: update tests to set post-previews to true

Makes most of camerabin2 tests pass again
This commit is contained in:
Thiago Santos 2011-11-08 07:33:59 -03:00
parent ad1ddaf53a
commit 09d53c8fed

View 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);