mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
playsink: Ghost the video sinkpad if a text sinkpad is available
Only don't ghost it if no visualizations are need and if no text is needed and no textchain was created yet. Fixes bug #610379.
This commit is contained in:
parent
d65e1828d7
commit
9fa9834535
1 changed files with 1 additions and 2 deletions
|
@ -1876,8 +1876,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink)
|
|||
add_chain (GST_PLAY_CHAIN (playsink->videochain), TRUE);
|
||||
activate_chain (GST_PLAY_CHAIN (playsink->videochain), TRUE);
|
||||
/* if we are not part of vis or subtitles, set the ghostpad target */
|
||||
if (!need_vis && !need_text && !playsink->text_pad
|
||||
&& !playsink->textchain) {
|
||||
if (!need_vis && !need_text && !playsink->textchain) {
|
||||
GST_DEBUG_OBJECT (playsink, "ghosting video sinkpad");
|
||||
gst_ghost_pad_set_target (GST_GHOST_PAD_CAST (playsink->video_pad),
|
||||
playsink->videochain->sinkpad);
|
||||
|
|
Loading…
Reference in a new issue