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:
authorFrançois Laignel <fengalin@free.fr>2021-04-12 19:12:05 +0300
committerFrançois Laignel <fengalin@free.fr>2021-04-13 18:24:20 +0300
commit7d17f88941323013b7e2413aadaf53832a085195 (patch)
tree65a823b82489af25875062b96e37ef229506455e /video/dav1d
parent06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff)
post fix-getters manual updates
Diffstat (limited to 'video/dav1d')
-rw-r--r--video/dav1d/src/dav1ddec/imp.rs4
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);