log subreader.c @ 31366:0bf908d29807

age author description
Mon, 07 Jun 2010 19:01:15 +0000 reimar Extract duplicated code into a separate function.
Mon, 07 Jun 2010 18:53:20 +0000 reimar Ensure the SAMI subtitle reader does not read more lines than we support.
Sun, 06 Jun 2010 21:36:49 +0000 hyc Fix typo in comment
Thu, 13 May 2010 18:11:45 +0000 compn move 'dvdsublang... moviename en,eng,' message to debug level.
Sun, 28 Feb 2010 15:24:30 +0000 reimar Extend stream_read_line to support reading lines from UTF-16 encoded files
Sun, 28 Feb 2010 14:27:44 +0000 reimar sub_utf8 is handled as a value, not flags everywhere else, so change
Sun, 28 Feb 2010 14:22:44 +0000 reimar Make array describing the subtitle reader modules const.
Fri, 26 Feb 2010 15:01:37 +0000 diego Do not cast the results of malloc/calloc/realloc.
Fri, 19 Feb 2010 09:14:01 +0000 komh Replace platform preprocessor check by HAVE_DOS_PATHS.
Sat, 30 Jan 2010 23:24:23 +0000 diego Add license header to all top-level files missing them.
Fri, 22 Jan 2010 22:10:28 +0000 reimar Fix sub_free to actually free the subtitle data.
Fri, 22 Jan 2010 21:49:05 +0000 reimar Fix a memory leak in the subreader.
Fri, 22 Jan 2010 21:16:54 +0000 reimar Replace strncat by av_strlcat which is easier to verify for correctness.
Sun, 10 Jan 2010 13:52:44 +0000 zuxy Use !isspace() to replace isalnum() to avoid filename mismatch under MBCS
Sun, 22 Nov 2009 15:18:21 +0000 reimar Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too many
Sun, 22 Nov 2009 00:22:24 +0000 reimar Fix crash with partial fribidi conversion.
Sun, 22 Nov 2009 00:09:40 +0000 reimar Make fribidi (i.e. right-to-left) support work with embedded subtitles.
Fri, 20 Nov 2009 10:32:45 +0000 reimar sub_fribidi should be static, it is not used outside subreader.c
Fri, 20 Nov 2009 10:24:31 +0000 reimar Use early return instead of block over whole function.
Fri, 20 Nov 2009 10:22:57 +0000 reimar Use FFMAX instead of a custom max macro.
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Tue, 12 May 2009 02:41:04 +0000 reynaldo Get rid of some more trailing whitespace
Sun, 12 Apr 2009 20:44:20 +0000 diego Reduce subtitle parsing verbosity.
Mon, 13 Oct 2008 16:23:55 +0000 diego Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
Thu, 07 Aug 2008 10:36:07 +0000 diego Rename font-related preprocessor directives.
Fri, 01 Aug 2008 20:28:58 +0000 diego Rename some preprocessor directives from CONFIG_* to HAVE_* where appropriate;
Wed, 30 Jul 2008 12:01:30 +0000 diego Start unifying names of internal preprocessor directives.
Thu, 29 May 2008 18:35:17 +0000 eugeni Clear iconv conversion state after each subtitle line.
Fri, 16 May 2008 09:42:28 +0000 diego cosmetics: Remove useless parentheses from return statements.
Sat, 12 Apr 2008 15:51:02 +0000 uau subreader.c: remove unused code
Tue, 18 Mar 2008 12:49:54 +0000 diego Move sub_utf8_prev declaration out of the DUMPSUBS #ifdef.
Sun, 24 Feb 2008 12:40:30 +0000 diego On Win32 and OS/2, 'x:filename' path style without '\' path separator
Sun, 06 Jan 2008 23:20:15 +0000 diego Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
Sat, 22 Dec 2007 16:05:37 +0000 reimar Typo fix in message
Mon, 17 Dec 2007 01:06:17 +0000 ulion The function parameter 'preferred_language' should be const char *.
Sun, 28 Oct 2007 15:53:08 +0000 iive Cleanup guess_buffer_cp() a bit, remove tmp variable, break the loop on success.
Sun, 28 Oct 2007 14:26:05 +0000 iive Our enca code uses strdup() on the input encoding name, as we don't modify it we can use the original constant string.
Sat, 22 Sep 2007 13:24:58 +0000 reimar Revert r24103, it was nonsense and add a comment that explains the code
Mon, 20 Aug 2007 09:26:29 +0000 reimar -subfps makes sense for frame-based subtitle formats as well!
Sat, 02 Jun 2007 13:00:38 +0000 eugeni Revert r23443, it breaks compilation without libass.
Fri, 01 Jun 2007 19:58:29 +0000 eugeni Recode the whole subtitle file to utf-8 before parsing.
Mon, 19 Feb 2007 10:48:50 +0000 faust3 10l: comparison of char* ptrs with string literals
Mon, 05 Feb 2007 23:25:50 +0000 uau Fix code updating subtitle array which only moved the text, not endpts.
Thu, 18 Jan 2007 14:50:32 +0000 eugeni In .srt, any line containing only spaces and tabs marks the end of the
Sun, 07 Jan 2007 12:06:48 +0000 reimar Document sub_add_text and sub_clear_text
Sat, 06 Jan 2007 19:07:58 +0000 reimar Subtitle handling cleanup: factor out code for parsing embedded subtitles
Wed, 18 Oct 2006 16:09:59 +0000 reimar redone subcp_recode: get rid of static buffer, skip lines that failed to
Mon, 18 Sep 2006 11:47:41 +0000 gpoirier Fix missleading msg printed when subcp_open is given NULL as parameter (like as demux_ogg and demux_mkv do)
Mon, 31 Jul 2006 17:39:17 +0000 ben introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
Thu, 27 Jul 2006 18:15:35 +0000 reynaldo corrects some casts that previously discarded the const qualifier. Patch by Stefan Huehner, stefan AT Huehner-org
Thu, 13 Jul 2006 20:59:18 +0000 reynaldo marks several function without a prototype which arent used outside its sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org
Sun, 09 Jul 2006 17:45:36 +0000 reynaldo Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
Fri, 07 Jul 2006 18:07:39 +0000 eugeni Split guess_cp() in two functions:
Sat, 01 Jul 2006 04:55:54 +0000 reynaldo this unrelated and erroneus change was applied on my previous commit, reverted
Sat, 01 Jul 2006 03:56:13 +0000 reynaldo rm unnecesary void* casts - part 1
Fri, 30 Jun 2006 04:09:29 +0000 reynaldo more sizeof(char) fun
Wed, 14 Jun 2006 11:19:39 +0000 gpoirier Fix problem when subtitle file name is shorter than ".utf-8"
Wed, 14 Jun 2006 11:17:21 +0000 gpoirier fix uninitialized pointer value being passed to open_stream, where it is used in comparison.
Thu, 18 May 2006 18:31:14 +0000 uau Use 0 and 1 instead of FRIBIDI_FALSE and FRIBIDI_TRUE which are no
Sun, 14 May 2006 22:06:59 +0000 rathann Fix:
Sun, 23 Apr 2006 04:33:09 +0000 reynaldo Part 4 of otvos attila's oattila AT chello-hu mp_msg changes, no modifications this time
Thu, 06 Apr 2006 03:27:20 +0000 reynaldo Acording to manpage -dumpmicrodvdsub dumps to dumpsub.sub not dumpsub.txt
Fri, 17 Mar 2006 23:38:46 +0000 iive if stream is not seekable calling enca would prevent the real parsing of subtitles.
Fri, 17 Mar 2006 19:39:30 +0000 henry 10l forgotten stream_reset to clear the EOF flag
Thu, 16 Mar 2006 19:16:07 +0000 albeu And 10L for me. Fix the forgoten enca_fd.
Thu, 16 Mar 2006 14:42:51 +0000 albeu Move the subread from FILE to stream_t.
Wed, 01 Jun 2005 09:01:41 +0000 reimar strdup subtitle filename at a more appropriate place, fixing memleaks and
Tue, 24 May 2005 08:42:20 +0000 henry more paranoid return value checking
Mon, 09 May 2005 18:28:41 +0000 henry strdup() of a NULL pointer, truckload of cola for me
Fri, 04 Feb 2005 18:31:04 +0000 faust3 bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
Mon, 18 Oct 2004 20:56:11 +0000 faust3 document global variables used with fribidi
Mon, 18 Oct 2004 20:41:06 +0000 faust3 correctly display the commas of most hebrew subtitles on the left side
Wed, 15 Sep 2004 13:16:52 +0000 faust3 This time is a patch to improve subtitle alignment management. It
Thu, 02 Sep 2004 12:18:36 +0000 faust3 subtitle autodetection regardles of case (bug #65), patches Michal Svec <rebel at atrey.karlin.mff.cuni.cz> and Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl>
Wed, 28 Jul 2004 12:40:35 +0000 reimar fixes a crash and unchecked string-handling in ENCA code.
Fri, 25 Jun 2004 16:49:53 +0000 diego string handling security fixes
Fri, 21 May 2004 16:02:09 +0000 henry 1e6l
Sun, 09 May 2004 22:15:54 +0000 rfelker more cola for jindrich
Sun, 09 May 2004 03:43:42 +0000 rfelker 1000000l for sig11 without -subcp!!! (and 1l for my first commit :)
Sat, 08 May 2004 17:52:25 +0000 henry ENCA support (http://trific.ath.cx/software/enca/)
Tue, 06 Apr 2004 11:52:31 +0000 alex MPL2 subreader, patch by Cezary Jackiewicz (cjackiewicz@poczta.onet.pl)
Tue, 06 Apr 2004 11:22:06 +0000 alex skip {...} parts in SAME subs, patch by Salvatore Falco
Thu, 29 Jan 2004 10:53:19 +0000 attila Fix the PJS (aka dunnowhat) subtitles
Sat, 24 Jan 2004 12:54:05 +0000 attila prevent subreader from segfaulting when sami subs dont have
Wed, 19 Nov 2003 01:41:27 +0000 luran 10l
Thu, 09 Oct 2003 18:47:16 +0000 faust3 sub autoloading fix for windows
Tue, 23 Sep 2003 05:36:47 +0000 atlka subtitles priority calculation correction
Mon, 22 Sep 2003 13:44:36 +0000 atlka corrected utf8 files autoselection
Sun, 21 Sep 2003 13:20:06 +0000 henry Subtitle alignment & smart splitting by Salvatore Falco
Tue, 02 Sep 2003 17:26:33 +0000 alex Jacosub files can have the extension '.js' too. Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
Mon, 25 Aug 2003 09:12:28 +0000 mosu Support for case insensitive string matching in SAMI subtitle files. Patch by Bruno Lecointre.
Sun, 17 Aug 2003 20:42:06 +0000 alex Fixes FriBiDi support and extends it with configure options. Patch by Raindel Shachar <raindel@techunix.technion.ac.il>
Sun, 10 Aug 2003 15:14:47 +0000 alex 10l
Sat, 09 Aug 2003 16:30:55 +0000 henry another attempt to fix the subtitle searching
Fri, 08 Aug 2003 23:26:48 +0000 henry some more cola - misplaced break
Mon, 28 Jul 2003 14:17:31 +0000 alex 1, micro-speedup 2, fixed 10l: only prefer utf8 if iconv is present
Sun, 27 Jul 2003 22:23:07 +0000 alex fix against dummy solaris sprintf, bug reported by Gotz Waschk
Sun, 20 Jul 2003 15:29:40 +0000 henry ASS support
Tue, 01 Jul 2003 09:29:31 +0000 atlka always treat .utf* files as UTF-8
Tue, 01 Jul 2003 08:49:14 +0000 atlka sub_utf8 fiddling
Tue, 01 Jul 2003 07:16:39 +0000 atlka small correction of sub_utf8 restoring between reading sub files
Fri, 27 Jun 2003 09:25:05 +0000 atlka prefer UTF-8 encoding subs and automatically recognize them by suffix
Wed, 25 Jun 2003 20:12:36 +0000 henry 10L
Sun, 01 Jun 2003 22:16:41 +0000 alex warning fixes by Dominik
Sat, 31 May 2003 17:33:33 +0000 alex unleak
Wed, 09 Apr 2003 20:49:12 +0000 henry cleanups/bugfixes
Wed, 09 Apr 2003 18:04:29 +0000 henry option for sub match fuzziness level
Wed, 09 Apr 2003 15:51:37 +0000 alex 10l fix by Salvatore Falco <salvatore.falco@katamail.com>
Tue, 08 Apr 2003 20:41:20 +0000 henry turn most of the subtitle matching fuzziness off by default
Mon, 07 Apr 2003 19:37:19 +0000 henry fix compilation without iconv
Mon, 07 Apr 2003 16:04:02 +0000 henry support for multiple subtitle files by Marcin Wojdyr <wojdyr@unipress.waw.pl>
Fri, 21 Mar 2003 16:54:03 +0000 alex hebrew support using fribidi libs, patch by Raindel Shachar <raindel@techunix.technion.ac.il>
Fri, 07 Feb 2003 21:12:50 +0000 arpi rt subtitle fixes
Sun, 02 Feb 2003 02:42:59 +0000 arpi compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
Tue, 28 Jan 2003 18:45:58 +0000 henry sub_utf8 handling hopefully fixed
Tue, 28 Jan 2003 18:28:09 +0000 arpi maybe fix ogm vs. iconv
Mon, 27 Jan 2003 23:41:56 +0000 arpi Add a command line option (-sub-no-text-pp) to disable subtitles
Tue, 21 Jan 2003 19:12:46 +0000 pontscho - add subcp
Sun, 19 Jan 2003 00:54:55 +0000 arpi 1) Removed the code to remove {} from sub_read_line_ssa
Mon, 13 Jan 2003 10:07:38 +0000 mosu bunkus: fixed a small bug with skipping "{...}" in ssa subs