[vlc-commits] [Git][videolan/libvlcpp][master] 2 commits: CI: Bump 4.0 image

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Fri Jan 21 17:58:44 UTC 2022



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


Commits:
887c0117 by Hugo Beauzée-Luyssen at 2022-01-21T18:56:01+01:00
CI: Bump 4.0 image

- - - - -
d41003f7 by Hugo Beauzée-Luyssen at 2022-01-21T18:56:01+01:00
Media: Rename stat -> fileStat

Following vlc!1225

- - - - -


2 changed files:

- .gitlab-ci.yml
- vlcpp/Media.hpp


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -1,6 +1,6 @@
 variables:
   VLC30_IMAGE: registry.videolan.org/medialibrary:20201009131431
-  VLC40_IMAGE: registry.videolan.org/libvlcpp-unstable:20211211153737
+  VLC40_IMAGE: registry.videolan.org/libvlcpp-unstable:20220121173942
 
 .common_build:
   rules:


=====================================
vlcpp/Media.hpp
=====================================
@@ -807,16 +807,16 @@ public:
         libvlc_media_thumbnail_request_destroy( request );
     }
 
-    enum class Stat : uint8_t
+    enum class FileStat : uint8_t
     {
-        Mtime = libvlc_media_stat_mtime,
-        Size = libvlc_media_stat_size,
+        Mtime = libvlc_media_filestat_mtime,
+        Size = libvlc_media_filestat_size,
     };
 
-    std::pair<bool, uint64_t> stat( Stat s )
+    std::pair<bool, uint64_t> fileStat( FileStat s )
     {
         uint64_t value = 0;
-        auto res = libvlc_media_get_stat( *this, static_cast<uint8_t>( s ), &value ) == 1;
+        auto res = libvlc_media_get_filestat( *this, static_cast<uint8_t>( s ), &value ) == 1;
         return std::make_pair( res, value );
     }
 #endif



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/compare/aca01ee33ad03d30b4ac42094749ccbcf76f35c7...d41003f7f2af71ddf7578c88bb8c06be18723cfa

-- 
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/compare/aca01ee33ad03d30b4ac42094749ccbcf76f35c7...d41003f7f2af71ddf7578c88bb8c06be18723cfa
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list