• Rémi Denis-Courmont's avatar
    vmem: major rework · b401af05
    Rémi Denis-Courmont authored
     - 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.
    b401af05
vmem.c 8.95 KB