- Aug 17, 2022
-
-
Steve Lhomme authored
Don't assume any CLOCK_FREQ value.
-
Steve Lhomme authored
-
- Aug 13, 2022
-
-
Co-Authored-by:
Thomas Guillem <thomas@gllm.fr>
-
- Aug 12, 2022
-
-
-
-
-
My bad, libvlc_time_t is in ms. The timer API should use the sane unit than libvlc_clock(), that is us in int64_t. Also add missing vlc_tick_t <-> us conversion (no harm since 1 tick = 1 us for now).
-
- Aug 10, 2022
-
-
Any LibVLC users could request a timer from the player. This Media Player timer has its own event API since: - It is only used to receive time update points: - The timer is not locked by the player lock. Indeed the player lock can be too "slow" (it can be recursive, it is used by the playlist, and is it held when sending all events). So it's not a good idea to hold this lock for every frame/sample updates. - The minimum delay between each updates can be configured: it avoids to flood the UI when playing a media file with very high fps or very low audio sample size. The libvlc_media_player_time_point struct is used by timer update callbacks. This public struct hold all the informations to interpolate a time at a given date. It can be done with the libvlc_media_player_time_point_interpolate() helper. That way, it is now possible to get the last player time without holding any locks. There is only one type of timer (for now): libvlc_media_player_watch_time(): update are sent only when a frame or a sample is outputted. Users of this timer should take into account that the delay between each updates is not regular and can be up to 1seconds (depending of the input). In that case, they should use their own timer (from their mainloop) and use libvlc_media_player_time_point_interpolate() to get the last time.
-
- Aug 09, 2022
-
-
- Aug 06, 2022
-
-
- Jul 31, 2022
-
-
A i_chapters_of_title of -1 mean the current title, so fetch it in that case. It fixes a crash while attempting to reach the title array at -1.
-
- Jul 27, 2022
-
-
Asked by API users, more convenient than dropping !selected tracks ourself.
-
-
- Jun 29, 2022
-
-
Steve Lhomme authored
-
- Jun 18, 2022
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
As discussed on vlc-devel a few years back, it is desirable, if not sometimes necessary, for media objects to be independent from any given instance. A typical reason would be to preparse media in one instance but play them in another.
-
Rémi Denis-Courmont authored
The caller ought to be able to select which instance the player should be instantiated from.
-
The caller may want to use a different instance than that which the media was created from.
-
- Jun 17, 2022
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This can now be determined unambiguously from the parsed status.
-
Rémi Denis-Courmont authored
Note that this shifts all the values by one, but binary compatibility is already broken anyway.
-
Rémi Denis-Courmont authored
No functional change.
-
Rémi Denis-Courmont authored
No functional changes.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
This remove the old API for preparsed tracks.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
Media parsing can occur on any instance, and in all likelihood, a freed media is not being parsed by any instance. Note: to cancel parsing, libvlc_media_parse_stop() can be used.
-
Rémi Denis-Courmont authored
The prototype has changed anyhow, and the variants without options no longer exist.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-