mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
transcodebin: Don't leak GstStream
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
parent
8e09b645c0
commit
2e2bc0da54
1 changed files with 2 additions and 0 deletions
|
@ -359,6 +359,8 @@ gst_transcode_bin_link_encodebin_pad (GstTranscodeBin * self, GstPad * pad,
|
||||||
gst_event_parse_stream (sstart, &tmpstream);
|
gst_event_parse_stream (sstart, &tmpstream);
|
||||||
|
|
||||||
stream = setup_stream (self, tmpstream);
|
stream = setup_stream (self, tmpstream);
|
||||||
|
|
||||||
|
gst_object_unref (tmpstream);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!stream) {
|
if (!stream) {
|
||||||
|
|
Loading…
Reference in a new issue