projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3910cbe
)
intervideosrc: Fix a memory leak
author
Arun Raghavan
<git@arunraghavan.net>
Fri, 5 Dec 2014 07:42:59 +0000
(13:12 +0530)
committer
Arun Raghavan
<git@arunraghavan.net>
Fri, 5 Dec 2014 08:51:31 +0000
(14:21 +0530)
Frees the source ARGB black frame that we use to create the black frame
in our target format.
gst/inter/gstintervideosrc.c
patch
|
blob
|
history
diff --git
a/gst/inter/gstintervideosrc.c
b/gst/inter/gstintervideosrc.c
index 8c24b0760a6af81480d9c0d2922c8d04f7f71df4..3bab9f832aa4a49565625e18902d793617354e7b 100644
(file)
--- a/
gst/inter/gstintervideosrc.c
+++ b/
gst/inter/gstintervideosrc.c
@@
-243,6
+243,7
@@
gst_inter_video_src_set_caps (GstBaseSrc * base, GstCaps * caps)
gst_video_converter_free (converter);
gst_video_frame_unmap (&src_frame);
gst_video_frame_unmap (&dest_frame);
+ gst_buffer_unref (src);
intervideosrc->black_frame = dest;
return TRUE;