diff options
author | wm4 <wm4@nowhere> | 2012-11-30 17:59:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-03 21:08:51 +0100 |
commit | aa2c07542f11ee8ab6df0949635ee453952213dd (patch) | |
tree | 04f3ea8b191cb4d7668bf304cc7e60942d532b7d /stream/stream.c | |
parent | 3b4682183ceecdf6c34237f66b3ddcbc4cf849e2 (diff) | |
download | mpv-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