summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-05 16:44:50 +0200
committerwm4 <wm4@nowhere>2014-07-05 17:07:14 +0200
commit18e6d07612030d6163bf5ca08c7e4ed472bcfc5b (patch)
tree7c3f4b64a99daae58f5b8ad48f96dc1b18d4802b /demux
parent5eb9039c6b668e8294a7acd29951c28152477bfd (diff)
downloadmpv-18e6d07612030d6163bf5ca08c7e4ed472bcfc5b.tar.bz2
mpv-18e6d07612030d6163bf5ca08c7e4ed472bcfc5b.tar.xz
demux_lavf: for now, ignore the new libavformat image demuxers
Recently, libavformat added demuxers to open image files like normal demuxers. This is a good thing, but for now they interfere with the operation of demux_mf. Add them to the blacklist until there is a proper solution. (The list doesn't contain _all_ recognized image formats, just those that might interfere with demux_mf.) CC: @mpv-player/stable
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_lavf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index 4b887a9656..47e4367fc7 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -129,6 +129,9 @@ static const struct format_hack format_hacks[] = {
static const char *const format_blacklist[] = {
"tty", // Useless non-sense, sometimes breaks MLP2 subreader.c fallback
+ // Image demuxers, disabled in favor of demux_mf:
+ "image2", "image2pipe",
+ "bmp_pipe", "dpx_pipe", "exr_pipe", "j2k_pipe", "png_pipe", "tiff_pipe",
0
};