diff options
author | Chris Down <chris@chrisdown.name> | 2020-01-18 22:39:08 +0000 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-01-26 14:28:31 +0100 |
commit | 1ae17074bd38bb16ff65c5d412241f8fe5f72faa (patch) | |
tree | a2ab45b5974dd7c7069226033489fa02c76fa170 /sub/img_convert.h | |
parent | b316534902fbbd2832cf340935f3e182f8a50af7 (diff) | |
download | mpv-1ae17074bd38bb16ff65c5d412241f8fe5f72faa.tar.bz2 mpv-1ae17074bd38bb16ff65c5d412241f8fe5f72faa.tar.xz |
player: check if file is URL before attempting to get mtime
I noticed an oversight when using ytdl-hook -- if the path is a URL, we
try to `stat()` it, which obviously doesn't work. To mitigate that,
don't check or update mtimes for URLs.
Diffstat (limited to 'sub/img_convert.h')
0 files changed, 0 insertions, 0 deletions