mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-13 03:24:14 +00:00
playsink: Don't fail if subtitles are used but only audio is available and no visualizations
Instead simply disable displaying of the subtitles for now, as was intended by that part of code... Fixes bug #610866.
This commit is contained in:
parent
e5304c3040
commit
0c85f2c890
1 changed files with 1 additions and 1 deletions
|
@ -1993,7 +1993,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink)
|
|||
if (need_text && !need_video) {
|
||||
if (playsink->video_pad) {
|
||||
need_video = TRUE;
|
||||
} else if (!need_audio) {
|
||||
} else if (need_audio) {
|
||||
GST_ELEMENT_WARNING (playsink, STREAM, FORMAT,
|
||||
(_("Can't play a text file without video or visualizations.")),
|
||||
("Have text pad but no video pad or visualizations"));
|
||||
|
|
Loading…
Reference in a new issue