diff options
author | metamuffin <metamuffin@disroot.org> | 2023-07-31 21:38:24 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-07-31 21:38:24 +0200 |
commit | 705fba50de94a7efdb9fe635ee683d6a615348f8 (patch) | |
tree | 6eee7ac5b3bae20d877c0012c805d593aa180329 /remuxer/src/lib.rs | |
parent | 7fc42cd9909f1269d800c1105ec3598071a6221f (diff) | |
download | jellything-705fba50de94a7efdb9fe635ee683d6a615348f8.tar jellything-705fba50de94a7efdb9fe635ee683d6a615348f8.tar.bz2 jellything-705fba50de94a7efdb9fe635ee683d6a615348f8.tar.zst |
working as good as before (maybe)
Diffstat (limited to 'remuxer/src/lib.rs')
-rw-r--r-- | remuxer/src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remuxer/src/lib.rs b/remuxer/src/lib.rs index 4a73edf..382f850 100644 --- a/remuxer/src/lib.rs +++ b/remuxer/src/lib.rs @@ -9,7 +9,7 @@ pub mod trim_writer; use crate::{segment_extractor::SegmentExtractIter, trim_writer::TrimWriter}; use anyhow::{anyhow, Context}; -use jellycommon::{BlockIndex, NodePublic, LocalTrack, SeekIndex, SourceTrack, SourceTrackKind}; +use jellycommon::{BlockIndex, LocalTrack, NodePublic, SeekIndex, SourceTrack, SourceTrackKind}; use jellymatroska::{ block::Block, read::EbmlReader, @@ -78,6 +78,10 @@ impl RemuxerContext { info!("\t- {sel} {source_path:?} ({} => {mapped})", private.track); info!("\t {}", info); let file = File::open(&source_path).context("opening source file")?; + eprintln!( + "{:?}", + source_path.with_extension(format!("si.{}", private.track)) + ); let mut index = File::open(source_path.with_extension(format!("si.{}", private.track))) .context("opening seek index file")?; |