diff options
author | François Laignel <fengalin@free.fr> | 2021-04-20 15:58:11 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-20 19:19:58 +0300 |
commit | 67c5871957a583c5817156891cb6586a54e6d5f4 (patch) | |
tree | 3d9aff3447876b8d17df180b8a0e9b9594f90b5d /video/gif | |
parent | 27bc5c89cad7dfec9cc12c6c87beca76a4a0b139 (diff) |
fix-getters-calls 0.3.0 pass
Diffstat (limited to 'video/gif')
-rw-r--r-- | video/gif/build.rs | 2 | ||||
-rw-r--r-- | video/gif/src/gifenc/imp.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/video/gif/build.rs b/video/gif/build.rs index 17be1215e..cda12e57e 100644 --- a/video/gif/build.rs +++ b/video/gif/build.rs @@ -1,3 +1,3 @@ fn main() { - gst_plugin_version_helper::get_info() + gst_plugin_version_helper::info() } diff --git a/video/gif/src/gifenc/imp.rs b/video/gif/src/gifenc/imp.rs index 9df54983f..e973a9891 100644 --- a/video/gif/src/gifenc/imp.rs +++ b/video/gif/src/gifenc/imp.rs @@ -336,7 +336,7 @@ impl VideoEncoderImpl for GifEnc { return Err(gst::FlowError::Error); } - let mut raw_frame = get_tightly_packed_framebuffer(&in_frame); + let mut raw_frame = tightly_packed_framebuffer(&in_frame); let mut gif_frame = match in_frame.info().format() { gst_video::VideoFormat::Rgb => { gif::Frame::from_rgb_speed( @@ -414,7 +414,7 @@ impl GifEnc { }); if let Some(trailer_buffer) = trailer_buffer { // manually push GIF trailer to the encoder's src pad - let srcpad = element.get_static_pad("src").unwrap(); + let srcpad = element.static_pad("src").unwrap(); srcpad.push(trailer_buffer)?; } |