Commit e79e96e5 authored by Sebastian Rasmussen's avatar Sebastian Rasmussen Committed by Sebastian Dröge

mxfmux: Avoid taking unnecessary ref

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733123
parent 96aa9316
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment