From: Sebastian Dröge Date: Fri, 14 May 2010 15:17:33 +0000 (+0200) Subject: playsink: Don't fail if subtitles are used but only audio is available and no visuali... X-Git-Tag: RELEASE-0.10.30~192 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c85f2c890ddf1968520c030195e735199622615;p=platform%2Fupstream%2Fgst-plugins-base.git 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. --- diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index abf0210..7edaae2 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -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"));