From 8f8ad316ce303e39689beeb23f335d3b5c359283 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Mon, 12 Sep 2011 15:48:59 +0200 Subject: [PATCH] Revert "playsink: only add text overlay if vido sink also accepts raw caps" This reverts commit a22faad18a73a27a2a0c903748c1a355df4d8c13. Instead of disabling subtitles completelly when video stream have custom caps, just let the sutbtileoverlay cope with them as now it's able to. --- gst/playback/gstplaysink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 78ef84f545..32d0ae79c1 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -2114,8 +2114,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink) GST_OBJECT_UNLOCK (playsink); /* figure out which components we need */ - if (flags & GST_PLAY_FLAG_TEXT && playsink->video_pad_raw - && playsink->text_pad) { + if (flags & GST_PLAY_FLAG_TEXT && playsink->text_pad) { /* we have subtitles and we are requested to show it */ need_text = TRUE; }