Commit Graph

3235 Commits

Author SHA1 Message Date
Moritz Bunkus
a401fedd29 Fix for compilation on Windows. 2009-05-06 20:05:45 +02:00
Moritz Bunkus
40fc864e02 Moved the set_process_priority function to common.cpp.
Also mkvinfo and mkvextract use it instead of using nice() directly.
2009-05-06 19:56:22 +02:00
Moritz Bunkus
c0d837ad7f Moved a couple of character conversion functions to locale.h/cpp. 2009-05-06 14:54:38 +02:00
Moritz Bunkus
afd1cad35e Compilation fixes for 3f5150b92c. 2009-05-06 14:34:11 +02:00
Moritz Bunkus
8fa8ef88f1 Compilation fixes for 3f5150b92c. 2009-05-06 14:03:00 +02:00
Moritz Bunkus
3f5150b92c Split the files src/common/common.h and src/common/common.cpp into several smaller ones.
Also a lot of cosmetic improvements. I fully expect this commit to break compilation on other systems. This will be fixed later.
2009-05-06 12:33:52 +02:00
Moritz Bunkus
468dec7039 Added "60000/1001" as an option to the "FPS" drop down box. 2009-05-03 22:53:06 +02:00
Moritz Bunkus
6c3ee7e353 Cosmetics. 2009-05-03 19:59:52 +02:00
Moritz Bunkus
fdbfbd50d7 Cosmetics.
1. Prefixed member variables with "m_".
2. Prefixed elements from the std namespace with an explicit "std::".
3. Dead code removal.
4. Other cosmetics.
2009-05-03 19:26:22 +02:00
Moritz Bunkus
28edff8285 Added support for reading framed AVC tracks from AVI files.
Such tracks are stored inside AVI as they are in MP4 or Matroska
files: no NALU start codes but with size fields; AVCC is part
of the track private data (located behind the BITMAPINFOHEADER
structure in case of an AVI).

Fix for bug 331.
2009-04-30 19:38:26 +02:00
Moritz Bunkus
3457462246 Cosmetics. 2009-04-30 19:37:07 +02:00
Moritz Bunkus
c0f2ee61ee Throw an exception if seeking to invalid positions is requested in the memory IO class. 2009-04-30 19:34:47 +02:00
Moritz Bunkus
11ba305d6e Provide get_uint_le/be routines for arbitrary numbers of bytes between 1 and 8. 2009-04-30 19:32:18 +02:00
Moritz Bunkus
6a9d001ebf Ignore certain "selection changed" events in the header editor when the whole list is updated.
This causes an old page to be shown on Windows rendering the new pages inaccessible.
Fix for bug 372.
2009-04-29 19:22:12 +02:00
Moritz Bunkus
eb02423227 Use the full installation path to mkvmerge.exe on Windows. 2009-04-29 16:38:35 +02:00
Moritz Bunkus
ce2cb604a5 Updated the Japanese translation. 2009-04-28 20:05:48 +02:00
Moritz Bunkus
f78d84da83 Merge branch 'master' of ssh://git.bunkus.org/~/mkvtoolnix
Conflicts:

	ChangeLog
	po/de.po
2009-04-27 23:13:51 +02:00
Moritz Bunkus
a019b91db3 Added an option for clearing all inputs after a successful muxing run. 2009-04-27 23:10:09 +02:00
Moritz Bunkus
ab8bc42ab2 Cosmetics. 2009-04-27 22:39:59 +02:00
Moritz Bunkus
0d478c7ce8 Cosmetics. 2009-04-27 22:36:35 +02:00
Moritz Bunkus
5f7d53b56e Made the AAC detection code stricter.
The code now requires five consecutive identical AAC headers
instead of just two arbitrary headers. This fixes mis-detection

issues, e.g. those of bugs 373 and 374.
2009-04-25 13:13:48 +02:00
Moritz Bunkus
e820f7e390 Intentional updates due to c1f2d2d. 2009-04-25 12:32:23 +02:00
Moritz Bunkus
af412fb15f Cosmetics. 2009-04-25 11:08:34 +02:00
Moritz Bunkus
fb43e5e43c Cosmetics. 2009-04-25 11:08:08 +02:00
Moritz Bunkus
64b6a5d329 Update to the Japanese translation. 2009-04-21 09:41:15 +02:00
Moritz Bunkus
1fec941ea9 Output the frame position for each frame in summary mode with verbosity level 1 and higher. 2009-04-21 00:14:39 +02:00
Moritz Bunkus
c1f2d2d6ba Do not subtract the timecode offset from the special value "-1" which means "no reference".
Fix for bug 371.
2009-04-16 22:36:09 +02:00
Moritz Bunkus
68a8b4c2a5 Fix for outputting timecodes in summary mode.
1. The formatted timecodes for SimpleBlock elements were too small by a factor of 1000000.
2. Output all timecodes with three decimal digits.
2009-04-16 22:27:25 +02:00
Moritz Bunkus
accc1d28c8 Do not overwrite the duration for some track types.
Subtitle and button tracks must preserve their duration even
if an external timecode file is used. Otherwise each subtitle
frame's duration is set to the difference between the next
frame's timecode and the current frame's timecode.

