Err(DemuxerError::NotPossible)
}
}
+impl<'a> NAOptionHandler for GremlinVideoDemuxer<'a> {
+ fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] }
+ fn set_options(&mut self, _options: &[NAOption]) { }
+ fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
+}
/*impl<'a> Drop for GremlinVideoDemuxer<'a> {
#[allow(unused_variables)]
fn drop(&mut self) {
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 {