mxfmux: Avoid taking unnecessary ref
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=733123
This commit is contained in:
parent
96aa931635
commit
e79e96e59d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user