diff options
Diffstat (limited to 'src/frame_clock.rs')
| -rw-r--r-- | src/frame_clock.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame_clock.rs b/src/frame_clock.rs index 5d540f8d..61ad9572 100644 --- a/src/frame_clock.rs +++ b/src/frame_clock.rs @@ -24,6 +24,10 @@ impl FrameClock { } } + pub fn refresh_interval_ns(&self) -> Option<NonZeroU64> { + self.refresh_interval_ns + } + pub fn presented(&mut self, presentation_time: Duration) { if presentation_time.is_zero() { // Not interested in these. |
