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-20 18:28:38 +0300
committerFrançois Laignel <fengalin@free.fr>2021-04-20 19:19:58 +0300
commit95cdd43f4ff02e12fd6079051294029b4aae653a (patch)
treee5fe30dc36ba43ce5f6bf2686bd537ed1a3ed852 /video/dav1d
parent3203f5774867c48b3d23bbbeb2149d759fbbdab7 (diff)
manual fixes remove get prefix round 2
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 a08721bd3..15c10d6b9 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);