mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
Set the default duration.
This commit is contained in:
parent
8939870ee2
commit
e6c533ca6f
@ -45,9 +45,8 @@ ac3_packetizer_c::ac3_packetizer_c(generic_reader_c *nreader,
|
|||||||
bsid = nbsid;
|
bsid = nbsid;
|
||||||
|
|
||||||
set_track_type(track_audio);
|
set_track_type(track_audio);
|
||||||
if (use_durations)
|
set_track_default_duration((int64_t)(1536000000000.0 *ti->async.linear /
|
||||||
set_track_default_duration((int64_t)(1536000000000.0 *ti->async.linear /
|
samples_per_sec));
|
||||||
samples_per_sec));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ac3_packetizer_c::~ac3_packetizer_c() {
|
ac3_packetizer_c::~ac3_packetizer_c() {
|
||||||
|
Loading…
Reference in New Issue
Block a user