[0.11] gst-plugins-bad: cogmse: fix typo using the wrong pad

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 04:23:56 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: 23388f2e646814001b97346a6bcf2c14f9ee2e56
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=23388f2e646814001b97346a6bcf2c14f9ee2e56

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Jan 13 11:22:42 2012 +0000

cogmse: fix typo using the wrong pad

---

 ext/cog/gstcogmse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c
index 6b6ecf8..edfd914 100644
--- a/ext/cog/gstcogmse.c
+++ b/ext/cog/gstcogmse.c
@@ -244,7 +244,7 @@ gst_mse_getcaps (GstPad * pad)
   }
 
   if (pad != fs->sinkpad_test) {
-    peercaps = gst_pad_peer_get_caps (fs->sinkpad_ref);
+    peercaps = gst_pad_peer_get_caps (fs->sinkpad_test);
     if (peercaps) {
       icaps = gst_caps_intersect (caps, peercaps);
       gst_caps_unref (caps);



More information about the gstreamer-commits mailing list