#include <stdlib.h>
#include <vlc/vlc.h>
#include <vlc/input.h>
#include "charset.h"
#include <ctype.h>
Go to the source code of this file.
Defines | |
#define | DIRECTORY_SEPARATOR '/' |
#define | MAX_SUBTITLE_FILES 128 |
Functions | |
char ** | subtitles_Detect (input_thread_t *p_this, char *psz_path, char *psz_name) |
Definition in file subtitles.c.
|
What's between a directory and a filename? Definition at line 51 of file subtitles.c. Referenced by subtitles_Detect(). |
|
We are not going to autodetect more subtitle files than this. Definition at line 57 of file subtitles.c. Referenced by subtitles_Detect(). |
|
Detect subtitle files. When called this function will split up the psz_name string into a directory, filename and extension. It then opens the directory in which the file resides and tries to find possible matches of subtitles files.
Definition at line 270 of file subtitles.c. References DIRECTORY_SEPARATOR, vlc_value_t::i_int, MAX_SUBTITLE_FILES, and var_Get. |