diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-11-18 18:24:49 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-11-18 18:24:49 +0100 |
commit | caf0f37ecea1e6e25f21fc6e824ac250fe976541 (patch) | |
tree | f2c3be96f734f11f22263784b4077ee8ef3e08ad /nihav-realmedia | |
parent | 47f26235350744ebf034ff18467e449a249f7703 (diff) | |
download | nihav-caf0f37ecea1e6e25f21fc6e824ac250fe976541.tar.gz |
fix demuxer tests after introducing seek index
Diffstat (limited to 'nihav-realmedia')
-rw-r--r-- | nihav-realmedia/src/demuxers/realmedia.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nihav-realmedia/src/demuxers/realmedia.rs b/nihav-realmedia/src/demuxers/realmedia.rs index fa3920a..2222b38 100644 --- a/nihav-realmedia/src/demuxers/realmedia.rs +++ b/nihav-realmedia/src/demuxers/realmedia.rs @@ -1674,7 +1674,8 @@ mod test { let mut br = ByteReader::new(&mut fr); let mut dmx = RealMediaDemuxer::new(&mut br); let mut sm = StreamManager::new(); - dmx.open(&mut sm).unwrap(); + let mut si = SeekIndex::new(); + dmx.open(&mut sm, &mut si).unwrap(); loop { let pktres = dmx.get_frame(&mut sm); @@ -1696,7 +1697,8 @@ mod test { let mut br = ByteReader::new(&mut fr); let mut dmx = RealAudioDemuxer::new(&mut br); let mut sm = StreamManager::new(); - dmx.open(&mut sm).unwrap(); + let mut si = SeekIndex::new(); + dmx.open(&mut sm, &mut si).unwrap(); loop { let pktres = dmx.get_frame(&mut sm); @@ -1717,7 +1719,8 @@ mod test { let mut br = ByteReader::new(&mut fr); let mut dmx = RealIVRDemuxer::new(&mut br); let mut sm = StreamManager::new(); - dmx.open(&mut sm).unwrap(); + let mut si = SeekIndex::new(); + dmx.open(&mut sm, &mut si).unwrap(); loop { let pktres = dmx.get_frame(&mut sm); |