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:
Diffstat (limited to 'video/png/src/pngenc/imp.rs')
-rw-r--r--video/png/src/pngenc/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/png/src/pngenc/imp.rs b/video/png/src/pngenc/imp.rs
index 5c6551273..2f543d730 100644
--- a/video/png/src/pngenc/imp.rs
+++ b/video/png/src/pngenc/imp.rs
@@ -295,7 +295,7 @@ impl VideoEncoderImpl for PngEncoder {
*self.state.lock() = Some(state);
}
- let instance = self.instance();
+ let instance = self.obj();
let output_state = instance
.set_output_state(gst::Caps::builder("image/png").build(), Some(state))
.map_err(|_| gst::loggable_error!(CAT, "Failed to set output state"))?;
@@ -335,6 +335,6 @@ impl VideoEncoderImpl for PngEncoder {
// There are no such incremental frames in the png format
frame.set_flags(gst_video::VideoCodecFrameFlags::SYNC_POINT);
frame.set_output_buffer(output_buffer);
- self.instance().finish_frame(Some(frame))
+ self.obj().finish_frame(Some(frame))
}
}