mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
applemedia: vtenc: fix build on iOS
This commit is contained in:
parent
f6154b4cc0
commit
5c7fb644cd
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue