[gstreamer-bugs] [Bug 637586] playbin2 fails to recognize subtitle caps from katedec

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Dec 19 09:04:38 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=637586
  GStreamer | gst-plugins-base | git

Sebastian Dröge <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at circular-chaos.org

--- Comment #1 from Sebastian Dröge <slomo at circular-chaos.org> 2010-12-19 17:04:34 UTC ---
Reason for this is the code in gstplaybin2.c around line 2733, which sends a
sink-message event downstream *after* the subtitle inputselector and this event
is causing the subtitleoverlay to block. Unfortunately the subtitle input
selector did not get a newsegment event yet and as such did not select a active
sinkpad yet, causing the get_caps/get_negotiated_caps calls in subtitleoverlay
to return ANY.

One solution might be to delay the sink-message events to the selector_blocked
callback in playbin2, which is called when the selector gets unblocked (i.e.
got an event) (and this will also cause the events to be sent from the
corresponding streaming threads).

OTOH the sink-message events should probably be sent immediately after the
newsegment event to allow correct synchronization in the sink.

-- 
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