summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_dshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_dshow.c')
-rw-r--r--libmpcodecs/vd_dshow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_dshow.c b/libmpcodecs/vd_dshow.c
index a0f8738c85..90ec4fb741 100644
--- a/libmpcodecs/vd_dshow.c
+++ b/libmpcodecs/vd_dshow.c
@@ -67,6 +67,8 @@ static int init(sh_video_t *sh){
case IMGFMT_I420:
case IMGFMT_IYUV:
DS_VideoDecoder_SetDestFmt(sh->context,12,out_fmt);break; // planar YUV
+ case IMGFMT_YVU9:
+ DS_VideoDecoder_SetDestFmt(sh->context,9,out_fmt);break;
default:
DS_VideoDecoder_SetDestFmt(sh->context,out_fmt&255,0); // RGB/BGR
}