[vlc-devel] commit: I wonder why use a libvlc_time_t for a boolean variable... ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Feb 22 17:55:38 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Feb 22 18:55:05 2009 +0200| [ee08622b536b912036678228307df89f60b4ae9a] | committer: Rémi Denis-Courmont 

I wonder why use a libvlc_time_t for a boolean variable...

Who promised not to break libvlc now?

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

 include/vlc/libvlc_events.h |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h
index 5a0984a..1004989 100644
--- a/include/vlc/libvlc_events.h
+++ b/include/vlc/libvlc_events.h
@@ -145,11 +145,11 @@ typedef struct libvlc_event_t
         } media_player_title_changed;
         struct
         {
-            libvlc_time_t new_seekable;
+            uint64_t new_seekable; /* FIXME: that's a boolean! */
         } media_player_seekable_changed;
         struct
         {
-            libvlc_time_t new_pausable;
+            uint64_t new_pausable; /* FIXME: that's a BOOL!!! */
         } media_player_pausable_changed;
 
         /* media list */
@@ -196,16 +196,6 @@ typedef struct libvlc_event_t
             int index;
         } media_list_view_will_delete_item;
 
-        /* media discoverer */
-        struct
-        {
-            void * unused;
-        } media_media_discoverer_started;
-        struct
-        {
-            void * unused;
-        } media_media_discoverer_ended;
-
         /* snapshot taken */
         struct
         {




More information about the vlc-devel mailing list