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 736177 - [REGRESSION] Negotiation fails between a timeoverlay and videomixer
[REGRESSION] Negotiation fails between a timeoverlay and videomixer
Status: RESOLVED DUPLICATE of bug 735844
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-06 07:36 UTC by Thibault Saunier
Modified: 2014-09-09 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2014-09-06 07:36:21 UTC
As we can see here: https://jenkins.arracacha.collabora.co.uk/job/gst-validate-tests/898/testReport/ tests that have a timeoverlay and a videomixer (compositor or old school videomixer) fail to negotiate.

Reproduction:

gst-launch compositor sink_1::alpha=0.5 sink_1::xpos=50 sink_1::ypos=50 name=_mixer !  deinterlace ! videoconvert ! 'fakesink' videotestsrc pattern=snow timestamp-offset=3000000000 ! 'video/x-raw,format=AYUV,width=640,height=480,framerate=(fraction)30/1' !  timeoverlay ! _mixer.

or

gst-launch videomixer sink_1::alpha=0.5 sink_1::xpos=50 sink_1::ypos=50 name=_mixer !  deinterlace ! videoconvert ! 'fakesink' videotestsrc pattern=snow timestamp-offset=3000000000 ! 'video/x-raw,format=AYUV,width=640,height=480,framerate=(fraction)30/1' !  timeoverlay ! _mixer.


The culpright commit is:

commit 76ce11299411b412702d3fab34b7f152dc211156
Author: Arnaud Vrac <avrac@freebox.fr>
Date:   Thu Sep 4 15:06:31 2014 +0200

    basetextoverlay: schedule reconfigure on source pad when negotiation fails
    
    The source pad might be flushing while negotiating, resulting in
    set_caps or the ALLOCATION query failing. In this case set the
    reconfigure flag on the source pad so that negotiation is retried on the
    next buffer.
Comment 1 Tim-Philipp Müller 2014-09-08 09:26:27 UTC
Do you have a GST_DEBUG log? Also see bug #735844 which may or may not be relevant.
Comment 2 Tim-Philipp Müller 2014-09-08 09:27:08 UTC
Nevermind about the debug log, there are pipelines to reproduce it :)
Comment 3 Thiago Sousa Santos 2014-09-09 19:59:55 UTC
Both pipelines work after the patch from #735844 is applied.

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