aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/vd_ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 01ab2de994..fda12999c6 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -357,7 +357,9 @@ static int init_vo(sh_video_t *sh){
case PIX_FMT_YUV420P: ctx->best_csp=IMGFMT_YV12;break; //mpegs
case PIX_FMT_YUV422P: ctx->best_csp=IMGFMT_422P;break; //mjpeg
case PIX_FMT_YUV444P: ctx->best_csp=IMGFMT_444P;break; //???
+#ifdef PIX_FMT_YUV411P
case PIX_FMT_YUV411P: ctx->best_csp=IMGFMT_411P;break; //dv ntsc
+#endif
case PIX_FMT_YUV422: ctx->best_csp=IMGFMT_YUY2;break; //???
default:
ctx->best_csp=0;