pub fn track_info(&self) -> VideoTrackInfo {
        let config = first_box!(self.boxes, HEVCConfigurationBox);
        let codec_id = match config {
            Some(ref c) => c.configuration.codec_id(),
            None => "hvc1.unknown".to_string(),
        };
        let codec_name = match config {
            Some(ref c) => c.configuration.codec_name(),
            None => "HEVC",
        }.to_string();
        let frame_rate = match config {
            Some(ref c) => c.configuration.frame_rate(),
            None => 0f64,
        };
        VideoTrackInfo {
            codec_id,
            codec_name: Some(codec_name.to_string()),
            width: self.width,
            height: self.height,
            frame_rate,
        }
    }
/// Return video specific track info.
Return video specific track info.
Return video specific track info .
pub fn track_info(&self) -> VideoTrackInfo {
        let config = first_box!(self.boxes, HEVCConfigurationBox);
        let codec_id = match config {
            Some(ref c) => c.configuration.codec_id(),
            None => "hvc1.unknown".to_string(),
        };
        let codec_name = match config {
            Some(ref c) => c.configuration.codec_name(),
            None => "HEVC",
        }.to_string();
        let frame_rate = match config {
            Some(ref c) => c.configuration.frame_rate(),
            None => 0f64,
        };
        VideoTrackInfo {
            codec_id,
            codec_name: Some(codec_name.to_string()),
            width: self.width,
            height: self.height,
            frame_rate,
        }
    }
pub fn track_info ( & self ) -> VideoTrackInfo { let config = first_box ! ( self boxes HEVCConfigurationBox ) ; let codec_id = match config { Some ( ref c ) => c . configuration . codec_id ( ) , None => " " . to_string ( ) , } ; let codec_name = match config { Some ( ref c ) => c . configuration . codec_name ( ) , None => " " , } . to_string ( ) ; let frame_rate = match config { Some ( ref c ) => c . configuration . frame_rate ( ) , None => 0f64 , } ; VideoTrackInfo { codec_id , codec_name : Some ( codec_name . to_string ( ) ) , width : self . width , height : self . height , frame_rate , } }
Return video specific track info.
Return video specific track info .
&self
&self