aboutsummaryrefslogtreecommitdiff
path: root/matroska/src
diff options
context:
space:
mode:
Diffstat (limited to 'matroska/src')
-rw-r--r--matroska/src/write.rs2
1 files changed, 2 insertions, 0 deletions
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<W> {
@@ -28,6 +29,7 @@ impl<W: Write> EbmlWriter<W> {
}
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(()),