Commit Graph

2317 Commits

Author SHA1 Message Date
Moritz Bunkus
ac9c14b265 Cleanups & speed improvements for the MPEG video parser. Patch by Steve Lhomme (see AUTHORS). 2005-05-26 17:59:10 +00:00
Moritz Bunkus
64f306d8eb Updated the MSVC project files. Patch by Steve Lhomee (see AUTHORS). 2005-05-26 17:48:13 +00:00
Moritz Bunkus
26a3f6083e Removed unneeded commented-out code. 2005-05-26 16:50:10 +00:00
Moritz Bunkus
a25e565d35 After add_packet() the function's packet_t argument belongs to the lower layers, and it must not be reused. It's a considerable speed gain. 2005-05-26 16:46:32 +00:00
Moritz Bunkus
8a2dfc771a No double delete. 2005-05-26 11:25:27 +00:00
Moritz Bunkus
96c08ba235 Complete rewrite of the parameter passing between generic_packetizer_c::process() and generic_packetizer_c::add_packet(). Those functions use the packet_t structure. There are a couple of more or less small memory leaks left. Those will be addressed later. 2005-05-25 21:31:26 +00:00
Moritz Bunkus
8ef2a14e09 Make sure that a track has actually been selected before trying to modify its data. Fixes Anthill bug 133. 2005-05-23 20:52:45 +00:00
Moritz Bunkus
ab93eb7ce6 'yes' is not a boolean, of course. 2005-05-23 20:35:28 +00:00
Moritz Bunkus
3d91659766 Implemented the extraction of USF subtitles. 2005-05-23 20:24:08 +00:00
Moritz Bunkus
f50aef90ef Added a XML pretty printer class. 2005-05-23 20:23:23 +00:00
Moritz Bunkus
d156b7e8cc Parse the <language> node of the <metadata> node as well instead of simply copying <metadata>. This is used as the default language if the <subtitles> node doesn't contain a valid <language> node. 2005-05-23 20:22:24 +00:00
Moritz Bunkus
b034ec2188 Moved the XML node name creation function into common.cpp. Escape the contents the XML way before putting them into CodecPrivate or the data blocks. 2005-05-22 17:40:11 +00:00
Moritz Bunkus
cbe0a25c38 Set the default compression method in the packetizer. Otherwise it would have to be set in each reader. 2005-05-22 10:05:03 +00:00
Moritz Bunkus
dce6b8c2ea The duration is not the end ;) 2005-05-22 08:30:32 +00:00
Moritz Bunkus
9a9029c27b Strip the <subtitle> ... </subtitle> tags for the data blocks. 2005-05-22 08:26:35 +00:00
Moritz Bunkus
8684a2289e Implemented the rest of the muxing process: creating the packetizers, handling the language, passing the data to the packetizer, sorting the entries. Removed all of the debug output, too. 2005-05-22 07:22:37 +00:00
Moritz Bunkus
77f39e7a2b Added an entry for USF subtitles to the "add file" dialog. 2005-05-22 07:20:28 +00:00
Moritz Bunkus
b887cde4a2 Slightly improved error message if a demultiplexer does not initialize properly. 2005-05-21 21:24:03 +00:00
Moritz Bunkus
4263140f14 The beginning of an USF parser. Implemented basic file parsing so that the private data and each entry is already available. Start and end timecodes are already stripped from the entries but not parsed yet. A lot of debug output, and there is no packetizer yet -- so only identifying a file works for the moment. Language processing is not implemented yet either. 2005-05-21 18:09:39 +00:00
Moritz Bunkus
99d2e62869 Enhanced the escape_xml function to escape quotes if necessary. 2005-05-21 18:07:29 +00:00
Moritz Bunkus
01c0480771 Use separate exceptions for errors thrown by mm_io_c and its children. 2005-05-21 16:30:58 +00:00
Moritz Bunkus
447db3e04a VobSub extraction has been purposefully changed by commit 2915. 2005-05-20 14:24:15 +00:00
Moritz Bunkus
0a3f88b6d7 Pad MPEG packets up to 2048 bytes for VobSub extraction because some programs depend on it. Patch by Mike Matsnev <mike () po !cs ! msu ! su> 2005-05-17 17:39:00 +00:00
Moritz Bunkus
596d11ae2f Moved the XML mapping table initialization completely into the xml_element_map_init() function. 2005-05-07 16:26:30 +00:00
Moritz Bunkus
d08be3d074 Stupid buffer overflow... 2005-05-07 15:59:08 +00:00
Moritz Bunkus
ece399a299 Removed the restriction of having a maximum of ten levels of nesting for Matroska elements. 2005-05-07 15:32:50 +00:00
Moritz Bunkus
3a975f4798 Properly set the state of all radio buttons when a project file is loaded. This also affects what happens when "File -> new" is selected. On Windows "split by time" was not selectable anymore after "File -> new" if it had been selected before. Fixes Anthill bug 131. 2005-05-07 15:11:51 +00:00
Moritz Bunkus
00c0cb47cb The default value for "MaxBlockAdditions" has been changed from 1 to 0 in order to match the specs. 2005-05-05 14:58:14 +00:00
Moritz Bunkus
e8cdd29702 Output text lines with new lines according to the OS (\r\n on Windows, \n on all other systems). 2005-05-05 14:51:30 +00:00
Moritz Bunkus
8cca15fa07 Strip newlines at the end of the "Format=" line. Otherwise the fields wanted might not be found and would be missing in the output. 2005-05-05 14:38:08 +00:00
Moritz Bunkus
b5c4d29c18 Rebuilding the Debian package against wxWidgets 2.4 because 2.5 was removed due to licensing issues. 2005-05-03 16:27:20 +00:00
Moritz Bunkus
3f8deaba4a Added the ChapterSegmentUID element to the chapter XML files. 2005-05-03 11:22:14 +00:00
Moritz Bunkus
bc804cd917 Ups, wrong position for that variable. 2005-05-02 14:58:39 +00:00
Moritz Bunkus
bb924c0038 Added the Windows implementation of the "improved" random number generation. 2005-05-02 14:55:09 +00:00
Moritz Bunkus
432d6a3596 Improved random number generation (lacking the Windows implementation which will come next). 2005-05-02 13:50:23 +00:00
Moritz Bunkus
b53de99588 Improved the support for native MPEG-4 (it actually works for three files now). Renamed a couple of function parameters in the process and moved the memory_c class into the "common" subdir. 2005-05-02 12:36:51 +00:00
Moritz Bunkus
4ea7287e08 Grammar. 2005-05-01 09:32:45 +00:00
Moritz Bunkus
37910a3c8f Support WAV files that use other RIFF chunks than the usual "fmt " followed by "data" by simply skipping those. 2005-04-29 08:56:01 +00:00
Moritz Bunkus
9340c97515 Actually check the output of parse_aac_data so that invalid codec data will not go unpunished. 2005-04-28 14:51:25 +00:00
Moritz Bunkus
9e6a80158e Refuse AAC codec data where the profile id is 0. 2005-04-28 14:50:43 +00:00
Moritz Bunkus
7aaa57b0e0 Safer handling of closing files. Also accept text files with a length < 4 bytes and don't segfault on them ;) 2005-04-25 12:24:49 +00:00
Moritz Bunkus
1f80ec1867 Typos by copy & paste. Noticed by Andre Hinrichs < andre ! hinrichs () gmx ! de >. Fixes Anthill bug 129. 2005-04-25 09:47:44 +00:00
Moritz Bunkus
e400678a73 Added an option to configure, --disable-flac, for forcefully disabling compilation with FLAC support. Patch by Diego Pettenò <flameeyes () gentoo ! org>. 2005-04-19 07:19:10 +00:00
Moritz Bunkus
1097c66ae8 In case of remuxing MPEG-1/-2 video tracks from Matroska files simply hand the frames over as they are without sending them through the MPEG frame detection code. 2005-04-18 08:11:40 +00:00
Moritz Bunkus
f28bf0bafe Included the release message. 2005-04-16 11:33:59 +00:00
Moritz Bunkus
9012ba609b I/P frames were freed to early after a cluster has been rendered resulting in unresolvable brefs. 2005-04-16 10:53:18 +00:00
Moritz Bunkus
c1d2c53d58 Hopefully fixed compilation with MSC which doesn't know va_copy but which allows using a va_list with a consumer function more than once. 2005-04-11 10:47:01 +00:00
Moritz Bunkus
ed3a1f4a53 Cache the file position instead of querying it all the time. 2005-04-10 09:07:45 +00:00
Moritz Bunkus
444cecc212 Bumped the version number and set the version codename. 2005-04-09 17:36:20 +00:00
Moritz Bunkus
78f13d2bc1 A va_list is undefined after a call to a consumer function like vsprintf. Therefore it has to be copied if it will be used multiple times. This was working on most 32bit systems but not on AMD64 anymore. Fixes Anthill bug 120. 2005-04-09 17:11:50 +00:00