Thread: mplayer vdpau
View Single Post
Old 11-26-08, 07:28 PM   #169
scowl
Registered User
 
Join Date: Aug 2004
Location: Portland, OR
Posts: 31
Default 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.
scowl is offline   Reply With Quote