vlc | branch: master | Steve Lhomme <[email protected]> | Thu Jul 5 16:16:48 2018 +0200| [468e3c8053bee61646aec83bb31466be3b08fc3a] | committer: Steve Lhomme
qt: use secf function to read the bookmark time > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=468e3c8053bee61646aec83bb31466be3b08fc3a --- modules/gui/qt/dialogs/bookmarks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt/dialogs/bookmarks.cpp b/modules/gui/qt/dialogs/bookmarks.cpp index d8b5f6c530..cfc7e7c233 100644 --- a/modules/gui/qt/dialogs/bookmarks.cpp +++ b/modules/gui/qt/dialogs/bookmarks.cpp @@ -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 ) ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
