[vlc-commits] [Git][videolan/npapi-vlc][master] Fix build after libvlc/libvlcpp change

Hugo Beauzée-Luyssen gitlab at videolan.org
Thu Jul 23 09:25:28 CEST 2020



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC Browser Plugins


Commits:
851d78c4 by Martin Finkel at 2020-07-22T15:40:43+02:00
Fix build after libvlc/libvlcpp change

vlc_player.cpp:43:17: error: no matching conversion for functional-style cast from 'VLC::Instance' to 'VLC::MediaList'
        _ml   = VLC::MediaList(inst);

- - - - -


1 changed file:

- common/vlc_player.cpp


Changes:

=====================================
common/vlc_player.cpp
=====================================
@@ -40,7 +40,7 @@ bool vlc_player::open(VLC::Instance& inst)
 
     try {
         _mp   = VLC::MediaPlayer(inst);
-        _ml   = VLC::MediaList(inst);
+        _ml   = VLC::MediaList();
         _ml_p = VLC::MediaListPlayer(inst);
 
         _ml_p.setMediaList( _ml );



View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/-/commit/851d78c44bb0b68ec6fd7a2f10936afb9180b9a2

-- 
View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/-/commit/851d78c44bb0b68ec6fd7a2f10936afb9180b9a2
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list