Fix for bug 286.
2009-04-15 16:40:07 +02:00
Moritz Bunkus
402a679f5c Removed the option "always use simple blocks" from the preferences dialog. 2009-04-15 13:10:25 +02:00
Moritz Bunkus
a938f662d1 Updates 2009-04-14 20:36:02 +02:00
Moritz Bunkus
c573ecea0e Set the version number, added the release message, set the release codename. 2009-04-14 19:51:32 +02:00
Moritz Bunkus
d4dca302d8 mkvtoolnix requires boost v1.32 or later for tribools. 2009-04-14 19:51:14 +02:00
Moritz Bunkus
842d23539d Refactoring.
Split one big function into several smaller ones.

Do not use integer variables with fixed widths were it is not neccessary or indicated by the file format.
2009-04-13 20:51:17 +02:00
Moritz Bunkus
5e970251ed Update to the Japanese translation. 2009-04-13 17:58:57 +02:00
Moritz Bunkus
1e3c269f66 Enabled the use of SimpleBlock elements by default.
The old hack "use_simpleblock" has been renamed to "no_simpleblock"
which will prohibit the use of SimpleBlock elements.
2009-04-13 16:30:52 +02:00
Moritz Bunkus
302a8e1d68 Removed old "- 1" debug code that causes problems now. Added new debug code (informational only). 2009-04-12 11:49:14 +02:00
Moritz Bunkus
9f2e065c65 Use handle_common_cli_args() in mmg as well. Use debugging_requested() instead of arbitrary environment variables. 2009-04-12 11:33:34 +02:00
Moritz Bunkus
3c92ec468f Do not do anything if the new void element is supposed to be 0 bytes long. 2009-04-12 11:06:17 +02:00
Moritz Bunkus
9fb69fe9bf Updated the Japanese translation and fixed a spelling mistake. 2009-04-11 17:02:15 +02:00
Moritz Bunkus
a74e7e927d Updated the translations. 2009-04-11 15:40:32 +02:00
Moritz Bunkus
f8fbb07ff3 Added support for the "forced track" flag in mmg. 2009-04-11 15:37:24 +02:00
Moritz Bunkus
201c40e7b6 Added support for the "forced track" flag in mkvmerge. Fix for bug 128. 2009-04-11 14:04:51 +02:00
Moritz Bunkus
e1956f9d40 Use the boost::logic::tribool class for tri state logic. Removed unused code. 2009-04-11 13:30:04 +02:00
Moritz Bunkus
dee548cbb3 Updates 2009-04-11 11:01:16 +02:00
Moritz Bunkus
246578c389 kax_analyzer_c: Fix for the situation "not enough space for an EbmlVoid element" when overwriting elements
1. API change: kax_analyzer_c::read_element() does not need the EbmlCallbacks parameter anymore as it finds them itself via the EbmlId contained in the analyzer_data_c parameter.
2. When the analyzer is supposed to write an EbmlVoid element but has not enough space for it ( = only one byte available) then it will not write a zero byte because most parsers do not cope with that well. Instead it will rewrite the following element's ID and size headers one byte earlier and extend the size header by one byte. This should be compatible with most parsers.
2009-04-11 10:59:37 +02:00
Moritz Bunkus
04e5e18a2b An EbmlVoid element only needs two bytes, not five. 2009-04-10 22:24:48 +02:00
Moritz Bunkus
6a9390c586 Merge branch 'master' of file:///home/mosu/prog/video/mkvtoolnix 2009-04-10 22:06:01 +02:00
Moritz Bunkus
88e6a549c8 The EBML and Matroska libraries will be linked statically from now on. 2009-04-10 22:05:16 +02:00
Moritz Bunkus
8abbaad562 Fixed a spelling mistake.
Fix for bug 366.
2009-04-10 17:40:07 +02:00