rav1e: Fix compilation after VideoColorRange::Range0255 got renamed to VideoColorRange::Range0_255

This commit is contained in:
Sebastian Dröge 2021-05-01 10:49:36 +03:00
parent 78d9fb521d
commit 8bda233d02

View file

@ -524,7 +524,7 @@ impl VideoEncoderImpl for Rav1Enc {
_ => color::ChromaSamplePosition::Unknown,
},
pixel_range: match video_info.colorimetry().range() {
gst_video::VideoColorRange::Range0255 => color::PixelRange::Full,
gst_video::VideoColorRange::Range0_255 => color::PixelRange::Full,
_ => color::PixelRange::Limited,
},
color_description: {