summaryrefslogtreecommitdiffstats
path: root/sub/subreader.c
Commit message (Collapse)AuthorAgeFilesLines
* subreader.c: don't run FriBiDi code if using libassUoti Urpala2011-09-231-1/+4
| | | | | | | | Libass has its own BiDi handling now, and preprocessing the subtitles with FriBiDi before passing them to libass breaks things. Disable our own FriBiDi code when libass rendering is used. This affects external subtitle files of other formats parsed with subreader.c and converted to ASS tracks.
* subreader: SAMI subs: wrap line if neededreimar2011-06-291-0/+2
| | | | | | | Start a new line if there's no space left to append to the previous one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33471 b3059339-0415-0410-9bf9-f77b7e298cf2
* find_subfiles: move sub_filenames() hereClément Bœsch2011-04-201-280/+0
| | | | | | | | | | 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.
* sub/OSD: move some related files to sub/Uoti Urpala2011-01-261-0/+2504