mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
added dummy KaxCues in order to make it compile with the latest CVS
This commit is contained in:
parent
d50b2de695
commit
f5f71ca740
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file
|
\file
|
||||||
\version \$Id: mkvmerge.cpp,v 1.7 2003/02/17 11:33:50 mosu Exp $
|
\version \$Id: mkvmerge.cpp,v 1.8 2003/02/19 11:08:01 mosu Exp $
|
||||||
\brief command line parameter parsing, looping, output handling
|
\brief command line parameter parsing, looping, output handling
|
||||||
\author Moritz Bunkus <moritz @ bunkus.org>
|
\author Moritz Bunkus <moritz @ bunkus.org>
|
||||||
*/
|
*/
|
||||||
@ -46,6 +46,7 @@
|
|||||||
#include "KaxClusterData.h"
|
#include "KaxClusterData.h"
|
||||||
#include "KaxBlock.h"
|
#include "KaxBlock.h"
|
||||||
#include "KaxBlockAdditional.h"
|
#include "KaxBlockAdditional.h"
|
||||||
|
#include "KaxCues.h"
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "queue.h"
|
#include "queue.h"
|
||||||
@ -795,6 +796,7 @@ void add_to_index(int serial, ogg_int64_t granulepos, int64_t filepos) {
|
|||||||
|
|
||||||
int write_packet(packet_t *pack, filelist_t *file, StdIOCallback *out) {
|
int write_packet(packet_t *pack, filelist_t *file, StdIOCallback *out) {
|
||||||
KaxCluster cluster;
|
KaxCluster cluster;
|
||||||
|
KaxCues dummy_cues;
|
||||||
KaxClusterTimecode &timecode = GetChild<KaxClusterTimecode>(cluster);
|
KaxClusterTimecode &timecode = GetChild<KaxClusterTimecode>(cluster);
|
||||||
*(static_cast<EbmlUInteger *>(&timecode)) = 0;
|
*(static_cast<EbmlUInteger *>(&timecode)) = 0;
|
||||||
|
|
||||||
@ -805,7 +807,7 @@ int write_packet(packet_t *pack, filelist_t *file, StdIOCallback *out) {
|
|||||||
static_cast<KaxTrackEntry &>(*pack->source->track_entry);
|
static_cast<KaxTrackEntry &>(*pack->source->track_entry);
|
||||||
block.AddFrame(track_entry, pack->timestamp, data);
|
block.AddFrame(track_entry, pack->timestamp, data);
|
||||||
|
|
||||||
cluster.Render(static_cast<StdIOCallback &>(*out));
|
cluster.Render(static_cast<StdIOCallback &>(*out), dummy_cues);
|
||||||
|
|
||||||
if (verbose > 1)
|
if (verbose > 1)
|
||||||
fprintf(stdout, "timestamp %llu, size %d, written packet for %s (%s)\n",
|
fprintf(stdout, "timestamp %llu, size %d, written packet for %s (%s)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user