[gstreamer-bugs] [Bug 566936] New: [playbin2] Stopping a playbin2 breaks subtitles
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Jan 7 11:19:52 PST 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=566936
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: [playbin2] Stopping a playbin2 breaks subtitles
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: guillaume at fluendo.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Using a playbin2 with uri and suburi set, going from STATE_PLAYING to
STATE_NULL and then back to STATE_PLAYING breaks the display of subtitles.
Example python code that triggers the bug:
------8<----------
#video and subs contain respectively a video uri and a subtitle file uri
pipeline = gst.element_factory_make('playbin2')
pipeline.set_property('uri', video)
pipeline.set_property('suburi', subs)
pipeline.set_state(gst.STATE_PLAYING)
time.sleep(5)
pipeline.set_state(gst.STATE_NULL)
pipeline.get_state(0)
pipeline.set_state(gst.STATE_PLAYING)
time.sleep(5)
pipeline.set_state(gst.STATE_NULL)
------8<----------
Expected result:
The subtitles are shown in both iterations
Currentt result:
The subtitles are not shown the second time the video is played
Setting again the suburi does not change anything.
The subtitles are displayed if playbin is used instead of playbin2.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=566936.
More information about the Gstreamer-bugs
mailing list