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-12 15:48:59 +0200
commitfd41003a196a0896e0ae25a891d9257ad1f4da07 (patch)
tree97a8c0b70504d458a6cf89996b3d40ea2f2a246d
parent714e08789bf4a2e26814e0d87b02e89c7385e9d5 (diff)
Revert "playsink: only add text overlay if vido sink also accepts raw caps"subtitles2
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;
}