# HG changeset patch # User reimar # Date 1386525239 0 # Node ID 0d52d44ad7b611367ae0da6edc6cc00b2a186d89 # Parent ee46a4670903ed0b47ba8180dbab0b3267b8d18b Revert r36537. This was based on a wrong assumption. With the sample at hand, the error is actually reproducible with the MESA implementation (in fact, that one just crashes instead, so the workaround did no work for it). diff -r ee46a4670903 -r 0d52d44ad7b6 libvo/vo_vdpau.c --- a/libvo/vo_vdpau.c Sun Dec 08 17:52:23 2013 +0000 +++ b/libvo/vo_vdpau.c Sun Dec 08 17:53:59 2013 +0000 @@ -1031,12 +1031,6 @@ return VO_FALSE; vdp_st = vdp_decoder_render(decoder, rndr->render_state->surface, rndr->info, rndr->bitstream_buffers_used, rndr->bitstream_buffers); - if (vdp_st == VDP_STATUS_INVALID_SIZE) { - // reinit to work around a NVidia bug on aspect change - if (!create_vdp_decoder(image_format, vid_width, vid_height, max_refs)) - return VO_FALSE; - vdp_st = vdp_decoder_render(decoder, rndr->render_state->surface, rndr->info, rndr->bitstream_buffers_used, rndr->bitstream_buffers); - } CHECK_ST_WARNING("Failed VDPAU decoder rendering"); return VO_TRUE; }