medialib: Use correct types for media group properties

Date are now exposed as time_t
Duration should have always been an int64_t
And replace unsigned int by uint32_t for coherence
This commit is contained in:
Hugo Beauzée-Luyssen 2022-02-22 17:24:03 +01:00 committed by Rémi Denis-Courmont
parent 0c4e0191e7
commit 8f168f446f
1 changed files with 3 additions and 3 deletions

View File

@ -232,7 +232,7 @@ typedef struct vlc_ml_group_t
char* psz_name;
unsigned int i_nb_total_media;
uint32_t i_nb_total_media;
uint32_t i_nb_video;
uint32_t i_nb_audio;
uint32_t i_nb_unknown;
@ -244,9 +244,9 @@ typedef struct vlc_ml_group_t
uint32_t i_nb_seen;
uint32_t i_nb_present_seen;
unsigned int i_duration;
int64_t i_duration;
uint32_t i_creation_date;
time_t i_creation_date;
time_t i_last_modification_date;
} vlc_ml_group_t;