summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-08 21:46:42 +0100
committerwm4 <wm4@nowhere>2014-01-08 21:46:42 +0100
commit1d2a11133737802baa555dcbff9482bd5c8120ad (patch)
treec8c512a911c936435d1201277033793dc48876ff /video
parent59c6fa220158794791b5e1674c4aa1e1a439c2c8 (diff)
downloadmpv-1d2a11133737802baa555dcbff9482bd5c8120ad.tar.bz2
mpv-1d2a11133737802baa555dcbff9482bd5c8120ad.tar.xz
player: strip 'file://' from filenames on playback start
This fixes two things: 1. Dropping files on the VO window will auto-load subtitles (since most drag & drop code prefixes the filenames with 'file://', and the subtitle auto-load code considers 'file://' non-local) 2. Fix behavior of the %x screenshot filename template (similar problem) One could force all that code to special-case 'file://' URLs, but just replacing the filename on playback start is simpler.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions