]> git.nihav.org Git - nihav.git/commitdiff
fix StreamManager::is_ignored() for the default case
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 4 Oct 2025 16:23:20 +0000 (18:23 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 4 Oct 2025 16:23:20 +0000 (18:23 +0200)
nihav-core/src/demuxers/mod.rs

index 12ebdd0f96c6e16773042e6b3d2ec978820ec654..9402c98be5c33ac5f5634a51a0eff0241392c4ab 100644 (file)
@@ -125,7 +125,7 @@ impl StreamManager {
     /// Reports whether the stream is marked as ignored.
     pub fn is_ignored(&self, idx: usize) -> bool {
         if self.no_ign {
-            true
+            false
         } else if idx < self.ignored.len() {
             self.ignored[idx]
         } else {