GNOME Bugzilla – Bug 373011
[playbin] throws error when switching off subtitles
Last modified: 2008-08-29 12:28:21 UTC
Please describe the problem: While playing a xvid movie with srt subtitles, if I turn them off (View->Subtitles->None), after a couple of secs it grunts "Internal data flow error" After this, the behavior is a little bit random to me: I can't usually open that movie again unless I have the srt removed from the dir. Steps to reproduce: 1. You need a movie foo.avi and subtitles foo.srt in the same dir 2. Open the movie foo with totem (the subs should display by default) 3. Turn the subs off (View->Subtitles->None) Actual results: A message pops-up: "An error occurred: Internal data flow error." Expected results: The subtitles would stop being displayed and the movie would continue playing without any interruption. Does this happen every time? Yes. I've tried with different movies and subtitles. Other information: Totem output: (totem:12459): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed
*** Bug 335373 has been marked as a duplicate of this bug. ***
I get a similar problem with totem 2.16.2. When watching an .ogm file with subtitles and I turn them off totem completely freezes. I have to kill it. I cannot turn subtitles off.
I also have this problem in Ubuntu Feisty which uses Totem 2.18.0 and Gstreamer 10.12 open any Video that has an external sub & it will produce and internal data flow error.
I've been told this will be fixed in playbin2.
Fixed in CVS: 2007-12-20 Tim-Philipp Müller <tim at centricular dot net> * ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init): * gst/playback/gstplaybasebin.c: (set_subtitles_visible), (set_active_source): * gst/playback/gstplaybasebin.h: * gst/playback/gstplaybin.c: (gst_play_bin_class_init), (setup_sinks), (playbin_set_subtitles_visible): Make switching off of subtitles work. To avoid all kind of problems with unlinking of the subtitle input, we just keep the subtitle inputs linked as they are and tell textoverlay not to render them. Fixes #373011. Other subtitle switching issues (esp. when there are both external and in-stream subtitles) remain. They'll be solved in playbin2.
*** Bug 392198 has been marked as a duplicate of this bug. ***