summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-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) {