mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
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:
parent
596c75b541
commit
8f8ad316ce
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue