• Tim-Philipp Müller's avatar
    Make switching off of subtitles work. To avoid all kind of problems with... · 85f189ae
    Tim-Philipp Müller authored
    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.
    85f189ae
gstplaybin.c 60.3 KB