diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-28 23:41:32 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-28 23:41:32 +0100 |
commit | ab0e2e306b7872d1c1e6494994070f52fe1b3c00 (patch) | |
tree | 859228b2cad149bc4cb4a76299ec29cd36ac28d0 /remuxer/src/snippet.rs | |
parent | 1b8181e34fbbc6a6dfb89afa704e1e1d8fe7ff68 (diff) | |
download | jellything-ab0e2e306b7872d1c1e6494994070f52fe1b3c00.tar jellything-ab0e2e306b7872d1c1e6494994070f52fe1b3c00.tar.bz2 jellything-ab0e2e306b7872d1c1e6494994070f52fe1b3c00.tar.zst |
direct io for blocks
Diffstat (limited to 'remuxer/src/snippet.rs')
-rw-r--r-- | remuxer/src/snippet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remuxer/src/snippet.rs b/remuxer/src/snippet.rs index daa50a9..ff391a2 100644 --- a/remuxer/src/snippet.rs +++ b/remuxer/src/snippet.rs @@ -196,10 +196,10 @@ pub fn write_snippet_into( if let Some(duration) = duration { blocks.push(MatroskaTag::BlockGroup(Master::Collected(vec![ MatroskaTag::BlockDuration(duration), - MatroskaTag::Block(block.dump()), + MatroskaTag::Block(block), ]))) } else { - blocks.push(MatroskaTag::SimpleBlock(block.dump())) + blocks.push(MatroskaTag::SimpleBlock(block)) } } output.write_tag(&MatroskaTag::Cluster(Master::Collected(blocks)))?; |