summaryrefslogtreecommitdiffstats
path: root/old-makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-24 21:29:09 +0100
committerwm4 <wm4@nowhere>2015-03-24 21:29:09 +0100
commit1ad4a62336c2b6f02bc1968c91b877b6d4951c58 (patch)
tree282d57d000f6dc13a01ccfca3c2340bdd099e96b /old-makefile
parent9b5a7241e88f8147a391f1bb79ce01593a02d443 (diff)
downloadmpv-1ad4a62336c2b6f02bc1968c91b877b6d4951c58.tar.bz2
mpv-1ad4a62336c2b6f02bc1968c91b877b6d4951c58.tar.xz
demux: fix rar support for files containing DTS audio tracks
With a recent cleanup, rar support was stuffed into demux_playlist.c (because "opening" rar files pretty much just lists archive contents and adds them to a playlist using a special rar:// protocol, which will actually access the rar file contents). Since demux_playlist.c is probed _after_ demux_lavf.c (and should/must be), libavformat was given the chance to detect DTS streams embedded within the rar file. This is not really what we want, and a regression what happened before rar listing was moved to demux_playlist.c. Fix it by moving the rar listing into its own pseudo-demuxer, and let ir probe before demux_lavf.c. (Yes, this feature still has users.)
Diffstat (limited to 'old-makefile')
-rw-r--r--old-makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/old-makefile b/old-makefile
index 883c2f60bd..25f92cec61 100644
--- a/old-makefile
+++ b/old-makefile
@@ -169,6 +169,7 @@ SOURCES = audio/audio.c \
demux/demux_mkv.c \
demux/demux_mkv_timeline.c \
demux/demux_playlist.c \
+ demux/demux_rar.c \
demux/demux_raw.c \
demux/demux_subreader.c \
demux/ebml.c \