Commit Graph

3262 Commits

Author SHA1 Message Date
Moritz Bunkus
854efa5f2b Updates. 2009-03-29 18:02:55 +02:00
Moritz Bunkus
9eacabbf88 Added support for TrueHD in MPEG program streams. 2009-03-29 18:02:03 +02:00
Moritz Bunkus
692042cfa4 Added TrueHD to the "File->Open" dialog's list of file extensions. 2009-03-29 17:32:18 +02:00
Moritz Bunkus
00767f5237 Cosmetics 2009-03-29 17:30:34 +02:00
Moritz Bunkus
af8cec8c2c Implemented the checksum verification for AC3 packets in TrueHD streams. 2009-03-29 17:30:03 +02:00
Moritz Bunkus
9bbe7fe225 Implemented CRC routines from ffmpeg. 2009-03-29 16:55:15 +02:00
Moritz Bunkus
b39d59e193 Use the samples-to-timecode-converter class for TrueHD. 2009-03-29 16:00:15 +02:00
Moritz Bunkus
dd76e8e751 Added a simple class for converting from number of samples to usec timecodes safely. 2009-03-29 16:00:00 +02:00
Moritz Bunkus
b46f34f0b4 Byte-swapped the AC3 sync word. 2009-03-29 13:19:14 +02:00
Moritz Bunkus
0bf84770c1 Preparation for handling AC3 CRCs in TrueHD streams. 2009-03-29 12:41:35 +02:00
Moritz Bunkus
04004a6f8c Fixed TrueHD channel counting.
Code taken from ffmpeg's libavcodec/mlp_parser.c
2009-03-28 12:45:39 +01:00
Moritz Bunkus
d09ad78dfa Do not throw away sync frames. 2009-03-28 12:26:47 +01:00
Moritz Bunkus
cab05e1fd6 Support for extracting TrueHD tracks. 2009-03-28 11:58:21 +01:00
Moritz Bunkus
cd303e685c Use smart pointers for storing TrueHD structures. 2009-03-28 11:46:03 +01:00
Moritz Bunkus
7a48fbe3e9 Fixed a small memory leak. 2009-03-28 11:44:14 +01:00
Moritz Bunkus
c58db53e32 Added the packetizer for TrueHD. 2009-03-28 11:32:00 +01:00
Moritz Bunkus
031d7dd81e Rewrote the "hacks" system from string-based to integer-based lookups. 2009-03-28 10:55:12 +01:00
Moritz Bunkus
33c5b9ca01 The beginning of TrueHD audio support
The parser and reader classes have been implemented.
The packetizer is missing. The code is untested.
2009-03-28 10:30:24 +01:00
Moritz Bunkus
8027e436cf make update-po 2009-03-25 23:36:16 +01:00
Moritz Bunkus
ceebc5be3f Make a copy of the value returned by gettext(). Otherwise a following call will overwrite the previous result. 2009-03-25 23:35:07 +01:00
Moritz Bunkus
c298400e46 Typo in the German translation. 2009-03-25 23:31:01 +01:00
Moritz Bunkus
b3523a3e3d mkvmerge is run with translations, so mmg has to look for translated strings in its output. 2009-03-25 23:28:56 +01:00
Moritz Bunkus
43f7edc3ae Fix timecode formatting in the job queue.
Also always use wxGetUTCTime() instead of time(NULL) or wxGetLocalTime()
in order to get proper timestamps.

Fix for bug 362.
2009-03-25 17:37:32 +01:00
Moritz Bunkus
5496f2b773 Only return fully-read timestamps.
If the bit_cursor_c throws an exception in the middle of
reading the timestamp then the "timestamp" variable used
to return the timestamp must not have been modified yet.

