mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-25 11:30:29 +00:00
rav1enc: PixelRange::Unspecified was removed.
1f8f62a04dca13302ccef6371ec5211a001ed356 in rav1e removed this enumeration. They changed the default value from Unspecified to Limited, so that's what I've done here as well.
This commit is contained in:
parent
4b4a2798b6
commit
7137d3d389
1 changed files with 1 additions and 2 deletions
|
@ -475,8 +475,7 @@ impl VideoEncoderImpl for Rav1Enc {
|
|||
},
|
||||
pixel_range: match video_info.colorimetry().range() {
|
||||
gst_video::VideoColorRange::Range0255 => color::PixelRange::Full,
|
||||
gst_video::VideoColorRange::Range16235 => color::PixelRange::Limited,
|
||||
_ => color::PixelRange::Unspecified,
|
||||
_ => color::PixelRange::Limited,
|
||||
},
|
||||
color_description: {
|
||||
let matrix = match video_info.colorimetry().matrix() {
|
||||
|
|
Loading…
Reference in a new issue