[vlc-commits] libvlc: remove enum in union events

Thomas Guillem git at videolan.org
Tue May 24 11:40:39 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 24 11:19:48 2016 +0200| [4f923f7fd90d333ec5717b6c89bca37d284526de] | committer: Thomas Guillem

libvlc: remove enum in union events

Since it's not not universally binary compatible.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f923f7fd90d333ec5717b6c89bca37d284526de
---

 include/vlc/libvlc_events.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h
index 3738cb2..c5aecca 100644
--- a/include/vlc/libvlc_events.h
+++ b/include/vlc/libvlc_events.h
@@ -148,7 +148,7 @@ typedef struct libvlc_event_t
         } media_freed;
         struct
         {
-            libvlc_state_t new_state;
+            int new_state; /**< see @ref libvlc_state_t */
         } media_state_changed;
         struct
         {



More information about the vlc-commits mailing list