Fix for bug 337.
2009-03-24 23:09:01 +01:00
Moritz Bunkus
1320636f91 Bumped the version number to 2.6.0, set the release code name, added the release message to the ChangeLog. 2009-03-24 11:51:37 +01:00
Moritz Bunkus
1892531970 A run of "make update-po". 2009-03-24 11:49:39 +01:00
Moritz Bunkus
0033cf409d Rewrote loops over std::vector with integer looping instead of iterator looping. 2009-03-24 11:45:19 +01:00
Moritz Bunkus
4465d66ece Cosmetics: wxWidgets include files are system include files; use #include <> instead of #include "". 2009-03-23 23:10:00 +01:00
Moritz Bunkus
ee75273cbd Remove locale directories during upgrade and uninstallation.
The old "german" locale directory should be removed during upgrades.
The "de" and "ja" locale directories should be removed during uninstallation.
Fixes for bug 361.
2009-03-23 14:57:58 +01:00
Moritz Bunkus
012a497048 Update to the Japanese translation. 2009-03-23 14:14:16 +01:00
Moritz Bunkus
114dfd2bd0 Removed message about wxWidgets 2.8.
Due to the removal of wxTreebook wxWidgets 2.8 is not needed anymore.
2009-03-23 14:13:38 +01:00
Moritz Bunkus
515bca4a5f Revert "Remove wxWidgets 2.6 compatiblity options"
This reverts commit 5693b3d73a.
Due to the removal of wxTreebook 2.8 is not needed anymore.
2009-03-23 14:12:42 +01:00
Moritz Bunkus
aa69e26421 Revert "The header editor requires wxWidgets 2.8.0."
This reverts commit 1e88b396e1.
Due to the removal of wxTreebook 2.8 is not required anymore.
2009-03-23 14:12:10 +01:00
Moritz Bunkus
5c0bc93f9a Fixes for compilation with wxWidgets 2.6. 2009-03-23 14:10:54 +01:00
Moritz Bunkus
2ad228e792 Call mmg_app::init_ui_locale() a second time after the first window has been created on GTK builds.
GTK seems to call bindtextdomain() after our call to it.
So lets re-initialize the UI locale in case the user has
selected a language in mmg's preferences that doesn't match
his environment variable's language.
2009-03-23 11:53:38 +01:00
Moritz Bunkus
b9fcefc09a wxWidgets cannot wrap static texts around itself on Windows. So force line breaks at appropriate places. 2009-03-23 11:15:59 +01:00
Moritz Bunkus
47f647f2a8 Update to the Japanese translation. 2009-03-23 10:48:40 +01:00
Moritz Bunkus
ef98542eb1 Merge branch 'master' of file:///home/mosu/prog/video/mkvtoolnix 2009-03-23 10:47:36 +01:00
Moritz Bunkus
46c7b69017 Initialize the command line/STDIO charset converter with GetOEMCP() and the standard charset converter with GetACP() on Windows. 2009-03-23 10:43:57 +01:00
Moritz Bunkus
680a229003 Updates 2009-03-22 22:10:58 +01:00
Moritz Bunkus
6619a84688 Set an icon for the header editor window. 2009-03-22 22:08:54 +01:00
Moritz Bunkus
37968c0b00 Added a status bar to the header editor. 2009-03-22 22:05:12 +01:00
Moritz Bunkus
f7db4fbe36 Updates to the translations and fixed a typo. 2009-03-22 21:39:26 +01:00
Moritz Bunkus
5d073c619b Fixed the language selection.
The sorted_iso_codes array contains the full combobox entry including
the full name, but m_original_value is just the three-letter ISO code.
So the comparison has to be done with the extracted ISO code from
the full combobox entry.
2009-03-22 21:37:23 +01:00
Moritz Bunkus
353fd13fc6 Logic error: The page_id is a valid ID of a page on which an error occured.
So if page_id.IsOk() returns true then there is an error, otherwise there is none.
2009-03-22 21:30:37 +01:00
Moritz Bunkus
1f84e4e42f Keep track of top level pages in a separate container.
The header editor needs both: the list of all pages
and the list of top level pages. The former is used
when the tree selection changes for finding the correct
page to display. The latter is used for validation,
saving etc.
2009-03-22 21:27:41 +01:00
Moritz Bunkus
8eb755084a Do not let the user remove mandatory elements. 2009-03-22 21:17:47 +01:00
Moritz Bunkus
1013c0f911 Updates to the translations. 2009-03-22 20:53:37 +01:00
Moritz Bunkus
a1b6c495cf Freeze the page panel before hiding and showing a new panel when the tree selection changes
Otherwise the page panel will be redrawn twice (once empty and once with the new
page) which flickers annoyingly.
2009-03-22 20:48:33 +01:00
Moritz Bunkus
6f1e2ddf22 Do not show header editor pages after they're created.
Otherwise they will all be drawn at least once which looks bad
and which takes time.
2009-03-22 20:46:12 +01:00