mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-07 03:56:28 +02:00
qt: use secf function to read the bookmark time
This commit is contained in:
parent
82c8d6c909
commit
468e3c8053
@ -141,7 +141,7 @@ void BookmarksDialog::update()
|
||||
vlc_tick_t total = pp_bookmarks[i]->i_time_offset;
|
||||
unsigned hours = ( total / VLC_TICK_FROM_SEC(3600) );
|
||||
unsigned minutes = ( total % VLC_TICK_FROM_SEC(3600) ) / VLC_TICK_FROM_SEC(60);
|
||||
float seconds = ( total % VLC_TICK_FROM_SEC(60) ) / ( CLOCK_FREQ * 1. );
|
||||
float seconds = secf_from_vlc_tick( total % VLC_TICK_FROM_SEC(60) );
|
||||
|
||||
QStringList row;
|
||||
row << QString( qfu( pp_bookmarks[i]->psz_name ) );
|
||||
|
Loading…
Reference in New Issue
Block a user