View Single Post
Old 11-16-09, 10:20 AM   #5
uau
Registered User
 
Join Date: Sep 2009
Posts: 45
Default Re: VDPAU API and implementation issues

I recreated a version of the code that displays the frame queuing problem.
The following should work to check out and build the modified version of MPlayer:

$ git clone git://repo.or.cz/mplayer-build.git
$ cd mplayer-build
$ ./init --shallow
$ make -j 6
$ cd mplayer
$ git checkout origin/vdpau_problem_test
$ make
$ VDPAU_TRACE=1 ./mplayer -quiet /tmp/test.mkv

The test version always queues frames at time now + 10 seconds. On my machine the output looks like this:

<snip>
vdp_presentation_queue_display(3, 7, 1592, 1080, 1258378599251773728)
-> 0
Queued surface number 2 for display at now + 10 seconds.
vdp_video_surface_put_bits_y_cb_cr(14, 1, {0x7fafa3ab9a20, 0x7fafa3a2de98, 0x7fafa4a0be98}, {1952, 976, 976}, )

and then it blocks there for about 10 seconds.

I've now tested that the behavior is the same with driver version 190.42.
uau is offline   Reply With Quote