summaryrefslogtreecommitdiffstats
path: root/subreader.c
Commit message (Collapse)AuthorAgeFilesLines
* frame-based mpsub parser fix - patch by Rizsanyi Zsolt <rizsanyi@myrealbox.com>arpi2002-04-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5829 b3059339-0415-0410-9bf9-f77b7e298cf2
* vplayer sub fix by Arkadiusz Podgorski <wodzu@softomat.com.pl>arpi2002-03-271-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5364 b3059339-0415-0410-9bf9-f77b7e298cf2
* -subfps and -subdelay alters -dumpmpsub's outputlaaz2002-02-281-4/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4887 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a bug with -dumpmpsublaaz2002-02-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4881 b3059339-0415-0410-9bf9-f77b7e298cf2
* too many arguments to sscan in subdetect.eyck2002-02-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4520 b3059339-0415-0410-9bf9-f77b7e298cf2
* detect microdvd with empty second frame.eyck2002-01-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4445 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed mpsub bug requested by Gabucinolaaz2002-01-121-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4099 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. subs know are readed after reading AVI header so we already know fpsatlka2002-01-091-37/+29
| | | | | | | | 2. modified vplayer format reader - default time is ~6 sec - maybe that should be an option git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4065 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrections to adjust_subs_time function which now uses fps if neededatlka2002-01-081-11/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4053 b3059339-0415-0410-9bf9-f77b7e298cf2
* added adjust_subs_time function which corrects bad sub->end timeatlka2002-01-081-10/+23
| | | | | | | after reading subs so it is sub format independent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4052 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed subreader.c to read microdvd lines in form "{%ld}{}[^\r\n]" tooatlka2002-01-081-2/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4049 b3059339-0415-0410-9bf9-f77b7e298cf2
* tail_space infinite loop fix by jeon_goon@lycos.co.krarpi2002-01-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3925 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix a warning (ambiguous 'if else')pl2001-12-251-5/+10
| | | | | | | | fix a would be bug (separator) small warning fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3736 b3059339-0415-0410-9bf9-f77b7e298cf2
* vplayer format - no longer crashes on slightly broken subs.eyck2001-12-251-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3725 b3059339-0415-0410-9bf9-f77b7e298cf2
* bzero() -> memset()pl2001-12-241-14/+15
| | | | | | | | malloc()+strcpy() -> strdup() trail_space() slightly changed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3702 b3059339-0415-0410-9bf9-f77b7e298cf2
* some small sub bug fixpontscho2001-12-171-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by artur Zaprzala:atmos42001-12-101-2/+8
| | | | | | | This patch adds test for NULL return value of strchr(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3434 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch fixes the showing last line of subtitles and support of SAMI Slacktime ↵arpi2001-11-301-5/+19
| | | | | | option by Evgeny Chukreev <codedj@echo.ru> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3236 b3059339-0415-0410-9bf9-f77b7e298cf2
* fopen(NULL,r) segfault on qnxiive2001-11-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2916 b3059339-0415-0410-9bf9-f77b7e298cf2
* minor cleanups:pl2001-11-151-60/+55
| | | | | | | | | a few #define's in subreader.h are now used instead of -1..9 same thing for line length instead of 1000..1001 renamed *_third() to *_subviewer() since it is what it is git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2913 b3059339-0415-0410-9bf9-f77b7e298cf2
* 11110001.txt find_sub sig11 fixedarpi2001-11-131-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2881 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied SAMI patch by Evgeny Chukreev <codedj at echo dot ru>atmos42001-11-111-5/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2837 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpsub, FORMAT=<frame> alpha versionlaaz2001-10-261-21/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2496 b3059339-0415-0410-9bf9-f77b7e298cf2
* remowing warning messageatlka2001-10-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2469 b3059339-0415-0410-9bf9-f77b7e298cf2
* added DUMPSUBS recognition if we need compile only subreader.c aloneatlka2001-10-241-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2450 b3059339-0415-0410-9bf9-f77b7e298cf2
* better FreeBSD iconv implementationnexus2001-10-221-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2359 b3059339-0415-0410-9bf9-f77b7e298cf2
* AQT type support patch by Jiri.Svoboda@seznam.czarpi2001-10-211-2/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2344 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPsub read/write support 0.5 (-dumpmpsub switch)laaz2001-10-121-7/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2179 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpsub read supportlaaz2001-10-121-2/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2178 b3059339-0415-0410-9bf9-f77b7e298cf2
* modifications to use iconv(3) function to recode text of subs (autodetect)atlka2001-10-101-1/+86
| | | | | | | added option -subcp <cpname> # for example cp1250, latin2 etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2152 b3059339-0415-0410-9bf9-f77b7e298cf2
* SSA 2. felvonas (egyre jobban programozok!!!)laaz2001-10-091-3/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2142 b3059339-0415-0410-9bf9-f77b7e298cf2
* ssa worx fine. Testers needed :)))laaz2001-10-091-6/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2141 b3059339-0415-0410-9bf9-f77b7e298cf2
* ehh. sizeof(pointer) bug fixed...arpi2001-08-291-7/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1765 b3059339-0415-0410-9bf9-f77b7e298cf2
* subdumparpi2001-08-291-15/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1762 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixup to vplayer subtitle submitted to sourceforge by Igor Wojnickieyck2001-08-221-1/+7
| | | | | | | wojnicki at users.sf.net, at 2001-05-23 (sic!) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1641 b3059339-0415-0410-9bf9-f77b7e298cf2
* changes according to -utf8 option, draw_osd() function addedatlka2001-08-131-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1502 b3059339-0415-0410-9bf9-f77b7e298cf2
* new sub format...szabii2001-06-091-11/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1082 b3059339-0415-0410-9bf9-f77b7e298cf2
* debug stuff removedlaaz2001-06-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gabucino (CGA user)'s request (finds default.subs well)laaz2001-06-011-6/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@935 b3059339-0415-0410-9bf9-f77b7e298cf2
* more stabilelaaz2001-06-011-10/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for .ssa subtitleslaaz2001-05-311-4/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@922 b3059339-0415-0410-9bf9-f77b7e298cf2
* corrected strcmp() bug, now it works again with every subs (it was broken)laaz2001-05-311-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@914 b3059339-0415-0410-9bf9-f77b7e298cf2
* there is another format that get detected as vplayers.eyck2001-05-281-0/+1
| | | | | | | Instead of tightening detection support that another format. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@897 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented ~/.mplayer/sub/filename.sub stuffarpi_esp2001-05-271-24/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Wrong header lenght count for vplayer format fixed.eyck2001-05-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@859 b3059339-0415-0410-9bf9-f77b7e298cf2
* Preliminary support for RT-type subs.eyck2001-05-221-5/+54
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@851 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for vplayer subtitleseyck2001-05-171-2/+46
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@819 b3059339-0415-0410-9bf9-f77b7e298cf2
* better .smi support and display two-byte characters- patch by Sunjin Yangarpi_esp2001-05-061-37/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@707 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed segfault (microdvd format, many lines)laaz2001-05-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@679 b3059339-0415-0410-9bf9-f77b7e298cf2
* #if 0 'd main()laaz2001-04-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@626 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for SAMI subtitle support (.smi)laaz2001-04-241-15/+66
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@625 b3059339-0415-0410-9bf9-f77b7e298cf2
* warnings killedszabii2001-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@606 b3059339-0415-0410-9bf9-f77b7e298cf2
* add sub autodetectpontscho2001-04-181-0/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@510 b3059339-0415-0410-9bf9-f77b7e298cf2
* no more garbage! (fixed by laaz)gabucino2001-04-011-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@271 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied patch by lezarpi_esp2001-04-011-9/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@270 b3059339-0415-0410-9bf9-f77b7e298cf2
* subtitles (.sub files) supportarpi_esp2001-03-301-0/+235
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@259 b3059339-0415-0410-9bf9-f77b7e298cf2