[vlc-commits] [Git][videolan/vlc][master] lib/media_player: use double for set_position
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Tue Aug 9 10:17:45 UTC 2022
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
302cb844 by Thomas Guillem at 2022-08-09T10:02:57+00:00
lib/media_player: use double for set_position
- - - - -
2 changed files:
- include/vlc/libvlc_media_player.h
- lib/media_player.c
Changes:
=====================================
include/vlc/libvlc_media_player.h
=====================================
@@ -1171,7 +1171,7 @@ LIBVLC_API double libvlc_media_player_get_position( libvlc_media_player_t *p_mi
* \return 0 on success, -1 on error
*/
LIBVLC_API int libvlc_media_player_set_position( libvlc_media_player_t *p_mi,
- float f_pos, bool b_fast );
+ double f_pos, bool b_fast );
/**
* Set movie chapter (if applicable).
=====================================
lib/media_player.c
=====================================
@@ -1295,7 +1295,7 @@ int libvlc_media_player_set_time( libvlc_media_player_t *p_mi,
}
int libvlc_media_player_set_position( libvlc_media_player_t *p_mi,
- float position, bool b_fast )
+ double position, bool b_fast )
{
vlc_player_t *player = p_mi->player;
vlc_player_Lock(player);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/302cb8448647086cce794f0b448d5585472e6a66
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/302cb8448647086cce794f0b448d5585472e6a66
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list