diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-09-15 01:39:35 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-29 20:48:58 +0000 |
commit | da4c4d2ebd2473677045b85f923cb14349b1e60d (patch) | |
tree | 9c664eae20220d598bb3ce336a5d7c7cbe3973e9 /demux | |
parent | 381386330bd3663055250e6883f1c0c1e4069eec (diff) | |
download | mpv-da4c4d2ebd2473677045b85f923cb14349b1e60d.tar.bz2 mpv-da4c4d2ebd2473677045b85f923cb14349b1e60d.tar.xz |
timer: rename mp_time_us_to_timespec to reflect what it actually does
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index 575ccc227d..0e125dc660 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -2557,7 +2557,7 @@ static void *demux_thread(void *pctx) if (thread_work(in)) continue; pthread_cond_signal(&in->wakeup); - struct timespec until = mp_time_us_to_timespec(in->next_cache_update); + struct timespec until = mp_time_us_to_realtime(in->next_cache_update); pthread_cond_timedwait(&in->wakeup, &in->lock, &until); } |