summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2011-09-08 23:45:22 +0200
committerJosep Torra <n770galaxy@gmail.com>2011-09-08 23:45:22 +0200
commit69cc5947732241c44c7a80b170a771fd6d273cc9 (patch)
tree8d1661a5417ae9b58f1b3215bca421a257bd90e3
parentc97037d742d3945417b2b55a94465fd8e8c9825d (diff)
Revert "playsink: only add text overlay if vido sink also accepts raw caps"subtitles
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;
}