From 9bac0ea42149ddc26ecf08a32f66334bc99340b5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Jun 2016 19:10:58 +0200 Subject: vf_vdpaurb: fix operation The hw_subfmt field remained set, while it has to be unset for non-hwdec formats. --- video/filter/vf_vdpaurb.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3