X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fframe.rs;h=1ba361041c11c43c584c342a5bfd694ef0a78e0d;hp=70a054d3655842788839385122f1d8f2a2bc6b98;hb=556509ab9495f191dac5531be40930daeb7562d0;hpb=a091b9684d877827287a51259edce3140112667a diff --git a/nihav-core/src/frame.rs b/nihav-core/src/frame.rs index 70a054d..1ba3610 100644 --- a/nihav-core/src/frame.rs +++ b/nihav-core/src/frame.rs @@ -1357,7 +1357,7 @@ impl NAStream { self.tb_den = d; } /// Returns stream duration. - pub fn get_duration(&self) -> usize { self.num } + pub fn get_duration(&self) -> u64 { self.duration } /// Converts current instance into a reference-counted one. pub fn into_ref(self) -> NAStreamRef { Arc::new(self) } }