pub fn get_track_samples<F, T: Read + Seek>( stream: &mut T, size: usize, typ: TrackType, single: bool, max_sample_size: Option<usize>, callback: F, cancel_flag: Arc<AtomicBool>, ) -> Result<MediaContext>where F: FnMut(SampleInfo, &[u8], u64),