mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
validate: transcoding: don't leak the requested sinkpad from decodebin
This commit is contained in:
parent
c8e6b90f4b
commit
8b84f76df4
1 changed files with 1 additions and 0 deletions
|
@ -545,6 +545,7 @@ pad_added_cb (GstElement * uridecodebin, GstPad * pad, GstElement * encodebin)
|
||||||
gst_caps_unref (othercaps);
|
gst_caps_unref (othercaps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (sinkpad);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue