summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/filter/vf_vdpaurb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_vdpaurb.c b/video/filter/vf_vdpaurb.c
index 92dfa52486..35c0f9c04d 100644
--- a/video/filter/vf_vdpaurb.c
+++ b/video/filter/vf_vdpaurb.c
@@ -83,6 +83,7 @@ static int reconfig(struct vf_instance *vf, struct mp_image_params *in,
*out = *in;
if (in->imgfmt == IMGFMT_VDPAU) {
out->imgfmt = IMGFMT_NV12;
+ out->hw_subfmt = 0;
}
return 0;
}