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 373011 - [playbin] throws error when switching off subtitles
[playbin] throws error when switching off subtitles
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 335373 392198 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-09 16:19 UTC by tama
Modified: 2008-08-29 12:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description tama 2006-11-09 16:19:02 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
Comment 1 Tim-Philipp Müller 2006-11-20 23:48:17 UTC
*** Bug 335373 has been marked as a duplicate of this bug. ***
Comment 2 Dan Ballard 2006-11-21 06:40:29 UTC
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.  
Comment 3 Jojo Man 2007-03-17 23:37:54 UTC
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.
Comment 4 Bastien Nocera 2007-12-19 11:26:19 UTC
I've been told this will be fixed in playbin2.
Comment 5 Tim-Philipp Müller 2007-12-20 10:47:07 UTC
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.

Comment 6 Tim-Philipp Müller 2008-08-29 12:28:21 UTC
*** Bug 392198 has been marked as a duplicate of this bug. ***