[vlc-commits] [Git][videolan/libvlcpp][master] MediaPlayer: Allow construction with a const Instance&

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Mon Jul 11 12:02:38 UTC 2022



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


Commits:
4ff41bfe by Hugo Beauzée-Luyssen at 2022-07-11T13:59:10+02:00
MediaPlayer: Allow construction with a const Instance&

- - - - -


1 changed file:

- vlcpp/MediaPlayer.hpp


Changes:

=====================================
vlcpp/MediaPlayer.hpp
=====================================
@@ -103,7 +103,7 @@ public:
      *
      * \param p_md  the media. Afterwards the p_md can be safely destroyed.
      */
-    MediaPlayer( Instance& inst, Media& md )
+    MediaPlayer( const Instance& inst, Media& md )
         : Internal{ libvlc_media_player_new_from_media(
                         getInternalPtr<libvlc_instance_t>( inst ),
                         getInternalPtr<libvlc_media_t>( md ) ),



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/commit/4ff41bfebbee5d9c6aa44eef27cbe479269a50d9

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


VideoLAN code repository instance


More information about the vlc-commits mailing list