[vlc-commits] [Git][videolan/libvlcpp][master] EventManager: Don't expose ScrambledChanged on 4.0

Hugo Beauzée-Luyssen gitlab at videolan.org
Fri Oct 30 17:07:08 CET 2020



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


Commits:
94ee174a by Hugo Beauzée-Luyssen at 2020-10-30T17:06:02+01:00
EventManager: Don't expose ScrambledChanged on 4.0

- - - - -


1 changed file:

- vlcpp/EventManager.hpp


Changes:

=====================================
vlcpp/EventManager.hpp
=====================================
@@ -727,6 +727,7 @@ class MediaPlayerEventManager : public EventManager
             });
         }
 
+#if LIBVLC_VERSION_INT < LIBVLC_VERSION(4, 0, 0, 0)
         /**
          * \brief onScrambledChanged Registers an event called when the scrambled state changes
          * \param f A std::function<void(bool)> (or an equivalent Callable type)
@@ -742,6 +743,7 @@ class MediaPlayerEventManager : public EventManager
                 (*callback)( e->u.media_player_scrambled_changed.new_scrambled != 0 );
             });
         }
+#endif
 
 #if LIBVLC_VERSION_INT >= LIBVLC_VERSION(4, 0, 0, 0)
         /**



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/commit/94ee174a05b5dc462aece1dc08cad735f06e7cfa

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




More information about the vlc-commits mailing list