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

brezhoneg1 brezhoneg1 at yahoo.fr
Fri Nov 28 18:19:21 CET 2008


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_source_vmem.diff
Type: application/octet-stream
Size: 1637 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081128/dd181397/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_sdl.c
Type: application/octet-stream
Size: 8209 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081128/dd181397/attachment-0001.obj>


More information about the vlc-devel mailing list