Skip to content

Commit

Permalink
Add Picture offset metadata accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
philn authored and sdroege committed Dec 23, 2019
1 parent 098b0cd commit f23975d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ impl Picture {
pub fn duration(&self) -> i64 {
(*self.inner).pic.m.duration as i64
}

pub fn offset(&self) -> i64 {
(*self.inner).pic.m.offset
}
}

unsafe impl Send for Picture {}
Expand Down

0 comments on commit f23975d

Please sign in to comment.