summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application.m
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-07 02:46:19 +0200
committerwm4 <wm4@nowhere>2013-09-07 02:56:28 +0200
commitc8f49be919ffaf983bde77b63d75f96a593ec7a8 (patch)
treef069cd60d78a389fb5d6d7756f238e9a1b08fc13 /osdep/macosx_application.m
parentdb79db8444d5daa2870a3228057b3000892ba074 (diff)
downloadmpv-c8f49be919ffaf983bde77b63d75f96a593ec7a8.tar.bz2
mpv-c8f49be919ffaf983bde77b63d75f96a593ec7a8.tar.xz
demux_lavf: workaround for broken libavformat subtitle seeking
The really funny thing about this commit is that this code is added on top of another work around. Basically, subtitle seeking in libavformat is completely broken. To make it useful, we have to add yet another workaround. The basic problem is that libavformat's subtitle seeking code always uses the stream time base, instead of AV_TIME_BASE if stream index -1 is passed to the avformat_seek_file() function. Fixes github issue #216. Hopefully this will be fixed in ffmpeg too at some point.
Diffstat (limited to 'osdep/macosx_application.m')
0 files changed, 0 insertions, 0 deletions