[0.11] gst-plugins-base: subtitleoverlay: Get the target of the video sinkpad, not the target sinkpad in the video setcaps handler

Edward Hervey bilboed at kemper.freedesktop.org
Fri Sep 23 09:41:13 PDT 2011


Module: gst-plugins-base
Branch: 0.11
Commit: 01d37532b69d8434f96647b5ca08a6d1447c7841
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=01d37532b69d8434f96647b5ca08a6d1447c7841

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Mon Sep 19 14:02:00 2011 +0200

subtitleoverlay: Get the target of the video sinkpad, not the target sinkpad in the video setcaps handler

---

 gst/playback/gstsubtitleoverlay.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gst/playback/gstsubtitleoverlay.c b/gst/playback/gstsubtitleoverlay.c
index d198d73..f43d945 100644
--- a/gst/playback/gstsubtitleoverlay.c
+++ b/gst/playback/gstsubtitleoverlay.c
@@ -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);
 



More information about the gstreamer-commits mailing list