summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-28 21:51:54 +0200
committerwm4 <wm4@nowhere>2015-05-28 21:51:54 +0200
commit0949ee347d5623a96b6dfd087dec7369431f184d (patch)
tree61cd31836244ba47620b0e66c1e1da01e85cd9c2 /video/decode/vd_lavc.c
parentce0bf9692f48e587b01ba6a1c3ac7176ef18797e (diff)
downloadmpv-0949ee347d5623a96b6dfd087dec7369431f184d.tar.bz2
mpv-0949ee347d5623a96b6dfd087dec7369431f184d.tar.xz
demux_lavf: do a better job at guessing the vobsub .sub filename
Vobsubs come as .idx/.sub pair of files. The .idx file is the one that should be opened, but the name of the .sub file is unknown. We can now make our own guess what the name of that file is. In particular, improve support with URLs (as these can have the file extension in the middle of the filename string if there are HTTP parameters). Note that this works only with newer ffmpeg versions, because the recently added sub_name demuxer option is used for this.
Diffstat (limited to 'video/decode/vd_lavc.c')
0 files changed, 0 insertions, 0 deletions