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
GStreamer
gst-plugins-bad
Commits
907e02cf
Commit
907e02cf
authored
Jan 18, 2015
by
Nicola Murino
Committed by
Matthew Waters
Jan 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glimagesink: fix memleak
https://bugzilla.gnome.org/show_bug.cgi?id=743142
parent
b5bd2a88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ext/gl/gstglimagesink.c
ext/gl/gstglimagesink.c
+2
-0
No files found.
ext/gl/gstglimagesink.c
View file @
907e02cf
...
...
@@ -871,9 +871,11 @@ gst_glimage_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
glimage_sink
->
convert
=
gst_gl_color_convert_new
(
glimage_sink
->
context
);
if
(
!
gst_gl_color_convert_set_caps
(
glimage_sink
->
convert
,
uploaded_caps
,
glimage_sink
->
gl_caps
))
{
gst_caps_unref
(
uploaded_caps
);
gst_caps_features_free
(
gl_features
);
return
FALSE
;
}
gst_caps_unref
(
uploaded_caps
);
gst_caps_features_free
(
gl_features
);
glimage_sink
->
caps_change
=
TRUE
;
...
...
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