cdg: Update to image 0.22 and cdg_renderer 0.3

This commit is contained in:
Sebastian Dröge 2019-08-07 15:52:50 +03:00
parent 324b205926
commit 1e71767b40
2 changed files with 4 additions and 7 deletions

View file

@ -13,9 +13,9 @@ gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", fea
gstreamer-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["subclassing", "v1_12"] }
gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["subclassing", "v1_12"] }
gstreamer-app = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
cdg = "0.1.0"
cdg_renderer = "0.2"
image = "0.21"
cdg = "0.1"
cdg_renderer = "0.3"
image = "0.22"
muldiv = "0.2"
[lib]

View file

@ -180,10 +180,7 @@ impl VideoDecoderImpl for CdgDec {
.enumerate()
{
let p = cdg_inter.get_pixel(x as u32, y as u32);
pixel[0] = p.data[0];
pixel[1] = p.data[1];
pixel[2] = p.data[2];
pixel[3] = p.data[3];
pixel.copy_from_slice(&p.0);
}
}
}