mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Small fixups.
This commit is contained in:
parent
725834b7ba
commit
a24bb211d5
@ -292,14 +292,7 @@ void cluster_helper_c::set_output(mm_io_c *nout) {
|
||||
out = nout;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
vector<KaxBlockGroup *> groups;
|
||||
vector<int64_t> durations;
|
||||
generic_packetizer_c *source;
|
||||
bool more_data, duration_mandatory;
|
||||
} render_groups_t;
|
||||
|
||||
static void set_duration_and_timeslices(render_groups_t *rg) {
|
||||
void cluster_helper_c::set_duration_and_timeslices(render_groups_t *rg) {
|
||||
uint32_t i;
|
||||
int64_t block_duration, def_duration;
|
||||
KaxBlockGroup *group;
|
||||
@ -348,6 +341,13 @@ static void set_duration_and_timeslices(render_groups_t *rg) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
<+Asylum> The chicken and the egg are lying in bed next to each
|
||||
other after a good hard shag, the chicken is smoking a
|
||||
cigarette, the egg says "Well that answers that bloody
|
||||
question doesn't it"
|
||||
*/
|
||||
|
||||
int cluster_helper_c::render() {
|
||||
KaxCluster *cluster;
|
||||
KaxBlockGroup *new_block_group, *last_block_group;
|
||||
|
@ -44,6 +44,13 @@ typedef struct {
|
||||
int64_t *last_packets;
|
||||
} splitpoint_t;
|
||||
|
||||
typedef struct {
|
||||
vector<KaxBlockGroup *> groups;
|
||||
vector<int64_t> durations;
|
||||
generic_packetizer_c *source;
|
||||
bool more_data, duration_mandatory;
|
||||
} render_groups_t;
|
||||
|
||||
class cluster_helper_c {
|
||||
private:
|
||||
ch_contents_t **clusters;
|
||||
@ -82,6 +89,7 @@ private:
|
||||
void free_contents(ch_contents_t *clstr);
|
||||
void check_clusters(int num);
|
||||
bool all_references_resolved(ch_contents_t *cluster);
|
||||
void set_duration_and_timeslices(render_groups_t *rg);
|
||||
};
|
||||
|
||||
extern cluster_helper_c *cluster_helper;
|
||||
|
Loading…
Reference in New Issue
Block a user