Skip to content
Snippets Groups Projects
Commit d41003f7 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Media: Rename stat -> fileStat

Following vlc!1225
parent 887c0117
No related branches found
No related tags found
1 merge request!18Media: Rename stat -> fileStat
Pipeline #182096 passed with stage
in 47 seconds
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment