Commit Graph

1997 Commits

Author SHA1 Message Date
Karl Blomster ee04563ff6 attempt at fixing the lavc audio skew problems by making very very sure all data in each packet is decoded.
Originally committed to SVN as r2094.
2008-03-21 20:30:34 +00:00
Karl Blomster 6d8f862aed cleanup of the lavc audio provider; renamed some variables, added some comments and restructured a bit. as an added improvement it will now no longer resample unless strictly necessary.
Originally committed to SVN as r2093.
2008-03-21 19:52:14 +00:00
Amar Takhar b060751cfe Update libass to r26265 from the MPlayer repo, I havn't checked all the changes
but one of the largest changes is that it now reads and uses Playres X/Y and the
video res so \mov works correctly now.

Originally committed to SVN as r2092.
2008-03-21 05:32:23 +00:00
Amar Takhar 005e32f3f5 Remove Makefile.in that was introduced in r1035, it should never have been added
in the first place.

Originally committed to SVN as r2091.
2008-03-21 05:05:46 +00:00
Amar Takhar b969f382c6 Remove old (legacy) variables that were commented out.
Originally committed to SVN as r2090.
2008-03-21 04:56:14 +00:00
Rodrigo Braz Monteiro 398da989f9 Fixed small OpenMP bug.
Originally committed to SVN as r2089.
2008-03-21 03:02:39 +00:00
Amar Takhar 21b3db9b2a Enable OpenMP globally, at amz's suggestion. (if this breaks things, it's his
fault.)

Originally committed to SVN as r2088.
2008-03-21 02:59:57 +00:00
Amar Takhar d71641db51 s/WIN32/__WINDOWS__/ to stop a define collision with universalchardet. This is
a temp solution as the real fix is sorting out universalchardet to build
correctly.

Originally committed to SVN as r2087.
2008-03-21 02:41:46 +00:00
Amar Takhar 2b730ac4fa Move charset_detect.h above text_file_reader.cpp, universalchardet is defining,
or undefining things that doesn't make fstream very happy.

