]> git.nihav.org Git - nihav.git/commitdiff
vx demuxer: support stereo sound
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 27 Jul 2024 13:19:30 +0000 (15:19 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 27 Jul 2024 13:19:30 +0000 (15:19 +0200)
nihav-game/src/demuxers/vx.rs

index d20132123872bc2593d66fc68828a152d096a904..ac6b3e9f0c7ad9ff79c2ee018a90063e5902737b 100644 (file)
@@ -40,7 +40,7 @@ impl<'a> DemuxCore<'a> for VXDemuxer<'a> {
         let vinfo_off                   = src.read_u32le()? as u64;
         validate!(vinfo_off == 0 || vinfo_off >= 0x30);
         let num_vstreams                = src.read_u32le()? as usize;
-        if num_vstreams != 1 || num_audio_tracks > 1 {
+        if num_vstreams != 1 || num_audio_tracks > 2 {
             return Err(DemuxerError::NotImplemented);
         }