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:
3f099e3
)
tests:video: Fix overlay rectangle and buffer leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Wed, 11 Nov 2015 05:44:55 +0000
(14:44 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 11 Nov 2015 14:47:24 +0000
(15:47 +0100)
Created overlay rectangle is not being freed in video tests
pix2 buffer is being created and not freed
https://bugzilla.gnome.org/show_bug.cgi?id=757927
tests/check/libs/video.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/video.c
b/tests/check/libs/video.c
index 0d29b8d08c6c137ed4d9386643956c9726ea8983..b8decf1fecd11ce3173cfb15a00ba3ad1e584f34 100644
(file)
--- a/
tests/check/libs/video.c
+++ b/
tests/check/libs/video.c
@@
-2666,6
+2666,8
@@
GST_START_TEST (test_overlay_composition_over_transparency)
comp1 = gst_video_overlay_composition_new (rect1);
fail_unless (gst_video_overlay_composition_blend (comp1, &video_frame));
gst_video_overlay_composition_unref (comp1);
+ gst_video_overlay_rectangle_unref (rect1);
+ gst_buffer_unref (pix2);
data = GST_VIDEO_FRAME_PLANE_DATA (&video_frame, 0);