Originally committed to SVN as r2086.
2008-03-21 02:22:00 +00:00
Amar Takhar 90e9e6fef1 Re-enable univerchardet (for now), also make it use STL rather than stdio (which
isn't complete)

Originally committed to SVN as r2085.
2008-03-20 22:24:28 +00:00
Rodrigo Braz Monteiro 735aebb393 Fixed a litle oops from last commit.
Originally committed to SVN as r2084.
2008-03-20 21:58:21 +00:00
Rodrigo Braz Monteiro db0cc24ae3 Originally committed to SVN as r2083. 2008-03-20 21:48:47 +00:00
Amar Takhar 1f23637cd2 Fix auto4/auto3 (lua51/lua50) support, this removes the --with-* flags in favor
of LUA_(C|LD)FLAGS and LUA50_(C|LD)FLAGS, also add the LUA LDFLAGS to LIBS like
perl in order to have it bring in the symbols properly, this is a temp measure
until we have modules.

Originally committed to SVN as r2082.
2008-03-20 21:24:01 +00:00
Niels Martin Hansen 9c85947f02 Scrap all the CImg stuff entirely.
Originally committed to SVN as r2081.
2008-03-20 02:40:18 +00:00
Rodrigo Braz Monteiro 4e2415a353 Added some commented out hackish code to test tesseract.
Originally committed to SVN as r2080.
2008-03-18 08:06:01 +00:00
Rodrigo Braz Monteiro b102ed05c1 Fixed dummy video provider and possibly fixed dvd sub generation.
Originally committed to SVN as r2079.
2008-03-18 05:24:21 +00:00
Rodrigo Braz Monteiro a7b73fc2da Renamed Gorgonsub into Athenasub.
Originally committed to SVN as r2078.
2008-03-18 03:44:00 +00:00
Rodrigo Braz Monteiro cd9d6f1cfb Some refactoring and a new way to read data.
Originally committed to SVN as r2077.
2008-03-18 02:09:33 +00:00
Rodrigo Braz Monteiro 39938d213a Implemented a multi-line modification action. Still a bit hacky, but works well.
Originally committed to SVN as r2076.
2008-03-17 07:19:33 +00:00
Rodrigo Braz Monteiro 18488241e8 Added a to-do list for gorgonsub.
Originally committed to SVN as r2075.
2008-03-17 02:50:15 +00:00
Rodrigo Braz Monteiro cd7bc441f4 A few more tweaks.
Originally committed to SVN as r2074.
2008-03-17 02:10:10 +00:00
Rodrigo Braz Monteiro 939b49b82d Further optimizations to UTF-8 saving code.
Originally committed to SVN as r2073.
2008-03-17 02:05:37 +00:00
Rodrigo Braz Monteiro c870465dee Added a few mostly unimplemented classes, and wrote my own custom (experimental) UTF-8 writer, which made writing UTF-8 subtitles almost twice as fast.
Originally committed to SVN as r2072.
2008-03-17 01:32:26 +00:00
Rodrigo Braz Monteiro 22b97b55d1 Updated ignores and added Aegisub ICL project.
Originally committed to SVN as r2071.
2008-03-16 18:22:45 +00:00
Rodrigo Braz Monteiro d99933ddd9 Fixed all Gorgonsub headers (mental note: namespaces don't end with a semi-colon) and added some VC9/ICL projects.
Originally committed to SVN as r2070.
2008-03-16 18:09:25 +00:00
Rodrigo Braz Monteiro 8e8f4bf530 Added a delta coder specific for ASS dialogue entries that seems (from very simple tests) to work. Warning: code not for the faint of heart.
Originally committed to SVN as r2069.
2008-03-16 06:41:23 +00:00
Rodrigo Braz Monteiro 072d747921 Some re-structuring of the ass parser in gorgonsub.
Originally committed to SVN as r2068.
2008-03-16 03:31:51 +00:00
Rodrigo Braz Monteiro fb1de2da07 Added a "modify line" action.
Originally committed to SVN as r2067.
2008-03-16 02:20:34 +00:00
Rodrigo Braz Monteiro 0a0f383b4a Added a small .cpp file (console program) to show how a pipeline is done in OpenMP.
Originally committed to SVN as r2066.
2008-03-16 00:32:42 +00:00
Rodrigo Braz Monteiro da0a10ce99 Modified the action system to be more OO.
Originally committed to SVN as r2065.
2008-03-15 22:02:16 +00:00
Niels Martin Hansen 3ead72329c Change default font encoding for new styles to 1, to make more fonts behave sensibly by default
Originally committed to SVN as r2064.
2008-03-15 21:34:55 +00:00
Rodrigo Braz Monteiro ca63097e90 Fixed UTF-16 support on gorgonsub, and, incidentally, it's ~20% faster than UTF-8.
Originally committed to SVN as r2063.
2008-03-15 08:36:52 +00:00
Rodrigo Braz Monteiro 16bcf0c942 Now loading 4.5 MB in 220 ms! :D
Originally committed to SVN as r2062.
2008-03-15 06:21:11 +00:00
Rodrigo Braz Monteiro e31b424064 Changed parsing of Time tags, which results in ~30% faster ASS loading.
Originally committed to SVN as r2061.
2008-03-15 04:28:47 +00:00
Rodrigo Braz Monteiro d6d3f8aecb Made gorgonsub's UTF-8/ASCII parser much faster, resulting in a 2x subtitles reading speedup for such files.
Originally committed to SVN as r2060.
2008-03-15 03:24:38 +00:00
Rodrigo Braz Monteiro 98d5794f20 Increased gorgonsub's ASS write speed with large files 3.5x by getting rid of wxString conversion and concatenation routines and writing my own.
Originally committed to SVN as r2059.
2008-03-15 00:29:17 +00:00
Niels Martin Hansen 2cbf0e587d Change a variable to size_t since that's what it should be.
Originally committed to SVN as r2058.
2008-03-14 19:42:13 +00:00
Niels Martin Hansen 426917c9a6 The progress dialogues should be centered on parent (too), certainly not on the primary monitor.
Originally committed to SVN as r2057.
2008-03-14 19:40:28 +00:00
Niels Martin Hansen 50ba0270a1 Adding a test of various features of the ASS format. Will make a render of it using VSFilter later on.
Originally committed to SVN as r2056.
2008-03-14 19:21:46 +00:00
Rodrigo Braz Monteiro fd8e6952da Added prefetching code to textfilereader, that presumably doesn't work because I'm working on a console.
Originally committed to SVN as r2055.
2008-03-14 08:00:55 +00:00
Rodrigo Braz Monteiro 78cb8f53ff Applied shurik's patch to hopefully fix Lua's linking issues on Linux.
Originally committed to SVN as r2054.
2008-03-14 06:17:32 +00:00
Rodrigo Braz Monteiro 108671175c Greatly improved I/O speed on gorgonsub
Originally committed to SVN as r2053.
2008-03-14 06:10:54 +00:00
Karl Blomster 521632cd9b changed output buffer size to AVCODEC_MAX_AUDIO_FRAME_SIZE which is what it's actually malloc()'ed as. might actually work now.
Originally committed to SVN as r2052.
2008-03-14 05:14:30 +00:00
Karl Blomster 56370f0f4a hurf de durf, didn't consider the fact that some audio packets might not have any actual content. return value of avcodec_decode_audio2() is now checked against < 0 again.
Originally committed to SVN as r2051.
2008-03-14 04:38:30 +00:00
Rodrigo Braz Monteiro 828ada86b0 Undo/redo on gorgon seem to work.
Originally committed to SVN as r2050.
2008-03-14 03:59:46 +00:00
Rodrigo Braz Monteiro 000271c087 Broken undo/redo stack on gorgonsub
Originally committed to SVN as r2049.
2008-03-14 03:33:27 +00:00
Rodrigo Braz Monteiro b073b7d28d Gorgonsub is now capable of doing some simple manipulation (i.e. line insertion).
Originally committed to SVN as r2048.
2008-03-14 02:02:48 +00:00
Rodrigo Braz Monteiro bb425f8a86 Renamed Aegilib to Gorgonsub.
Originally committed to SVN as r2047.
2008-03-13 21:28:22 +00:00
Rodrigo Braz Monteiro 72145e8fa8 Fixed some warnings on g++.
Originally committed to SVN as r2046.
2008-03-13 20:27:25 +00:00
Rodrigo Braz Monteiro cee958b2d3 Raised the warning level on MSVC8 to 4, and fixed several warnings caused by that.
Originally committed to SVN as r2045.
2008-03-13 19:12:55 +00:00