aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-game/src/demuxers/gdv.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2019-11-18 18:24:49 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2019-11-18 18:24:49 +0100
commitcaf0f37ecea1e6e25f21fc6e824ac250fe976541 (patch)
treef2c3be96f734f11f22263784b4077ee8ef3e08ad /nihav-game/src/demuxers/gdv.rs
parent47f26235350744ebf034ff18467e449a249f7703 (diff)
downloadnihav-caf0f37ecea1e6e25f21fc6e824ac250fe976541.tar.gz
fix demuxer tests after introducing seek index
Diffstat (limited to 'nihav-game/src/demuxers/gdv.rs')
-rw-r--r--nihav-game/src/demuxers/gdv.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/nihav-game/src/demuxers/gdv.rs b/nihav-game/src/demuxers/gdv.rs
index b70e344..438ced2 100644
--- a/nihav-game/src/demuxers/gdv.rs
+++ b/nihav-game/src/demuxers/gdv.rs
@@ -179,7 +179,8 @@ mod test {
let mut br = ByteReader::new(&mut fr);
let mut dmx = GremlinVideoDemuxer::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);
if let Err(e) = pktres {