]> git.sesse.net Git - vlc/commit
vmem: major rework
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 10 Jul 2010 14:56:39 +0000 (17:56 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 10 Jul 2010 15:02:13 +0000 (18:02 +0300)
commitb401af054814d7067ef6217133b437e5fe695bfa
tree58964c7c8191e1eb39627ff79b3c2c8ada283d43
parent00c81739e161efef6dd86733c28c5bcae75feda1
vmem: major rework

 - add an optional display callback,
 - make unlock callback optional (planes could be static),
 - pass an opaque picture identifier from lock to unlock and display
   callbacks (this would enable multiple pictures later),
 - pass pixel planes back to the unlock callback for convenience,
 - use pointer VLC variables instead of configuration strings,
 - fix an unlikely memory leak.
modules/video_output/vmem.c