[Xine-vdpau] Questions about thread synchronization in video_out_vdpau.c

yak54 at gmx.net yak54 at gmx.net
Sat Jun 20 11:35:35 CEST 2009


Hi,

first a big Thanks to your fantastic work on vdpau support for xine!!

I am currently developing some patches for support of frame grabbing for the vdpau driver and i need some help to continue my work.

Starting from revision 263 the "XLockDisplay/XUnlockDisplay" calls have been made completely optional.
I don't understand why synchronization between "vdpau_display_frame" and "vdpau_gui_data_exchange" is not necessary because these features could be called from different threads and "vdpau_gui_data_exchange"
does destroy/create vdpau objects.
Second i don't understand why there is (now optional) synchronization on "vdp_decoder_render" because this would prevent executing the expensive render and video mixer calls in parallel.

Please could you give me a short explanation?
 
- Andreas


 
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the Xine-vdpau mailing list