mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
omxvideoenc: Remove unnecessary gst_video_frame_unmap()
This commit is contained in:
parent
a160160419
commit
8d4d697a58
1 changed files with 0 additions and 1 deletions
|
@ -2465,7 +2465,6 @@ gst_omx_video_enc_semi_planar_manual_copy (GstOMXVideoEnc * self,
|
|||
|
||||
if (dest + dest_stride * height >
|
||||
outbuf->omx_buf->pBuffer + outbuf->omx_buf->nAllocLen) {
|
||||
gst_video_frame_unmap (&frame);
|
||||
GST_ERROR_OBJECT (self, "Invalid output buffer size");
|
||||
gst_video_frame_unmap (&frame);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue