https://github.com/FFmpeg/FFmpeg/blob/master/ffmpeg_vaapi.c#L305 i imagine it should test with ctx->output_format, not ctx->decode_format which is always AV_PIX_FMT_NONE due to previous assignment ...
Regards, _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel