pub fn track_extends_by_id(&self, track_id: u32) -> Option<&TrackExtendsBox> {
        self.boxes.iter().find_map(|b| {
            match b {
                MP4Box::TrackExtendsBox(t) => {
                    if t.track_id == track_id {
                        return Some(t);
                    }
                }
                _ => {},
            }
            None
        })
    }
/// Get the Track Extends box for this track.
Get the Track Extends box for this track.
Get the Track Extends box for this track .
pub fn track_extends_by_id(&self, track_id: u32) -> Option<&TrackExtendsBox> {
        self.boxes.iter().find_map(|b| {
            match b {
                MP4Box::TrackExtendsBox(t) => {
                    if t.track_id == track_id {
                        return Some(t);
                    }
                }
                _ => {},
            }
            None
        })
    }
pub fn track_extends_by_id ( & self , track_id : u32 ) -> Option < & TrackExtendsBox > { self . boxes . iter ( ) . find_map ( | b | { match b { MP4Box :: TrackExtendsBox ( t ) => { if t . track_id == track_id { return Some ( t ) ; } } _ => { } , } None } ) }
Get the Track Extends box for this track.
Get the Track Extends box for this track .
&self
track_id
u32
&self
track_id
u32