summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2014-07-13 16:07:02 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-07-16 16:47:21 +0200
commite79e96e59dad6410594a7ae1080c9c4cd8fc5b08 (patch)
treec6cfe42bde051a6054d6d44faa233838a787048c
parent96aa9316357e26f69790e296d3627718b6ca709e (diff)
downloadgstreamer-plugins-bad-e79e96e59dad6410594a7ae1080c9c4cd8fc5b08.tar.gz
mxfmux: Avoid taking unnecessary ref
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733123
-rw-r--r--gst/mxf/mxfmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c
index 64c9c9aac..a08d05e82 100644
--- a/gst/mxf/mxfmux.c
+++ b/gst/mxf/mxfmux.c
@@ -270,7 +270,7 @@ gst_mxf_mux_event_caps (GstPad * pad, GstCaps * caps)
}
cpad->descriptor =
- cpad->writer->get_descriptor (gst_pad_get_pad_template (pad), caps,
+ cpad->writer->get_descriptor (GST_PAD_PAD_TEMPLATE (pad), caps,
&cpad->write_func, &cpad->mapping_data);
if (!cpad->descriptor) {