Fix raspberry pi support (#171)

This commit is contained in:
Polochon-street
2024-01-03 21:35:17 +01:00
committed by GitHub
parent 849eeb8d86
commit c53730e7ab
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "ffmpeg-next"
version = "6.1.0"
version = "6.1.1"
build = "build.rs"
authors = ["meh. <meh@schizofreni.co>", "Zhiming Wang <i@zhimingwang.org>"]
-6
View File
@@ -414,8 +414,6 @@ pub enum Pixel {
#[cfg(feature = "ffmpeg_6_1")]
GBRAP14LE,
#[cfg(feature = "rpi")]
RPI,
#[cfg(feature = "rpi")]
SAND128,
#[cfg(feature = "rpi")]
@@ -822,8 +820,6 @@ impl From<AVPixelFormat> for Pixel {
#[cfg(feature = "ffmpeg_6_1")]
AV_PIX_FMT_GBRAP14LE => Pixel::GBRAP14LE,
#[cfg(feature = "rpi")]
AV_PIX_FMT_RPI => Pixel::RPI,
#[cfg(feature = "rpi")]
AV_PIX_FMT_SAND128 => Pixel::SAND128,
#[cfg(feature = "rpi")]
@@ -1248,8 +1244,6 @@ impl From<Pixel> for AVPixelFormat {
#[cfg(feature = "ffmpeg_6_1")]
Pixel::GBRAP14LE => AV_PIX_FMT_GBRAP14LE,
#[cfg(feature = "rpi")]
Pixel::RPI => AV_PIX_FMT_RPI,
#[cfg(feature = "rpi")]
Pixel::SAND128 => AV_PIX_FMT_SAND128,
#[cfg(feature = "rpi")]