0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

player: rename and move find_subfiles.c

This was in sub/, because the code used to be specific to subtitles. It
was extended to automatically load external audio files too, and moving
the file and renaming it was long overdue.
This commit is contained in:
wm4 2015-09-20 18:05:06 +02:00
parent f287ccf017
commit 8782354e6d
6 changed files with 5 additions and 5 deletions

View File

@ -195,6 +195,7 @@ SOURCES = audio/audio.c \
player/client.c \
player/configfiles.c \
player/command.c \
player/external_files.c \
player/loadfile.c \
player/main.c \
player/misc.c \
@ -219,7 +220,6 @@ SOURCES = audio/audio.c \
stream/stream_rar.c \
sub/dec_sub.c \
sub/draw_bmp.c \
sub/find_subfiles.c \
sub/img_convert.c \
sub/osd.c \
sub/sd_lavc.c \

View File

@ -18,7 +18,7 @@
#include "event.h"
#include "input.h"
#include "common/msg.h"
#include "sub/find_subfiles.h"
#include "player/external_files.h"
void mp_event_drop_files(struct input_ctx *ictx, int num_files, char **files,
enum mp_dnd_action action)

View File

@ -12,7 +12,7 @@
#include "misc/ctype.h"
#include "options/options.h"
#include "options/path.h"
#include "sub/find_subfiles.h"
#include "external_files.h"
static const char *const sub_exts[] = {"utf", "utf8", "utf-8", "idx", "sub", "srt",
"smi", "rt", "txt", "ssa", "aqt", "jss",

View File

@ -50,7 +50,7 @@
#include "demux/demux.h"
#include "stream/stream.h"
#include "sub/dec_sub.h"
#include "sub/find_subfiles.h"
#include "external_files.h"
#include "video/decode/dec_video.h"
#include "video/out/vo.h"

View File

@ -202,6 +202,7 @@ def build(ctx):
( "player/client.c" ),
( "player/command.c" ),
( "player/configfiles.c" ),
( "player/external_files.c" ),
( "player/loadfile.c" ),
( "player/main.c" ),
( "player/misc.c" ),
@ -251,7 +252,6 @@ def build(ctx):
( "sub/ass_mp.c", "libass"),
( "sub/dec_sub.c" ),
( "sub/draw_bmp.c" ),
( "sub/find_subfiles.c" ),
( "sub/img_convert.c" ),
( "sub/osd.c" ),
( "sub/osd_dummy.c", "dummy-osd" ),