[Bug 684237] videomixer: Caps negotiation does not always work
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Sep 17 10:26:56 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=684237
GStreamer | gst-plugins-good | git
--- Comment #1 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2012-09-17 17:26:52 UTC ---
Created an attachment (id=224533)
View: https://bugzilla.gnome.org/attachment.cgi?id=224533
Review: https://bugzilla.gnome.org/review?bug=684237&attachment=224533
Don't let GstCollectPads shadow custom sinkpad query function
The first issue I found is that the custom sink pad function was never called.
This was due to GstCollectPads overriding it, and chaining to GstPad default. I
have solved this issue by setting the custom query function on the
GstCollectPads object.
This is not a complete fix for this issue. This negotiation method seems racy
and possibly incomplete. Here is some pipeline that fails, or fails after some
tries:
gst-launch-1.0 videotestsrc ! video/x-raw,format=AYUV ! videomixer name=mix !
videoconvert ! xvimagesink videotestsrc pattern=1 ! alpha ! mix.
gst-launch-1.0 videotestsrc ! video/x-raw,format=ARGB ! videomixer name=mix !
videoconvert ! xvimagesink videotestsrc pattern=1 ! alpha ! mix.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list