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:
9fb4d5d
)
vtenc: Add missing gst_vtenc_frame_free() in error path
author
Ilya Konstantinov
<ilya.konstantinov@gmail.com>
Mon, 11 May 2015 14:39:19 +0000
(16:39 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 10 Jun 2015 08:26:28 +0000
(10:26 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=750668
sys/applemedia/vtenc.c
patch
|
blob
|
history
diff --git
a/sys/applemedia/vtenc.c
b/sys/applemedia/vtenc.c
index 5c926ab3882dc85c3a653ae4893f2466cb03df0e..7267f5ddfb364bdb72df25f2aba3a71675b41f24 100644
(file)
--- a/
sys/applemedia/vtenc.c
+++ b/
sys/applemedia/vtenc.c
@@
-1164,6
+1164,7
@@
gst_vtenc_encode_frame (GstVTEnc * self, GstVideoCodecFrame * frame)
pixel_format_type = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;
break;
default:
+ gst_vtenc_frame_free (vframe);
goto cv_error;
}