[gstreamer-bugs] [Bug 610379] [playbin2] doesn't play if text flag is unset and media has text subtitles

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 19 09:04:28 PST 2010


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

--- Comment #6 from Sebastian Dröge <slomo at circular-chaos.org> 2010-02-19 17:04:24 UTC ---
So the problem is the following here (copied from IRC):

 ->text_pad is non-NULL if playbin2 requested one (which is always the case if
the media contains text streams). this resulted in the video pad being not
ghosted (i.e. NULL target) by the video specific code there if  text pad was
requested. later in the text code, a video pad would be ghosted to
subtitleoverlay but unfortunately no text chain was generated because the text
flag wasn't set on playbin2.

This resulted in the video pad having no peer and everything was unhappy :) in
the case where text is disabled via flags but a textchain already exists, the
text code below makes sure that the video pad is connected to subtitleoverlay
and that subtitles are only disabled (via textoverlay property, etc)

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