Commit Graph

47 Commits

Author SHA1 Message Date
Moritz Bunkus
f936c2176a Even more and better debugging stuff. 2003-05-26 21:49:11 +00:00
Moritz Bunkus
690dd7de77 Added a lot of debugging thingies. 2003-05-25 15:35:39 +00:00
Moritz Bunkus
507b4a9882 Added --no-lacing. 2003-05-23 10:21:31 +00:00
Moritz Bunkus
0efc5f877b gcc2 compatibility fixes. Removed a lot of unnecessary static_casts. 2003-05-21 22:17:33 +00:00
Moritz Bunkus
c1f3e862f5 Removed whitespaces at the end of the line. 2003-05-20 06:30:25 +00:00
Moritz Bunkus
b930030e06 Beautified the author tag. 2003-05-18 20:57:08 +00:00
Moritz Bunkus
5bcd171ddb Allowed add_packet() not to duplicate the data it receives if the packetizer already did that. 2003-05-11 12:41:53 +00:00
Moritz Bunkus
ab33d952ab Proper handling of the "default track" flag. 2003-05-11 09:05:55 +00:00
Moritz Bunkus
a2cd498f72 Removed LL postfixes on constants. gcc 3.2 does not need them, VC6 does not recognize them, so just ditch them :) 2003-05-08 18:46:25 +00:00
Moritz Bunkus
3a86be1dba Proper aspect ratio support for the Matroska reader. 2003-05-06 10:22:55 +00:00
Moritz Bunkus
3ce62ed6ba Added support for aspect ratio. 2003-05-06 09:59:37 +00:00
Moritz Bunkus
fe968c400a Implemented durations for each packet, but only those packets that really need them (forced by the packetizer) or that are the last packet for a track (forced by mkvmerge itself) get a KaxBlockDuration element. 2003-05-06 07:51:24 +00:00
Moritz Bunkus
cf590910fb Reversed the direction of the data requests. Each packetizer is asked to fill itself. The packetizer calls its reader which reads data and makes sure that every packetizer has at least one packet. 2003-05-05 21:55:02 +00:00
Moritz Bunkus
0dad551cfc Removed my own queue class in favor of the standard deque class. 2003-05-05 20:48:49 +00:00
Moritz Bunkus
f53036d5d9 Introduced result checking memory handling functions (safe*). 2003-05-05 18:37:36 +00:00
Moritz Bunkus
1697ca7fb9 Support for keeping the TrackUID when reading a Matroska file. 2003-05-03 20:22:18 +00:00
Moritz Bunkus
f78758f3d3 Moved the header rendering (including the header settings of the packetizers) to after the argument parsing. 2003-05-02 21:49:42 +00:00
Moritz Bunkus
9ea37ba0e0 Proper internal handling of the language code. 2003-05-02 20:34:48 +00:00
Moritz Bunkus
9a5ed644f1 Support for KaxTrackLanguage and ISO639 languages. 2003-05-01 22:38:54 +00:00
Moritz Bunkus
36820f38c1 Fixes needed for compilation with gcc 3.2 2003-04-30 18:55:22 +00:00
Moritz Bunkus
b29c9d619f Support for moving the bits per sample from the CodecID to KaxAudioBitDepth. 2003-04-29 16:23:12 +00:00
Moritz Bunkus
93343d9101 Support for random unique track UIDs. 2003-04-27 09:14:47 +00:00
Moritz Bunkus
2a1f1d7902 Support for the mandatory KaxTrackUID. Cosmetics. 2003-04-26 11:26:15 +00:00
Moritz Bunkus
35cc418a12 Support for the "default" flag via a switch "--default-track". 2003-04-21 08:29:50 +00:00
Moritz Bunkus
1f2f6dfe8f Options for cue entry creation for each individual file. 2003-04-20 14:59:33 +00:00
Moritz Bunkus
b6d1cf30da Cue data is only generated for I-frames of video tracks. Fixes for the switch from IDs for packets to their timecodes: 0 is a valid timecode/reference, so -1 must be used for "not set". 2003-04-18 14:27:07 +00:00
Moritz Bunkus
21f55336de Introduced common header helper functions that simplify header settings for the packetizers. 2003-04-18 12:00:46 +00:00
Moritz Bunkus
08efd315f9 Reversed the relationship between q_c and generic_packetizer_c: q_c is now the father of generic_packetizer_c. 2003-04-18 10:28:14 +00:00
Moritz Bunkus
12c4954fc7 Moved the cluster helper to its own files. Moved a lot of other stuff into the appropriate header files. 2003-04-18 10:08:24 +00:00
Moritz Bunkus
9be699cf37 Renamed all timestamps to timecodes. 2003-04-18 08:42:20 +00:00
Moritz Bunkus
37533d37ac Fixed cueue creation/updates. 2003-04-17 19:33:02 +00:00
Moritz Bunkus
f9fe04d85d Support for writing the correct KaxCues. 2003-04-17 18:15:18 +00:00
Moritz Bunkus
7110bffe93 KaxInfo are now rendered correctly and filled with useful information (KaxTimecodeScale and KaxDuration). The latter is updated after writing the complete file in order to have the correct length available. 2003-04-17 17:01:11 +00:00
Moritz Bunkus
a18523c022 Removed the "rendered" flag from the packets as the clusters already contain such a flag. Speedup by storing the last freed reference ID in the packetizer. This way the cluster/packet list is only walked after rendering a cluster and not for each packet that is being added. 2003-04-17 13:27:29 +00:00
Moritz Bunkus
e07def75a6 Mandatory fixes for the new libmatroska code: Timecodes are always absolute and in ns; AddFrame is called on clusters not on block groups anymore; cluster timecodes do not have to be set manually anymore. New variable for the packets: "rendered" which is set to 1 as soon as AddFrame has been called for that packet. 2003-04-17 12:27:17 +00:00
Moritz Bunkus
5dd9fab7a0 libebml now takes absolute timecodes for AddFrame. 2003-04-13 15:44:27 +00:00
Moritz Bunkus
36a29fd086 Changed all u_int64_t to int64_t. Some crappy MS compilers obviously cannot convert u_int64_t to double. And I do not need them that badly. 2003-04-13 15:23:03 +00:00
Moritz Bunkus
6b1feb6015 Put all track relevant variables into a struct that is passed down from mkvmerge to the readers and from them to the packetizers. 2003-03-05 13:51:20 +00:00
Moritz Bunkus
a6488d0cb0 Changed all pointers to general data to unsigned char * 2003-03-04 10:16:28 +00:00
Moritz Bunkus
63d88126fc Removed debug output and other useless stuff. 2003-03-01 16:19:36 +00:00
Moritz Bunkus
49562e38c9 Removed the unused last_group. 2003-03-01 16:18:21 +00:00
Moritz Bunkus
c5e4e6c698 Finally fixed the cluster cashing. No more needs for callback functions for the packetizers. References implemented. 2003-02-28 14:50:04 +00:00
Moritz Bunkus
70502c11bb Even more improved cluster caching/freeing system. 2003-02-28 13:01:29 +00:00
Moritz Bunkus
97a8decce1 New cluster caching system. 2003-02-27 19:51:53 +00:00
Moritz Bunkus
244b5bfd2d Implementing references. First step. Not working. 2003-02-27 09:35:55 +00:00
Moritz Bunkus
925b391d8e added support for external WAV files. Still crashes the mplayer playback, but I do not know which part to blame. 2003-02-24 12:31:17 +00:00
Moritz Bunkus
4fffa8f2e0 some generic functions for the readers/packetizers 2003-02-21 09:26:40 +00:00