diff options
author | wm4 <wm4@nowhere> | 2014-03-16 09:40:34 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-16 13:19:28 +0100 |
commit | bb0290145a85fd749b4ed392890c0269d7070f11 (patch) | |
tree | 97ffbe46c88439965a37c1a4d70aa38a1ab0c949 /sub/sd_lavc.c | |
parent | 3ec7f528c4af6efa9f5b5951a25ea4c6311741b5 (diff) | |
download | mpv-bb0290145a85fd749b4ed392890c0269d7070f11.tar.bz2 mpv-bb0290145a85fd749b4ed392890c0269d7070f11.tar.xz |
sub: remove old MPlayer DVD sub decoder
The DVD sub decoder in Libav 9 was broken/incomplete, so we kept the
MPlayer decoder around. Now it's not needed anymore.
Diffstat (limited to 'sub/sd_lavc.c')
-rw-r--r-- | sub/sd_lavc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sub/sd_lavc.c b/sub/sd_lavc.c index c46e52cb70..1da2c1a4bf 100644 --- a/sub/sd_lavc.c +++ b/sub/sd_lavc.c @@ -54,12 +54,7 @@ static bool supports_format(const char *format) case AV_CODEC_ID_DVB_SUBTITLE: case AV_CODEC_ID_HDMV_PGS_SUBTITLE: case AV_CODEC_ID_XSUB: - // lavc dvdsubdec doesn't read color/resolution on Libav 9.1 and below, - // so fall back to sd_spu in this case. Never use sd_spu with new ffmpeg; - // spudec can't handle ffmpeg .idx demuxing (added to lavc in 54.79.100). -#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 40, 0) case AV_CODEC_ID_DVD_SUBTITLE: -#endif return true; default: return false; |