[vlc-devel] [Patch] Moving some libvlc objects to vlc_objects

Hugo Beauzee-Luyssen beauze.h at gmail.com
Sat Feb 6 14:11:42 CET 2010


Hi,

Recent libvlc_media_player modification broke something.
If i'm not mistaking, two refcounters were used : one in the
libvlc_internal instance, which is a vlc_object AFAIK, and one on the
libvlc_instance_t.
Obiously, having two refcounter for the same thing is a problem.
Moving to vlc objects for everything in the libvlc seems to do the
trick.
I don't think these patch are perfects, but that should be a start, so
don't hesitate to review and comment !

Best regards,

-- 
Hugo Beauzée-Luyssen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Making-libvlc_event_manager_t-a-vlc_object.patch
Type: text/x-patch
Size: 4149 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100206/cba9772b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Moving-libvlc_instance-to-vlc_object.patch
Type: text/x-patch
Size: 4128 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100206/cba9772b/attachment-0001.bin>


More information about the vlc-devel mailing list