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.
This commit is contained in:
parent
596c75b541
commit
8f8ad316ce
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user