xbmc/xbmc — pull request #606 by FernetMenta (2012-01-05 11:52:10+00:00)
Title: vdpau fixes

84b34622c8757046a8a25f8d82340e2f4c57c17c
vdpau de-interlacing creates an additional frame with a pts that ruins pattern detection. As a result some 29.97 interlaced movies play jerky.
For some reason the sample file I got played fine with Dharma just before ffmpeg was upgraded, though CalcFrameRate was not successful either.

3f10dc612a07253299482201b48e10791ad27556
After having changed size of video surfaces to coded_height users noticed a corrupted bottom line. The reason is that those extra lines of h.264 take part in vdpau de-interlacing and corrupt the bottom lines.

Please review. If ok, I recommend to backport this to Eden because those problems did not show in Dharma.