cogmse: fix typo using the wrong pad

This commit is contained in:
Vincent Penquerc'h 2012-01-13 11:22:42 +00:00
parent 2f78acb42a
commit 23388f2e64

View file

@ -244,7 +244,7 @@ gst_mse_getcaps (GstPad * pad)
} }
if (pad != fs->sinkpad_test) { 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) { if (peercaps) {
icaps = gst_caps_intersect (caps, peercaps); icaps = gst_caps_intersect (caps, peercaps);
gst_caps_unref (caps); gst_caps_unref (caps);