diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c index 64c9c9aace..a08d05e82c 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) {