[vlc-devel] [PATCH] - vmem (more libvlc-friendly)

Pierre d'Herbemont pdherbemont at free.fr
Fri Nov 28 18:54:17 CET 2008


I fear this is too risky. Basically it means giving the ability to  
write random content at the specified memory location, just using an  

One thing that would be great is to set some nice public libvlc  
function to specifically use the vmem video output. For instance:

libvlc_media_player_set_vmem(mp, width, height, ...)


On Nov 28, 2008, at 6:19 PM, brezhoneg1 wrote:

> Please, find a proposal for a slight change in vmem
> (modules/video_output/vmem.c)
> With this patch, vmem gets its parameters through the inheritance
> mechanism usually used within vlc, instead of just getting them from  
> the
> initial config. This allows multiple inputs to benefit from vmem  
> (libvlc
> api).
> Also, the example provided at
> http://wiki.videolan.org/LibVLC_SampleCode_SDL was no longer  
> working. (a
> lock interface changed between vlc 0.9.x and vlc1.x.x). Attached to  
> this
> email is an updated example. In addition to the change made for
> vlc1.x.x, it shows multiple inputs.
> Both the patch and the example have been tested.
> Erwan10
> < 
> patch_source_vmem 
> .diff><test_sdl.c>_______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list