mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +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;
|
goto cv_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
outbuf =
|
outbuf = gst_core_video_buffer_new ((CVBufferRef) pbuf, &self->video_info);
|
||||||
gst_core_video_buffer_new ((CVBufferRef) pbuf, &self->video_info, TRUE);
|
|
||||||
if (!gst_video_frame_map (&outframe, &self->video_info, outbuf,
|
if (!gst_video_frame_map (&outframe, &self->video_info, outbuf,
|
||||||
GST_MAP_WRITE)) {
|
GST_MAP_WRITE)) {
|
||||||
gst_video_frame_unmap (&inframe);
|
gst_video_frame_unmap (&inframe);
|
||||||
|
|
Loading…
Reference in a new issue