Build with medialibrary 0.10.1 (0.11.x) is broken
Compile from master af0b9612 with medialibrary 0.10.1 (0.11.x) fails
--enable-medialibrary (medialibrary support) [default=auto]
...
checking for LIBXML2... yes
checking for gcrypt 1.6.0 or later... yes
checking for GNUTLS... yes
checking for SECRET... yes
checking for GBM... no
checking for NOTIFY... yes
checking for MEDIALIBRARY... yes
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating modules/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating compat/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating test/Makefile
config.status: creating share/vlc.appdata.xml.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
...
misc/medialibrary/medialibrary.cpp: In member function ‘int MediaLibrary::controlMedia(int, __va_list_tag*)’:
misc/medialibrary/medialibrary.cpp:1372:63: error: no match for ‘operator==’ (operand types are ‘medialibrary::IMedia::ProgressResult’ and ‘bool’)
1372 | if ( m->setLastPosition( va_arg( args, double ) ) == false )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
CC packetizer/libvlc_hxxxhelper_la-hxxx_nal.lo
misc/medialibrary/medialibrary.cpp: In member function ‘int MediaLibrary::listPlaylist(int, const medialibrary::QueryParameters*, const char*, uint32_t, uint32_t, __va_list_tag*)’:
misc/medialibrary/medialibrary.cpp:1860:42: error: cannot convert ‘const medialibrary::QueryParameters*’ to ‘medialibrary::PlaylistType’
1860 | query = m_ml->playlists( paramsPtr );
| ^~~~~~~~~
| |
| const medialibrary::QueryParameters*
In file included from misc/medialibrary/medialibrary.h:24,
from misc/medialibrary/medialibrary.cpp:30:
/usr/local/include/medialibrary/IMediaLibrary.h:582:54: note: initializing argument 1 of ‘virtual medialibrary::Query<medialibrary::IPlaylist> medialibrary::IMediaLibrary::playlists(medialibrary::PlaylistType, const medialibrary::QueryParameters*)’
582 | virtual Query<IPlaylist> playlists( PlaylistType type,
| ~~~~~~~~~~~~~^~~~
CC packetizer/libvlc_hxxxhelper_la-hxxx_sei.lo
CC packetizer/libvlc_hxxxhelper_la-h264_slice.lo
CC packetizer/libvlc_hxxxhelper_la-h264_nal.lo
CC packetizer/libvlc_hxxxhelper_la-hevc_nal.lo
CC codec/hxxx_helper_testdec.lo
CC control/libvlc_motion_la-motionlib.lo
CC demux/mock.lo
CC video_filter/deinterlace/common.lo
make[4]: *** [Makefile:30032: misc/medialibrary/libmedialibrary_plugin_la-medialibrary.lo] Error 1
with medialibrary 0.9.6 there is no issue
Edited by badfiles