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:
dbd894f
)
Revert "vtenc: free input buffer ASAP"
author
Alessandro Decina
<alessandro.d@gmail.com>
Mon, 2 Nov 2015 09:14:11 +0000
(20:14 +1100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Mon, 2 Nov 2015 09:16:15 +0000
(20:16 +1100)
This reverts commit
6101fc57b8afac4f4e4aa742892f0d9c99d38a8c
.
GstVideoEncoder assumes that the input buffer is available until _finish_frame.
https://bugzilla.gnome.org/show_bug.cgi?id=756951
sys/applemedia/vtenc.c
patch
|
blob
|
history
diff --git
a/sys/applemedia/vtenc.c
b/sys/applemedia/vtenc.c
index
e65e2f6
..
b688004
100644
(file)
--- a/
sys/applemedia/vtenc.c
+++ b/
sys/applemedia/vtenc.c
@@
-1202,10
+1202,6
@@
gst_vtenc_encode_frame (GstVTEnc * self, GstVideoCodecFrame * frame)
(int) vt_status);
}
- /* VTCompressionSessionEncodeFrame retained pbuf
- * and we want to free input_buffer ASAP */
- gst_buffer_replace (&frame->input_buffer, NULL);
-
gst_video_codec_frame_unref (frame);
CVPixelBufferRelease (pbuf);