Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yeongjin Jeong
gst-plugins-bad
Commits
8c48ccab
Commit
8c48ccab
authored
Jul 26, 2018
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compositor: Don't leak all buffers while crossfading and not all pads are crossfading
parent
9cc6c338
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gst/compositor/compositor.c
gst/compositor/compositor.c
+5
-0
No files found.
gst/compositor/compositor.c
View file @
8c48ccab
...
...
@@ -1005,8 +1005,13 @@ gst_compositor_fill_transparent (GstCompositor * self, GstVideoFrame * frame,
if
(
!
gst_video_frame_map
(
nframe
,
&
frame
->
info
,
cbuffer
,
GST_MAP_WRITE
))
{
GST_WARNING_OBJECT
(
self
,
"Could not map output buffer"
);
gst_buffer_unref
(
cbuffer
);
return
GST_FLOW_ERROR
;
}
/* the last reference is owned by the frame and released once the frame
* is unmapped. We leak it if we don't unref here */
gst_buffer_unref
(
cbuffer
);
}
else
{
nframe
=
frame
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment