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 705379 - subtitleoverlay: negotiation error
subtitleoverlay: negotiation error
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.1.3
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-02 20:09 UTC by Arnaud Vrac
Modified: 2013-08-30 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnaud Vrac 2013-08-02 20:09:59 UTC
When playing videos with subtitles with playbin, I usually get the following error:

suboverlay: GStreamer error: negotiation problem. (/home/rawoul/work/git/fbx6/buildroot/packages/gstpluginsbase/gitsrc/gst/playback/gstsubtitleoverlay.c(1054): _pad_blocked_cb (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:tbin/GstSubtitleOverlay:suboverlay:
Subtitle sink is blocked but we have no subtitle caps)


This is because the subtitle sink is blocked by a stream-start event, and at this point caps were not sent yet so this happens.
Comment 1 Arnaud Vrac 2013-08-05 15:52:08 UTC
A crash can also happen if the video pad is blocked by its stream-start event, and the subtitle pad already received its caps. In this case the _link_renderer function fails because the video caps are ANY.

Unfortunately I haven't been able to get a trace of the crash, I can't reproduce the race with gdb running.
Comment 2 Sebastian Dröge (slomo) 2013-08-08 09:28:27 UTC
That can probably be fixed by allowing everything until caps to pass through the pad and only block on the caps.

Do you have a testcase for this? It worked for me a few days ago
Comment 3 Arnaud Vrac 2013-08-30 12:33:30 UTC
I can't reproduce this anymore in master/1.1.4. I'll reopen the issue if I see it happening again.

Thanks