View Single Post
Old 06-16-09, 09:37 PM   #14
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: Howto use ffmpeg libavcodec with VDPAU

Quote:
Originally Posted by cehoyos View Post
This line never looked differently in FFmpeg svn.
So the actual question is: Who was the idiot who changed that line in MythTV?

Carl Eugen
That's not MythTV who changed it ...
It was different with the original nVidia ffmpeg patch (nvidia's mplayer-vdpau-3139462 were using data[2]), and provided even in the current source, it is still copyright nVidia: I assumed things didn't fundamentally change.

The key point, is that line is different for other earlier codecs like XvMC.

All the others use data[2] only, but VDPAU uses data[0]... Why it uses data[2], I have no idea

Very inconsistent, and as I can't find documentation anywhere, it's really not obvious what one should use.

Sorry if I offended anyone, it was late and I was frustrated.
jyavenard is offline   Reply With Quote