subs: support loading external ASS subtitles via stream layer
commit9786d386679e814f814fc0eb2426086c1f3fd16e
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 9 Mar 2010 20:35:53 +0000 (9 22:35 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 9 Mar 2010 20:35:53 +0000 (9 22:35 +0200)
treeb9d2be371df5e65859127b70fb3b95f26f7003af
parent173beb5608d893c0d9b42c1043f1dfa2db2e4df2
subs: support loading external ASS subtitles via stream layer

Previously the argument of the "-sub" option was always interpreted as
a local filename when trying to read it as a libass file. Use the
stream layer to read it instead, so that protocols like 'http://' are
also supported like they are for the main video/audio file.

Based on patch by Yuriy Kaminskiy <yumkam@mail.ru>
ass_mp.c
ass_mp.h
mplayer.c