mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
camerabin2: do not unref pad template
This commit is contained in:
parent
e6550ca982
commit
2a6d25659a
1 changed files with 0 additions and 1 deletions
|
@ -897,7 +897,6 @@ encodebin_find_pad (GstCameraBin * camera, GstElement * encodebin,
|
|||
|
||||
pad = gst_element_request_pad (encodebin, tmpl, NULL, NULL);
|
||||
GST_DEBUG_OBJECT (camera, "Got pad: %s", pad ? GST_PAD_NAME (pad) : "null");
|
||||
gst_object_unref (tmpl);
|
||||
}
|
||||
|
||||
return pad;
|
||||
|
|
Loading…
Reference in a new issue