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:
Charlie Turner 2019-08-02 10:11:13 +01:00
parent 4b4a2798b6
commit 7137d3d389

View file

@ -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() {