From 5c7fb644cdf693a007b1e71ba57ab338b17ece1b Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Tue, 19 Jan 2016 19:18:43 +1100 Subject: [PATCH] applemedia: vtenc: fix build on iOS --- sys/applemedia/vtenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c index bc848dfc28..de602729eb 100644 --- a/sys/applemedia/vtenc.c +++ b/sys/applemedia/vtenc.c @@ -1112,8 +1112,7 @@ gst_vtenc_encode_frame (GstVTEnc * self, GstVideoCodecFrame * frame) goto cv_error; } - outbuf = - gst_core_video_buffer_new ((CVBufferRef) pbuf, &self->video_info, TRUE); + outbuf = gst_core_video_buffer_new ((CVBufferRef) pbuf, &self->video_info); if (!gst_video_frame_map (&outframe, &self->video_info, outbuf, GST_MAP_WRITE)) { gst_video_frame_unmap (&inframe);