summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-02-26 20:47:49 +0100
committerUoti Urpala <uau@mplayer2.org>2011-04-20 04:22:52 +0300
commit9bcfbe4d4ff8c40fff45798ae7f907118218c17b (patch)
tree07a19edff1d9e82b45fedb31f10674d899848df7 /mp_core.h
parent4587f030ccded80f3ddb21dab2bca36af42fe497 (diff)
downloadmpv-9bcfbe4d4ff8c40fff45798ae7f907118218c17b.tar.bz2
mpv-9bcfbe4d4ff8c40fff45798ae7f907118218c17b.tar.xz
find_subfiles: move sub_filenames() here
Move sub_filenames() and related code from subreader.c to new file find_subfiles.c. This function is used to find subtitle files that should be loaded for the current video; this functionality is not specific to the particular kind of text subtitle handling implemented in subreader.c. Also reindent and prettify the moved code a bit.
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index 733962fe0c..0e41b58de3 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -24,6 +24,7 @@
#include "options.h"
#include "mixer.h"
#include "sub/subreader.h"
+#include "sub/find_subfiles.h"
// definitions used internally by the core player code