From 9a68f6e221576f94e153f5f20e499b22745621ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 23 Oct 2022 23:03:22 +0300 Subject: Move from `imp.instance()` to `imp.obj()` It's doing the same thing and is shorter. --- video/rav1e/src/rav1enc/imp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/rav1e') diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index 34aa7ac0..f349c186 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -805,7 +805,7 @@ impl VideoEncoderImpl for Rav1Enc { video_info, }); - let instance = self.instance(); + let instance = self.obj(); let output_state = instance .set_output_state( gst::Caps::builder("video/x-av1") @@ -913,7 +913,7 @@ impl Rav1Enc { packet_type ); - let instance = self.instance(); + let instance = self.obj(); let mut frame = instance .frame(frame_number as i32) .expect("frame not found"); -- cgit v1.2.3