diff options
author | François Laignel <fengalin@free.fr> | 2021-04-12 19:12:05 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-13 18:24:20 +0300 |
commit | 7d17f88941323013b7e2413aadaf53832a085195 (patch) | |
tree | 65a823b82489af25875062b96e37ef229506455e /video/dav1d | |
parent | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff) |
post fix-getters manual updates
Diffstat (limited to 'video/dav1d')
-rw-r--r-- | video/dav1d/src/dav1ddec/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/dav1d/src/dav1ddec/imp.rs b/video/dav1d/src/dav1ddec/imp.rs index 2e92d1d16..cfd609397 100644 --- a/video/dav1d/src/dav1ddec/imp.rs +++ b/video/dav1d/src/dav1ddec/imp.rs @@ -278,7 +278,7 @@ impl Dav1dDec { fn drop_decoded_pictures(&self) { let mut decoder = self.decoder.lock().unwrap(); - while let Ok(pic) = decoder.picture() { + while let Ok(pic) = decoder.get_picture() { gst_debug!(CAT, "Dropping picture"); drop(pic); } @@ -289,7 +289,7 @@ impl Dav1dDec { ) -> Result<Vec<(dav1d::Picture, gst_video::VideoFormat)>, gst::FlowError> { let mut decoder = self.decoder.lock().unwrap(); let mut pictures = vec![]; - while let Ok(pic) = decoder.picture() { + while let Ok(pic) = decoder.get_picture() { let format = self.gst_video_format_from_dav1d_picture(&pic); if format == gst_video::VideoFormat::Unknown { return Err(gst::FlowError::NotNegotiated); |