Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Laignel <fengalin@free.fr>2021-04-12 15:49:54 +0300
committerFrançois Laignel <fengalin@free.fr>2021-04-12 16:57:19 +0300
commit06accc8d98cc2876bcacfc6f9e097af690b4e64f (patch)
treee4f056143e5257d49b367dd28ef5fecaa1df9ebc /video/webp/tests
parentc3fb55f235f7feb1ab737a64f8d3d53d03a81c7a (diff)
fix-getters-{def,calls} pass
Diffstat (limited to 'video/webp/tests')
-rw-r--r--video/webp/tests/webpdec.rs8
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,