From d1594a140c430eba4489af7cd3d965bd93568a48 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 16 May 2023 13:23:36 +0200 Subject: cue offsets corrected --- matroska/src/write.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'matroska/src') diff --git a/matroska/src/write.rs b/matroska/src/write.rs index 63cec2b..0b3b167 100644 --- a/matroska/src/write.rs +++ b/matroska/src/write.rs @@ -5,6 +5,7 @@ */ use crate::{matroska::MatroskaTag, size::EbmlSize, Master}; use anyhow::{bail, Result}; +use log::debug; use std::io::{Seek, Write}; pub struct EbmlWriter { @@ -28,6 +29,7 @@ impl EbmlWriter { } pub fn write_padding(&mut self, position: usize) -> Result<()> { + debug!("padding up to {position}"); let mut size = position - self.position; match size { 0 => return Ok(()), -- cgit v1.2.3-70-g09d2