[vlc-commits] [Git][videolan/libvlcpp][master] Disable medialibrary bindings on 4.0

Hugo Beauzée-Luyssen gitlab at videolan.org
Tue Jun 4 10:31:33 CEST 2019



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / libvlcpp


Commits:
1162d71f by Hugo Beauzée-Luyssen at 2019-06-04T08:30:30Z
Disable medialibrary bindings on 4.0

- - - - -


2 changed files:

- vlcpp/MediaLibrary.hpp
- vlcpp/MediaList.hpp


Changes:

=====================================
vlcpp/MediaLibrary.hpp
=====================================
@@ -25,6 +25,9 @@
 #define LIBVLC_CXX_MEDIALIBRARY_H
 
 #include "common.hpp"
+
+#if LIBVLC_VERSION_INT < LIBVLC_VERSION(4, 0, 0, 0)
+
 #include "Internal.hpp"
 
 namespace VLC
@@ -74,3 +77,4 @@ public:
 
 #endif
 
+#endif


=====================================
vlcpp/MediaList.hpp
=====================================
@@ -73,6 +73,7 @@ public:
     {
     }
 
+#if LIBVLC_VERSION_INT < LIBVLC_VERSION(4, 0, 0, 0)
     /**
      * Get media library subitems.
      *
@@ -82,6 +83,7 @@ public:
         : Internal{ libvlc_media_library_media_list( getInternalPtr<libvlc_media_library_t>( mlib ) ), libvlc_media_list_release }
     {
     }
+#endif
 
 
     /**



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/1162d71f986ec0c63398d989efa797091ed298f7

-- 
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/1162d71f986ec0c63398d989efa797091ed298f7
You're receiving this email because of your account on code.videolan.org.



More information about the vlc-commits mailing list