[vlc-commits] [Git][videolan/vlc][3.0.x] freetype: fix negative duration
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Aug 7 09:32:19 UTC 2026
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
da8e72b6 by François Cartegnie at 2026-08-07T09:17:38+00:00
freetype: fix negative duration
(cherry picked from commit 186b29123eca17b969c0ad072259c0e639b7fd90) (edited)
edited:
- VLC 3 doesn't have vlc_tick_now()
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -
1 changed file:
- modules/text_renderer/freetype/fonts/fontconfig.c
Changes:
=====================================
modules/text_renderer/freetype/fonts/fontconfig.c
=====================================
@@ -90,8 +90,7 @@ int FontConfig_Prepare( filter_t *p_filter )
#endif
vlc_mutex_unlock( &lock );
- ts -= mdate();
- msg_Dbg( p_filter, "Took %ld microseconds", (long)ts );
+ msg_Dbg( p_filter, "Took %" PRId64 " microseconds", mdate() - ts );
return (config != NULL) ? VLC_SUCCESS : VLC_EGENERIC;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/da8e72b6d60232fba504932f8511bb3d1baf1d25
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/da8e72b6d60232fba504932f8511bb3d1baf1d25
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list