summaryrefslogtreecommitdiffstats
path: root/sub/find_subfiles.h
Commit message (Collapse)AuthorAgeFilesLines
* player: rename and move find_subfiles.cwm42015-09-201-35/+0
| | | | | | 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.
* Update license headersMarcin Kurczewski2015-04-131-5/+4
| | | | Signed-off-by: wm4 <wm4@nowhere>
* player: add external audio file auto-loadingwm42015-02-021-1/+2
| | | | | | Apparently some people want this. Not enabled by default. Fixes #967.
* vo: dropping subtitle files on the VO window adds them as subtitle fileswm42014-01-041-0/+4
| | | | | | | Note that we don't try to be clever about detecting the files as subtitles: we just check the file extension. We could go all the way and check the files by opening them with a demuxer, but that would probably do more bad than good.
* find_subfiles: mp_msg conversionswm42013-12-211-3/+2
|
* sub: respect detected language for fuzzy-matched external subtitleswm42013-11-251-1/+7
| | | | | | | Solve this by passing through the language to the player, which then uses the generic subtitle selection code to make a choice. Fixes #367.
* find_subfiles: some cleanupswm42013-09-071-2/+0
| | | | | | | Remove a crap assert() (what... either it can't happen, or it should error or at least abort() if it can't be handled). Remove some dead definitions.
* sub: remove vobsub reader in favor of ffmpeg vobsub demuxerwm42012-12-111-1/+0
| | | | | | | | ffmpeg recently added a demuxer that can read vobsubs (pairs of .sub and .idx files). Get rid of the internal vobsub reader, and use the ffmpeg demuxer instead. Sneak in an unrelated manpage change (autosub default).
* subs: options: add -sub-pathsClément Bœsch2011-04-201-2/+4
|
* subs: move vobsub loading logic down to find_subfiles.cUoti Urpala2011-04-201-0/+1
| | | | | | | Analogously to the previous commit, move path handling logic for loading external vobsub files from mplayer.c to find_subfiles.c. Based on a commit from Clément Bœsch but fixed and simplified.
* subs: move text sub loading logic down to find_subfiles.cClément Bœsch2011-04-201-1/+1
| | | | | | 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.
* find_subfiles: move sub_filenames() hereClément Bœsch2011-04-201-0/+26
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.