Commit Graph

1225 Commits

Author SHA1 Message Date
Moritz Bunkus
046d7dd61e Made the chapter parser for simple/OGM style chapters honour the default values for language and country. 2003-12-29 18:43:11 +00:00
Moritz Bunkus
d7672f8566 Calculate the timecode for the current packet: adjust the number of samples processed at the right time. 2003-12-29 18:27:59 +00:00
Moritz Bunkus
5739076d14 Assume MPEG2 for SPU packets which do not have a valid MPEG version identifier. 2003-12-29 18:26:24 +00:00
Moritz Bunkus
350996f7f3 Made "don't link" the default. 2003-12-29 18:25:36 +00:00
Moritz Bunkus
0160e4a633 More work on the native B frame issue. Algorithm is like this: Always keep two reference frames if possible. The bref_frame is rendered as soon as it is set. The fref_frame and the queued B frames are only rendered in flush_frames(). flush_frames() is called before the timecode for the current frame is calculated which is needed because of the P frame timestamps - for P frames the frames_output counter is only increased in flush_frames because the following B frames need to have the timecode of "I+1". 2003-12-28 00:50:56 +00:00
Moritz Bunkus
9934ce4e17 Added "native B frame support" as a hack for the time being. Used proper strcmp and not == for hack detection (using == for "const char *" comparison is STUPID! /me slaps $self). 2003-12-28 00:48:30 +00:00
Moritz Bunkus
c33bbe79de Fixed the rerender_headers function to properly calculate the EbmlVoid size after the track headers. 2003-12-27 17:52:18 +00:00
Moritz Bunkus
7e2456b472 Compatibility fix (leftover from wxWin 2.2). 2003-12-23 15:28:21 +00:00
Moritz Bunkus
3692d9d242 Removed the translation of paths reported by wx-config - it was only due to my wrong wxWindows installation on my Windows system. 2003-12-23 15:27:40 +00:00
Moritz Bunkus
f39a3e4e3d More work on B frame handling (deactivated). 2003-12-23 15:00:00 +00:00
Moritz Bunkus
eb52ba8d0b Introduced a new method of re-rendering the headers (not yet tested!). New per packet freeing decision by adding another parameter to cluster_helper's add_packet. 2003-12-23 14:55:41 +00:00
Moritz Bunkus
632a6f861d Also assume SBR if the sampling frequency is < 44100 even if only the 2 byte identifier is used. 2003-12-23 12:11:59 +00:00
Moritz Bunkus
4bf8041122 Unfinished array of track types let mkvextract access wrong memory regions when extracting FLAC files. 2003-12-22 21:58:32 +00:00
Moritz Bunkus
3a491c1a86 Forgot to initialize the debug data. 2003-12-21 10:03:43 +00:00
Moritz Bunkus
ef36a0d382 Removed syskin's code as I don't need it anymore. 2003-12-21 08:23:28 +00:00
Moritz Bunkus
6dcf793afc Added a flush() function to the packetizers and made all readers call flush on all packetizers once they don't have any data left for them. 2003-12-21 00:32:07 +00:00
Moritz Bunkus
1c8b65e13f New approach at detecting MPEG4 frame types without Syskin's code. 2003-12-20 17:04:46 +00:00
Moritz Bunkus
9e0134e229 Added "peek_bit*" functions that won't advance the byte cursor. Made the seek function set out_of_data for seeks to the end or further. 2003-12-20 17:03:22 +00:00
Moritz Bunkus
132e344d6c If the track name or language was present in the output of "mkvmerge --identify-verbose" but empty then mmg would access a non-existent array entry. 2003-12-17 19:16:22 +00:00
Moritz Bunkus
482a3108d6 Added full language names for all languages. 2003-12-15 17:51:58 +00:00
Moritz Bunkus
6aa9387d0e Automatically select the first track when a file has been selected. Automatically focus the track name input box on track selection. 2003-12-15 17:35:02 +00:00
Moritz Bunkus
38b8f36755 Automatically focus the chpater name input box on chapter entry selection. 2003-12-15 16:57:36 +00:00
Moritz Bunkus
8e457e2362 Escape the chapter names when writing to XML files. 2003-12-15 13:15:49 +00:00
Moritz Bunkus
669fcf7698 First attempts at MPEG4 bitstream unpacking. 2003-12-13 17:05:24 +00:00
Moritz Bunkus
27704440f8 Other defines for endian stuff. 2003-12-13 17:02:52 +00:00
Moritz Bunkus
5725357039 Wrong CodecID for MP2 tracks for the second and all following files when splitting files. 2003-12-12 14:21:27 +00:00
Moritz Bunkus
ea5ef09a28 The generic_packetizer_c::set_*() functions also set the track_entry data if a track_entry has already been allocated. 2003-12-12 14:20:52 +00:00
Moritz Bunkus
9eae417fcf Compilation fix for some systems. 2003-12-12 08:57:23 +00:00
Moritz Bunkus
233c8358a6 Forgot to add the menu file. 2003-12-11 20:54:22 +00:00
Moritz Bunkus
d1e84b0154 Removed unnecessary configure options. 2003-12-11 20:46:54 +00:00
Moritz Bunkus
47ad565928 Added a menu. Readded dh_installdocs. 2003-12-11 20:43:16 +00:00
Moritz Bunkus
16b4b144ab Bumped version number to 0.7.9. 2003-12-11 18:30:19 +00:00
Moritz Bunkus
c84ad655de When splitting the headers would not be set for the second and following output files due to my changes to the track_info_t -> track_info_c. 2003-12-08 12:17:02 +00:00
Moritz Bunkus
ba16d6ad91 Proper report of the track type for OggFLAC. 2003-12-08 11:51:47 +00:00
Moritz Bunkus
456d0cd660 Proper initialization for async. 2003-12-08 11:49:50 +00:00
Moritz Bunkus
c9c4197571 Removed debug output. 2003-12-05 21:38:06 +00:00
Moritz Bunkus
e5d2a5ac48 Updates 2003-12-05 17:23:46 +00:00
Moritz Bunkus
c7387a85f0 Set the thread priority to "below normal" on Windows. 2003-12-05 16:43:54 +00:00
Moritz Bunkus
9f29de1932 Fixes for Windows. 2003-12-05 16:31:57 +00:00
Moritz Bunkus
d955b13aee Removed the Ctrl-v and Ctrl-c accelerators. Added an option for creating an option file. 2003-12-05 14:51:56 +00:00
Moritz Bunkus
29266640b6 Changed from direct command line to option file usage. 2003-12-05 14:42:09 +00:00
Moritz Bunkus
5075aa7ebc Use negative track IDs for mkvmerge -i and Ogg files. Allow negative track IDs in --track-order for the same reason. 2003-12-05 12:04:54 +00:00
Moritz Bunkus
6d1d3e928e Allocate memory for parsed command line properly. 2003-12-05 11:29:54 +00:00
Moritz Bunkus
165a8c0a6e Off by one error due to the introduction of --track-order. 2003-12-05 11:29:32 +00:00
Moritz Bunkus
9c62c7e177 Added "up" and "down" buttons for the tracks, too. 2003-12-04 19:34:20 +00:00
Moritz Bunkus
1e1ebf4944 Added a "set output file" menu option which does the same as the "browse" button. 2003-12-04 19:09:08 +00:00
Moritz Bunkus
ce93bc12d7 Added the "--track-order" option allowing the user to modify the order in which tracks are created in the output file. 2003-12-04 18:56:52 +00:00
Moritz Bunkus
fab85e6e04 The "AAC is SBR" check box was grayed out for AAC inside MP4. 2003-12-04 18:04:38 +00:00
Moritz Bunkus
127e27ccfe Forgotten part of the track_info_t to track_info_c conversion. 2003-12-04 16:08:40 +00:00
Moritz Bunkus
adeda19e26 Converted track_info_t into a class and unified the duplication/freeing of its data. 2003-12-04 14:36:24 +00:00