]> git.nihav.org Git - nihav-tool.git/commitdiff
some pretty-printing master
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 8 Oct 2024 06:51:50 +0000 (08:51 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 8 Oct 2024 06:51:50 +0000 (08:51 +0200)
src/main.rs

index 78c9fb09ec0bfe3057d6d2e7b8a2ba3398abab9f..f756c86b1a390ef0c5d4297a7da7408db6725a07 100644 (file)
@@ -200,7 +200,7 @@ fn main() {
     if seek_time != NATimePoint::None {
         let ret = demuxer.seek(seek_time);
         if ret.is_err() {
-println!(" seek error {:?}", ret.err().unwrap());
+            println!(" seek error {:?}", ret.err().unwrap());
         }
     }
 
@@ -219,7 +219,7 @@ println!(" seek error {:?}", ret.err().unwrap());
         let s = demuxer.get_stream(i).unwrap();
         let info = s.get_info();
         let decfunc = full_reg.dec_reg.find_decoder(info.get_name());
-println!("stream {} - {} {}", i, s, info.get_name());
+        println!("stream {} - {} {}", i, s, info.get_name());
         let str_id = s.get_id();
         let mut has_out = false;
         sids.push(str_id);