projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f5fd8
)
Revert "vtenc: free input buffer ASAP"
upstream/1.6
author
Alessandro Decina
<alessandro.d@gmail.com>
Mon, 2 Nov 2015 09:14:11 +0000
(20:14 +1100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 3 Nov 2015 07:37:06 +0000
(09:37 +0200)
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 e65e2f6a453416ddcee59820563ab8ecc78a77ba..b6880042d9eb8153bc5261d609f99d3377de3634 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);