Commits on Source (5)
-
This is a first step to allow the caller to compute an arbitrary deadline based on vlc_clock_ConvertToSystemLocked() then wait using vlc_clock_Wait() without race condition.
a2e2c056 -
Now that clock lock is exposed, a wrapper function to apply several conversions at once becomes unnecessary: the caller could execute each conversion successively with lock held.
6c2e92f9 -
The function vlc_clock_Wait() was in charge of converting the stream timestamp and handling a deadline provided by the caller. Instead, just pass the deadline, expressed in system time. This will allow the caller to compute arbitrary deadlines and to wake up the wait on custom conditions.
ecf0ac67 -
7de5729f
-
Expose a function to wake up the wait condition. This will allow users to loop on vlc_clock_Wait() under their own custom conditions.
8be3b627
Showing
- src/clock/clock.c 37 additions, 45 deletionssrc/clock/clock.c
- src/clock/clock.h 51 additions, 16 deletionssrc/clock/clock.h
- src/video_output/video_output.c 21 additions, 2 deletionssrc/video_output/video_output.c
- src/video_output/vout_subpictures.c 26 additions, 27 deletionssrc/video_output/vout_subpictures.c