mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
encodebasebin: Don't leak muxer pad
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
parent
872b0a65cb
commit
c00da50c61
1 changed files with 1 additions and 0 deletions
|
@ -2220,6 +2220,7 @@ create_elements_and_pads (GstEncodeBaseBin * ebin)
|
|||
if (!pad)
|
||||
goto no_muxer_ghost_pad;
|
||||
|
||||
gst_object_unref (muxerpad);
|
||||
gst_element_add_pad (GST_ELEMENT (ebin), pad);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue