diff options
Diffstat (limited to 'player/external_files.h')
-rw-r--r-- | player/external_files.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/player/external_files.h b/player/external_files.h index d2de60ee5e..5d42c551ae 100644 --- a/player/external_files.h +++ b/player/external_files.h @@ -21,7 +21,7 @@ #include <stdbool.h> struct subfn { - int type; // STREAM_SUB/STREAM_AUDIO + int type; // STREAM_SUB/STREAM_AUDIO/STREAM_VIDEO(coverart) int priority; char *fname; char *lang; @@ -33,5 +33,7 @@ struct subfn *find_external_files(struct mpv_global *global, const char *fname, struct MPOpts *opts); bool mp_might_be_subtitle_file(const char *filename); +void mp_update_subtitle_exts(struct MPOpts *opts); +char *mp_guess_lang_from_filename(void *talloc_ctx, const char *filename); #endif /* MPLAYER_FINDFILES_H */ |