]> git.sesse.net Git - ffmpeg/blobdiff - avconv_vda.c
qsvenc: expose additional encoding options
[ffmpeg] / avconv_vda.c
index 40f87c4f7659d7c3791618dd6261b1a291c6016d..d86076e79e752cc0a3d10e2b1a69bc5000eca680 100644 (file)
@@ -76,6 +76,8 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame)
                   data, linesize, vda->tmp_frame->format,
                   frame->width, frame->height);
 
+    CVPixelBufferUnlockBaseAddress(pixbuf, kCVPixelBufferLock_ReadOnly);
+
     ret = av_frame_copy_props(vda->tmp_frame, frame);
     if (ret < 0)
         return ret;