diff options
author | François Laignel <fengalin@free.fr> | 2021-04-12 15:49:54 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-12 16:57:19 +0300 |
commit | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (patch) | |
tree | e4f056143e5257d49b367dd28ef5fecaa1df9ebc /video/webp/tests | |
parent | c3fb55f235f7feb1ab737a64f8d3d53d03a81c7a (diff) |
fix-getters-{def,calls} pass
Diffstat (limited to 'video/webp/tests')
-rw-r--r-- | video/webp/tests/webpdec.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/webp/tests/webpdec.rs b/video/webp/tests/webpdec.rs index cdf51ab77..24edec9c4 100644 --- a/video/webp/tests/webpdec.rs +++ b/video/webp/tests/webpdec.rs @@ -45,8 +45,8 @@ fn test_decode() { let expected_duration: gst::ClockTime = 40_000_000.into(); while let Some(buf) = h.try_pull() { - assert_eq!(buf.get_pts(), expected_timestamp); - assert_eq!(buf.get_duration(), expected_duration); + assert_eq!(buf.pts(), expected_timestamp); + assert_eq!(buf.duration(), expected_duration); expected_timestamp += expected_duration; count += 1; @@ -55,9 +55,9 @@ fn test_decode() { assert_eq!(count, 10); let caps = h - .get_sinkpad() + .sinkpad() .expect("harness has no sinkpad") - .get_current_caps() + .current_caps() .expect("pad has no caps"); assert_eq!( caps, |