Commit 29ecd644 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

videotoolbox: assure that the vout is configured before creating a pic

This fixes a regression from 47467b96Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 9cc1042e
......@@ -1125,6 +1125,8 @@ skip:
if (imageBuffer != NULL) {
if (CVPixelBufferGetDataSize(imageBuffer) > 0) {
if (decoder_UpdateVideoFormat(p_dec) == NULL)
return NULL;
p_pic = decoder_NewPicture(p_dec);
if (!p_pic)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment