applemedia: vtenc: fix build on iOS
authorAlessandro Decina <alessandro.d@gmail.com>
Tue, 19 Jan 2016 08:18:43 +0000 (19:18 +1100)
committerAlessandro Decina <alessandro.d@gmail.com>
Tue, 19 Jan 2016 08:18:43 +0000 (19:18 +1100)
sys/applemedia/vtenc.c

index bc848df..de60272 100644 (file)
@@ -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);