diff options
Diffstat (limited to 'video/rav1e/src/rav1enc/imp.rs')
-rw-r--r-- | video/rav1e/src/rav1enc/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |