Thread: mplayer vdpau
View Single Post
Old 09-29-09, 11:32 AM   #1204
Stephen Warren
Stephen Warren's Avatar
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Originally Posted by uau View Post
So you basically mean it would be harder to implement? ("Not its job" shouldn't otherwise prevent having more useful functionality.)
Yes, in some cases, it would be harder to implement. Even if that weren't the case, I still believe that philosophically, the presentation queue internals is the wrong place to make this decision. The application has much better knowledge (e.g. perhaps 3:2 pulldown information) and is the only place that correct frame-dropping decisions can be made.

Originally Posted by uau View Post
It would be. Consider what would happen if you queue say 8 frames of 50 FPS content, and the display happens to be a 24 FPS video projector.
That would be a case of the application using the presentation queue API incorrectly.

Originally Posted by uau View Post
Would this still work if for example VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE was set?
I don't see why not. Obviously the application needs to be aware which display device is being used so as to operate correctly - i.e. use timing information from the correct display.
Stephen Warren is offline   Reply With Quote