summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2011-09-12 15:48:59 +0200
committerJosep Torra <n770galaxy@gmail.com>2011-09-14 11:05:45 +0200
commit8f8ad316ce303e39689beeb23f335d3b5c359283 (patch)
treec04abfcc519cba9cc37246ff762f0715927635c9
parent596c75b541c30e0db233f16e3894b65b0ad47712 (diff)
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.
-rw-r--r--gst/playback/gstplaysink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
index 78ef84f54..32d0ae79c 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;
}