mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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.
This commit is contained in:
parent
a1890f8d44
commit
e20663bf89
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue