[vlc-devel] [PATCH] libvlc_MediaPlayerSnapshotTaken Event creation

Rémi Denis-Courmont rem at videolan.org
Thu Dec 11 16:48:47 CET 2008

Le jeudi 11 décembre 2008 17:41:06 basos g, vous avez écrit :
> I don't understand the consequencies of this statement. Can you be
> more specific ?
> If someone whants libvlc snapshot taken events on his/her application
> he should make sure that have libvlc 0.9.8 for example. Or if you mean
> the opposite (someone has the new version but does not handle libvlc
> snapshot taken events) then you could move
> libvlc_MediaPlayerSnapshotTaken declaretion to the end of event_type_t
> as well as the EVENT(libvlc_MediaPlayerSnapshotTaken) ..
> And what? Should libvlc never change again ??

If someone built an application against libvlc 0.9.2, it should still work 
against libvlc 1.0.0 without recompilation. That's called ABI backward 
compatibility. Without this, we get into "DLL hell".

I fail to see why snapshot support could not be done while retaining backward 
compatibility for applications that don't use snapshots.

Rémi Denis-Courmont

More information about the vlc-devel mailing list