From: Sebastian Dröge Date: Tue, 21 Sep 2010 17:13:07 +0000 (+0200) Subject: shapewipe: Force the input to AYUV to prevent negotiation failures in videomixer X-Git-Tag: RELEASE-0.10.26~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e20663bf895844674d7039e52c63c05fb4a68221;p=platform%2Fupstream%2Fgst-plugins-good.git shapewipe: Force the input to AYUV to prevent negotiation failures in videomixer The second videotestsrc chain might produce YUY2 because everything is accepted downstream before the first shapewipe chain gets negotiated. --- diff --git a/tests/examples/shapewipe/shapewipe-example.c b/tests/examples/shapewipe/shapewipe-example.c index 14df6dd..94f7175 100644 --- a/tests/examples/shapewipe/shapewipe-example.c +++ b/tests/examples/shapewipe/shapewipe-example.c @@ -79,7 +79,7 @@ main (gint argc, gchar ** argv) pipeline_string = g_strdup_printf - ("videotestsrc ! video/x-raw-yuv,width=640,height=480 ! shapewipe name=shape border=0.05 ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink filesrc location=%s ! typefind ! decodebin2 ! ffmpegcolorspace ! videoscale ! queue ! shape.mask_sink videotestsrc pattern=snow ! video/x-raw-yuv,width=640,height=480 ! queue ! mixer.", + ("videotestsrc ! video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480 ! shapewipe name=shape border=0.05 ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink filesrc location=%s ! typefind ! decodebin2 ! ffmpegcolorspace ! videoscale ! queue ! shape.mask_sink videotestsrc pattern=snow ! video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480 ! queue ! mixer.", argv[1]); pipeline = gst_parse_launch (pipeline_string, NULL);