mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
subtitleoverlay: Get the target of the video sinkpad, not the target sinkpad in the video setcaps handler
This commit is contained in:
parent
27058c1bc6
commit
01d37532b6
1 changed files with 1 additions and 2 deletions
|
@ -1753,8 +1753,7 @@ gst_subtitle_overlay_video_sink_setcaps (GstPad * pad, GstCaps * caps)
|
|||
|
||||
GST_DEBUG_OBJECT (pad, "Setting caps: %" GST_PTR_FORMAT, caps);
|
||||
|
||||
target =
|
||||
gst_ghost_pad_get_target (GST_GHOST_PAD_CAST (self->subtitle_sinkpad));
|
||||
target = gst_ghost_pad_get_target (GST_GHOST_PAD_CAST (self->video_sinkpad));
|
||||
|
||||
GST_SUBTITLE_OVERLAY_LOCK (self);
|
||||
|
||||
|
|
Loading…
Reference in a new issue