Re: mplayer vdpau
Also the code doesn't work. In the case of XvMCPutSurface of the bottom field with bottom field displayed first, the value of "field" should be 6, not 8.
XVMC_BOTTOM_FIELD = 2
XVMC_SECOND_FIELD = 4
XVMC_BOTTOM_FIELD | XVMC_SECOND_FIELD = 6
2 ^ 3 = 8
Technically with top field first, "field" should be 5, not 1, but the Nvidia driver apparently assumes top field first so it works by chance.