Make switching off of subtitles work. To avoid all kind of problems with unlinking...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 20 Dec 2007 10:41:29 +0000 (10:41 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 20 Dec 2007 10:41:29 +0000 (10:41 +0000)
commit85f189aee5d58f3545dd0fdb33be476c2d4d6633
treec90827f598dfa8c660b447b4a3347567bf0214a8
parente56165db4fce1a7c93a36178830aa3dbf9867c75
Make switching off of subtitles work. To avoid all kind of problems with unlinking of the subtitle input, we just kee...

Original commit message from CVS:
* 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.
ChangeLog
ext/pango/gsttextoverlay.c
gst/playback/gstplaybasebin.c
gst/playback/gstplaybasebin.h
gst/playback/gstplaybin.c