Revert "playsink: only add text overlay if vido sink also accepts raw caps"

This reverts commit a22faad18a. Instead
of disabling subtitles completelly when video stream have custom caps,
just let the sutbtileoverlay cope with them as now it's able to.
This commit is contained in:
Josep Torra 2011-09-12 15:48:59 +02:00
parent 596c75b541
commit 8f8ad316ce

View file

@ -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;
}