[MPlayer-cvslog] r36539 - trunk/libvo/vo_vdpau.c
reimar
subversion at mplayerhq.hu
Sun Dec 8 18:53:59 CET 2013
Author: reimar
Date: Sun Dec 8 18:53:59 2013
New Revision: 36539
Log:
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).
Modified:
trunk/libvo/vo_vdpau.c
Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c Sun Dec 8 18:52:23 2013 (r36538)
+++ trunk/libvo/vo_vdpau.c Sun Dec 8 18:53:59 2013 (r36539)
@@ -1031,12 +1031,6 @@ static int draw_slice(uint8_t *image[],
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;
}
More information about the MPlayer-cvslog
mailing list