After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704852 - Videomixer fails to preroll when different formats are requested on its sink pads.
Videomixer fails to preroll when different formats are requested on its sink ...
Status: RESOLVED DUPLICATE of bug 684237
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-25 09:30 UTC by Mathieu Duponchelle
Modified: 2013-07-25 10:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu Duponchelle 2013-07-25 09:30:57 UTC
As shown by :

gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw, format=I420 ! videomixer name=m ! autovideosink videotestsrc ! videoconvert ! video/x-raw, format=RGBA ! m.

videomixer goes in an infinite negotiation loop.

That can be solved fairly easily I believe, but another problem arises:

What shall videomixer do when for example a first pad is negotiated without an alpha channel,
then a second one with alpha tries to negotiate ?

It would be nice to have videomixer renegotiate the existing pads to respect alpha.
Comment 1 Sebastian Dröge (slomo) 2013-07-25 10:02:09 UTC
The first should be possible to fix quite easily, it should never go into an infinite loop but if nothing sensible can be done just error out.


The second can be improved a bit by having videoconvert before each videomixer sinkpad. And then if something tries a wrong format and the other upstreams would support that wrong format, try to renegotiate them and wait. Impossible to fix in general and without ever losing frames though.


Also is a duplicate of bug #684237

*** This bug has been marked as a duplicate of bug 684237 ***