[vlc-commits] Fix build after libvlc/libvlcpp change
Martin Finkel
git at videolan.org
Thu Jul 23 09:25:28 CEST 2020
npapi-vlc | branch: master | Martin Finkel <finkel2804 at gmail.com> | Wed Jul 22 15:40:43 2020 +0200| [851d78c44bb0b68ec6fd7a2f10936afb9180b9a2] | committer: Martin Finkel
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);
> https://code.videolan.org/videolan/npapi-vlc/commit/851d78c44bb0b68ec6fd7a2f10936afb9180b9a2
---
common/vlc_player.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/vlc_player.cpp b/common/vlc_player.cpp
index 3794f01..6af4ca0 100644
--- a/common/vlc_player.cpp
+++ b/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 );
More information about the vlc-commits
mailing list