subs: move text sub loading logic down to find_subfiles.c
commit7221e28fe3d743aaf6357bb0838e762781644f0d
authorClément Bœsch <ubitux@gmail.com>
Sat, 26 Feb 2011 19:59:16 +0000 (26 20:59 +0100)
committerUoti Urpala <uau@mplayer2.org>
Wed, 20 Apr 2011 01:22:52 +0000 (20 04:22 +0300)
treebce8922ea210b28bba43d5f5123f7f511c689fed
parent9bcfbe4d4ff8c40fff45798ae7f907118218c17b
subs: move text sub loading logic down to find_subfiles.c

Move path handling for loading external subtitle files from mplayer.c
to find_subfiles.c. Now the remaining code in mplayer.c only gets a
list of potential filenames and tries opening those.
mplayer.c
sub/find_subfiles.c
sub/find_subfiles.h