diff --git a/libmpcodecs/vf_lavc.c b/libmpcodecs/vf_lavc.c index 7bad7581c3..84b9aa47b8 100644 --- a/libmpcodecs/vf_lavc.c +++ b/libmpcodecs/vf_lavc.c @@ -215,6 +215,7 @@ static int open(vf_instance_t *vf, char* args){ #endif #endif lavc_venc_context.gop_size = 0; // I-only + lavc_venc_context.pix_fmt= PIX_FMT_YUV420P; return 1; }