aboutsummaryrefslogtreecommitdiffhomepage
path: root/subreader.c
Commit message (Collapse)AuthorAge
...
* 10lGravatar alex2003-08-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10556 b3059339-0415-0410-9bf9-f77b7e298cf2
* another attempt to fix the subtitle searchingGravatar henry2003-08-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10552 b3059339-0415-0410-9bf9-f77b7e298cf2
* some more cola - misplaced breakGravatar henry2003-08-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10545 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1, micro-speedup 2, fixed 10l: only prefer utf8 if iconv is presentGravatar alex2003-07-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10495 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix against dummy solaris sprintf, bug reported by Gotz WaschkGravatar alex2003-07-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10487 b3059339-0415-0410-9bf9-f77b7e298cf2
* ASS supportGravatar henry2003-07-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10451 b3059339-0415-0410-9bf9-f77b7e298cf2
* always treat .utf* files as UTF-8Gravatar atlka2003-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10357 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub_utf8 fiddlingGravatar atlka2003-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10355 b3059339-0415-0410-9bf9-f77b7e298cf2
* small correction of sub_utf8 restoring between reading sub filesGravatar atlka2003-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10354 b3059339-0415-0410-9bf9-f77b7e298cf2
* prefer UTF-8 encoding subs and automatically recognize them by suffixGravatar atlka2003-06-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10341 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10LGravatar henry2003-06-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10337 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by DominikGravatar alex2003-06-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10237 b3059339-0415-0410-9bf9-f77b7e298cf2
* unleakGravatar alex2003-05-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10221 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanups/bugfixesGravatar henry2003-04-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9896 b3059339-0415-0410-9bf9-f77b7e298cf2
* option for sub match fuzziness levelGravatar henry2003-04-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9894 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fix by Salvatore Falco <salvatore.falco@katamail.com>Gravatar alex2003-04-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9889 b3059339-0415-0410-9bf9-f77b7e298cf2
* turn most of the subtitle matching fuzziness off by defaultGravatar henry2003-04-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9885 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation without iconvGravatar henry2003-04-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9873 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>Gravatar henry2003-04-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9871 b3059339-0415-0410-9bf9-f77b7e298cf2
* hebrew support using fribidi libs, patch by Raindel Shachar ↵Gravatar alex2003-03-21
| | | | | | <raindel@techunix.technion.ac.il> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9636 b3059339-0415-0410-9bf9-f77b7e298cf2
* rt subtitle fixesGravatar arpi2003-02-07
| | | | | | | patch by Andriy N. Gritsenko <andrej@lucky.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9323 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>Gravatar arpi2003-02-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9218 b3059339-0415-0410-9bf9-f77b7e298cf2
* sub_utf8 handling hopefully fixedGravatar henry2003-01-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9146 b3059339-0415-0410-9bf9-f77b7e298cf2
* maybe fix ogm vs. iconvGravatar arpi2003-01-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9144 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a command line option (-sub-no-text-pp) to disable subtitlesGravatar arpi2003-01-27
| | | | | | | | postprocessing, ie. { } removal etc. patch by Salvador Eduardo Tropea <salvador@inti.gov.ar> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9127 b3059339-0415-0410-9bf9-f77b7e298cf2
* - add subcpGravatar pontscho2003-01-21
| | | | | | | | - fix some 10l in gui - fix one 10l bug in subreader git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9057 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1) Removed the code to remove {} from sub_read_line_ssaGravatar arpi2003-01-19
| | | | | | | | | | | | | 2) Put this code in a separated function: sub_pp_ssa 3) After recoding added a call to sub_pp_ssa. To be more acqurate: I added a pointer to function to hold a postprocessing function to be invoked after using iconv. There are one pointer for each format, if this pointer isn.t NULL the post processing function is called. patch by Salvador Eduardo Tropea <salvador@inti.gov.ar> help by <hephooey@fastmail.fm> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9010 b3059339-0415-0410-9bf9-f77b7e298cf2
* bunkus: fixed a small bug with skipping "{...}" in ssa subsGravatar mosu2003-01-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Overlapping subs are a feature mainly present in subtitlingGravatar arpi2003-01-10
| | | | | | | | | | | | | software formats, such as JACOsub and SSA. This patch enables them, by default, only with this formats; however the user can force both enabling and disabling overlapping subtitles by the mean of -overlapsub and -nooverlapsub options. The code itself should avoid all the 'jumping subtitles' problems reported by the users. patch by salvatore.falco@katamail.com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Since version 2.7 the file extension for JACOsub changed fromGravatar arpi2003-01-09
| | | | | | | | | | | | '.js' to '.jss', to avoid confusion with javascript. There is also a new format for list_sub_file output; however this is used only in debugging subtitles code, while disabled in real life use. patch by <salvatore.falco@katamail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8863 b3059339-0415-0410-9bf9-f77b7e298cf2
* some subviewer versions uses : instead of . or ,Gravatar arpi2003-01-05
| | | | | | | reported by Nagy Gábor <ngabor79@index.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8790 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar arpi2003-01-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8786 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar arpi2003-01-03
| | | | | | | patch by Oskar Liljeblad <oskar@osk.mine.nu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8735 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for subviewer format using dots instead of commas:Gravatar arpi2002-12-29
| | | | | | | | 00:00:27.000 --> 00:00:28.300 patch by Oskar Liljeblad <oskar@osk.mine.nu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8644 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch adds a call to subcp_recode1(), so this subtitles too areGravatar arpi2002-12-28
| | | | | | | | processed through iconv(). Kresimir Kukulj madmax@iskon.hr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attached is a small patch to fix a couple of problems I found when usingGravatar arpi2002-12-28
| | | | | | | | | | | | | | | | .SSA subtitle files: 1) A comma appears at the beggining of the text. From comments on the code this seems to be a delicated matter, so I just added a conditional to eliminate the comma if it is at the beggining of the string. 2) It looks like this format uses {*} for attributes, like {/fs36} to select "font size 36pt". These things becomes really annoying when displayed with the real text ;-), so I added a simple filter to collapse all the text enclosed with { and }. Salvador Eduardo Tropea <salvador@inti.gov.ar> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8603 b3059339-0415-0410-9bf9-f77b7e298cf2
* dump subtitles in SAMI formatGravatar arpi2002-12-05
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8364 b3059339-0415-0410-9bf9-f77b7e298cf2
* optional (compile-time switch) subtitles-sorting featureGravatar arpi2002-12-05
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8363 b3059339-0415-0410-9bf9-f77b7e298cf2
* overlapping subtitles support is now optional, can be disabled (-nooverlapsub)Gravatar arpi2002-12-05
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8362 b3059339-0415-0410-9bf9-f77b7e298cf2
* dump in JACOsub formatGravatar arpi2002-12-04
| | | | | | | patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8361 b3059339-0415-0410-9bf9-f77b7e298cf2
* I recently sent a patch for a new subtitles format, JACOsub. Since then IGravatar arpi2002-11-16
| | | | | | | | | found a better definition of jacosub standard, and this patch is the result. It supports timeresolutions changes and shifts. Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8208 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow max 0.2s overlapping without splitting subsGravatar arpi2002-11-16
| | | | | | | patch by salvatore.falco@katamail.com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8207 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalGravatar arpi2002-11-06
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch is to add support for overlapping subtitles, that isGravatar arpi2002-10-30
| | | | | | | | | | | | subtitles whose start or end happens during another subtitle. After reading the subtitles from the file in sub_read_file(), this patch looks for overlapping subtitles and split them into more non-overlapping subtitles. Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7984 b3059339-0415-0410-9bf9-f77b7e298cf2
* JACOSub is another subtitling format, whose specifications are at:Gravatar arpi2002-10-30
| | | | | | | | http://unicorn.us.com/jacosub patch by Salvatore Falco <sfalco@studenti.ing.uniroma1.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7983 b3059339-0415-0410-9bf9-f77b7e298cf2
* small memleaksGravatar arpi2002-10-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7776 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable -subfps for time based subtitles, too.Gravatar atmos42002-10-06
| | | | | | | | | | | Please update the DOCS for -subfps: "If you have time-based subtitles like subviewer that can't be synced by -subdelay try specifying -subfps with the framerate of the movie the time-based sub was created for, eg. -subfps 25 if you use subs from a 25 fps movie with a movie using a different framerate. If you need to guess -subfps, try 25, 23.98 and 29.97" git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Skip html tags (like <i>) inside subviewer subtitles.Gravatar atmos42002-10-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7609 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugGravatar arpi2002-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* New option for mplayer: -dumpmicrodvdsubGravatar kmkaplan2002-09-21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7461 b3059339-0415-0410-9bf9-f77b7e298cf2