summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-30 17:59:55 +0100
committerwm4 <wm4@nowhere>2012-12-03 21:08:51 +0100
commitaa2c07542f11ee8ab6df0949635ee453952213dd (patch)
tree04f3ea8b191cb4d7668bf304cc7e60942d532b7d /stream/stream.c
parent3b4682183ceecdf6c34237f66b3ddcbc4cf849e2 (diff)
downloadmpv-aa2c07542f11ee8ab6df0949635ee453952213dd.tar.bz2
mpv-aa2c07542f11ee8ab6df0949635ee453952213dd.tar.xz
demux_lavf: do not prefix filename passed to libavformat with "mp:"
Opening files with the libavformat AVISynth demuxer ("avs"/avisynth.c) fails, because the filename we pass to avformat_open_input() is prefixed with "mp:". Normally, this doesn't matter, because data is read with the stream interface. The AVISynth demuxer can't use this, because the Avisynth API (apparently) can't read scripts from memory, and requires a filename. The "mp:" prefix used to be required when mplayer's stream layer was made available as protocol to ffmpeg. This was replaced by setting custom stream callbacks in de4908 (svn commit 25499), but the prefix wasn't removed. Since this prefix doesn't have any purpose anymore and prevents AVS playback from functioning, remove it. Fixes #5.
Diffstat (limited to 'stream/stream.c')
0 files changed, 0 insertions, 0 deletions