aboutsummaryrefslogtreecommitdiff
path: root/remuxer/src
diff options
context:
space:
mode:
Diffstat (limited to 'remuxer/src')
-rw-r--r--remuxer/src/import/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/remuxer/src/import/mod.rs b/remuxer/src/import/mod.rs
index 0ce8b47..d2e0f3c 100644
--- a/remuxer/src/import/mod.rs
+++ b/remuxer/src/import/mod.rs
@@ -247,9 +247,9 @@ fn import_read_segment(segment: &mut Unflatten) -> Result<MatroskaMetadata> {
height: height.unwrap(),
},
2 => SourceTrackKind::Audio {
- bit_depth: bit_depth.unwrap_or(0) as usize, // TODO
- channels: channels.unwrap(),
- sample_rate: sample_rate.unwrap(),
+ bit_depth: bit_depth.unwrap_or(0) as usize, // TODO
+ channels: channels.unwrap_or(1), // TODO
+ sample_rate: sample_rate.unwrap_or(41_100.0), // TODO
},
17 => SourceTrackKind::Subtitles,
_ => bail!("invalid track type"),