diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-07-09 10:42:42 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-07-09 10:42:42 +0200 |
commit | 24d998947d55228ec37a08cd391983c6239e3c0c (patch) | |
tree | c7c392e66ea95f35f558de9edd5a3ff8bfaede01 /nihav-realmedia | |
parent | dcabdfd2eea01174f46548a8e2166ab88d0de96b (diff) | |
download | nihav-24d998947d55228ec37a08cd391983c6239e3c0c.tar.gz |
use NATimePoint for seeking
Diffstat (limited to 'nihav-realmedia')
-rw-r--r-- | nihav-realmedia/src/demuxers/realmedia.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nihav-realmedia/src/demuxers/realmedia.rs b/nihav-realmedia/src/demuxers/realmedia.rs index 16c4746..b37c34f 100644 --- a/nihav-realmedia/src/demuxers/realmedia.rs +++ b/nihav-realmedia/src/demuxers/realmedia.rs @@ -740,7 +740,7 @@ impl<'a> DemuxCore<'a> for RealMediaDemuxer<'a> { } #[allow(unused_variables)] - fn seek(&mut self, time: u64, seek_idx: &SeekIndex) -> DemuxerResult<()> { + fn seek(&mut self, time: NATimePoint, seek_idx: &SeekIndex) -> DemuxerResult<()> { self.queued_pkts.clear(); let ret = seek_idx.find_pos(time); if ret.is_none() { @@ -1263,7 +1263,7 @@ println!(" got ainfo {:?}", ainfo); } #[allow(unused_variables)] - fn seek(&mut self, time: u64, seek_idx: &SeekIndex) -> DemuxerResult<()> { + fn seek(&mut self, time: NATimePoint, seek_idx: &SeekIndex) -> DemuxerResult<()> { Err(NotImplemented) } } @@ -1608,7 +1608,7 @@ println!("R1M kind"); } #[allow(unused_variables)] - fn seek(&mut self, time: u64, seek_idx: &SeekIndex) -> DemuxerResult<()> { + fn seek(&mut self, time: NATimePoint, seek_idx: &SeekIndex) -> DemuxerResult<()> { Err(NotImplemented) } } |