diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index a97c00f7d2..6a5936c959 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -596,6 +596,9 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, vid_surface_num = -1; resize(); + if (!create_vdp_decoder(2)) + return -1; + return 0; }