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

Quote:
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.

Quote:
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.

Quote:
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