video: remove 1.18 formats from VIDEO_FORMATS_ALL

This array is a fallback when using gst < 1.18 so it makes no sense
to include formats which have been introduced in 1.18
This commit is contained in:
Guillaume Desmottes 2020-06-24 10:01:09 +02:00
parent 03a240cf3f
commit 2afcdfe79f

View file

@ -36,8 +36,6 @@ pub static VIDEO_FORMATS_ALL: Lazy<Box<[::VideoFormat]>> = Lazy::new(|| {
::VideoFormat::Argb64,
::VideoFormat::Gbra12le,
::VideoFormat::Gbra12be,
::VideoFormat::Y412Le,
::VideoFormat::Y412Be,
::VideoFormat::A44410le,
::VideoFormat::Gbra10le,
::VideoFormat::A44410be,
@ -46,7 +44,6 @@ pub static VIDEO_FORMATS_ALL: Lazy<Box<[::VideoFormat]>> = Lazy::new(|| {
::VideoFormat::A42210be,
::VideoFormat::A42010le,
::VideoFormat::A42010be,
::VideoFormat::Rgb10a2Le,
::VideoFormat::Bgr10a2Le,
::VideoFormat::Y410,
::VideoFormat::Gbra,
@ -57,23 +54,15 @@ pub static VIDEO_FORMATS_ALL: Lazy<Box<[::VideoFormat]>> = Lazy::new(|| {
::VideoFormat::Argb,
::VideoFormat::Rgba,
::VideoFormat::A420,
::VideoFormat::Y44416le,
::VideoFormat::Y44416be,
::VideoFormat::V216,
::VideoFormat::P016Le,
::VideoFormat::P016Be,
::VideoFormat::Y44412le,
::VideoFormat::Gbr12le,
::VideoFormat::Y44412be,
::VideoFormat::Gbr12be,
::VideoFormat::I42212le,
::VideoFormat::I42212be,
::VideoFormat::Y212Le,
::VideoFormat::Y212Be,
::VideoFormat::I42012le,
::VideoFormat::I42012be,
::VideoFormat::P012Le,
::VideoFormat::P012Be,
::VideoFormat::Y44410le,
::VideoFormat::Gbr10le,
::VideoFormat::Y44410be,
@ -136,8 +125,6 @@ pub static VIDEO_FORMATS_ALL: Lazy<Box<[::VideoFormat]>> = Lazy::new(|| {
::VideoFormat::Argb64,
::VideoFormat::Gbra12be,
::VideoFormat::Gbra12le,
::VideoFormat::Y412Be,
::VideoFormat::Y412Le,
::VideoFormat::A44410be,
::VideoFormat::Gbra10be,
::VideoFormat::A44410le,
@ -147,7 +134,6 @@ pub static VIDEO_FORMATS_ALL: Lazy<Box<[::VideoFormat]>> = Lazy::new(|| {
::VideoFormat::A42010be,
::VideoFormat::A42010le,
::VideoFormat::Y410,
::VideoFormat::Rgb10a2Le,
::VideoFormat::Bgr10a2Le,
::VideoFormat::Gbra,
::VideoFormat::Abgr,
@ -157,23 +143,15 @@ pub static VIDEO_FORMATS_ALL: Lazy<Box<[::VideoFormat]>> = Lazy::new(|| {
::VideoFormat::Argb,
::VideoFormat::Rgba,
::VideoFormat::A420,
::VideoFormat::Y44416be,
::VideoFormat::Y44416le,
::VideoFormat::V216,
::VideoFormat::P016Be,
::VideoFormat::P016Le,
::VideoFormat::Y44412be,
::VideoFormat::Gbr12be,
::VideoFormat::Y44412le,
::VideoFormat::Gbr12le,
::VideoFormat::I42212be,
::VideoFormat::I42212le,
::VideoFormat::Y212Be,
::VideoFormat::Y212Le,
::VideoFormat::I42012be,
::VideoFormat::I42012le,
::VideoFormat::P012Be,
::VideoFormat::P012Le,
::VideoFormat::Y44410be,
::VideoFormat::Gbr10be,
::VideoFormat::Y44410le,