[vlc-commits] [Git][videolan/npapi-vlc][master] 2 commits: Use new libvlc media API
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Wed Jun 22 06:34:46 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC Browser Plugins
Commits:
737bf3b7 by Hugo Beauzée-Luyssen at 2022-06-21T16:13:06+02:00
Use new libvlc media API
- - - - -
228dacb8 by Hugo Beauzée-Luyssen at 2022-06-21T16:13:53+02:00
Bump CI images
- - - - -
3 changed files:
- .gitlab-ci.yml
- common/vlc_player.cpp
- vlcpp
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -1,7 +1,7 @@
variables:
GIT_SUBMODULE_STRATEGY: normal
- WIN32_IMAGE: registry.videolan.org/medialibrary-win32:20220502075714
- WIN64_IMAGE: registry.videolan.org/medialibrary-win64:20220616131601
+ WIN32_IMAGE: registry.videolan.org/medialibrary-win32:20220620092626
+ WIN64_IMAGE: registry.videolan.org/medialibrary-win64:20220620085314
PKG_CONFIG_LIBDIR: /prefix/lib/pkgconfig
.common_build:
=====================================
common/vlc_player.cpp
=====================================
@@ -57,7 +57,7 @@ int vlc_player::add_item(const char * mrl, unsigned int optc, const char **optv)
{
VLC::Media media;
try {
- media = VLC::Media( _libvlc_instance, mrl, VLC::Media::FromLocation );
+ media = VLC::Media( mrl, VLC::Media::FromLocation );
}
catch ( std::runtime_error& ) {
return -1;
@@ -123,7 +123,7 @@ int vlc_player::preparse_item_sync(unsigned int idx, int options, unsigned int t
SetEvent( barrier );
});
- media->parseWithOptions( VLC::Media::ParseFlags( options ), timeout );
+ media->parseRequest( _libvlc_instance, VLC::Media::ParseFlags( options ), timeout );
DWORD waitResult = WaitForSingleObject( barrier, INFINITE );
switch ( waitResult ) {
=====================================
vlcpp
=====================================
@@ -1 +1 @@
-Subproject commit 42b58a17ab8aa0e1d30ec358d03d5ba6ca32efb7
+Subproject commit 0c7d3968010f1b27b36e78c11e07e4d7f6fe756b
View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/-/compare/eb252ce9237b82360e6f930fa1e77794271f3855...228dacb8332e1243a7bc255b3afca234348c4985
--
View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/-/compare/eb252ce9237b82360e6f930fa1e77794271f3855...228dacb8332e1243a7bc255b3afca234348c4985
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