From c0e1159a530027cbcf5790269c5b32298397bb4d Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Tue, 23 Aug 2022 21:13:13 +0000 Subject: [PATCH] Revert "h264-encoder: Add 30 bit color depth formats" This reverts commit 613761cf5fc3ad9f4d472f3a179215282c0601ea. These are not available on older libav version and they don't event work. --- src/h264-encoder.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/h264-encoder.c b/src/h264-encoder.c index 8806a5e..1bfefa7 100644 --- a/src/h264-encoder.c +++ b/src/h264-encoder.c @@ -99,12 +99,6 @@ static enum AVPixelFormat drm_to_av_pixel_format(uint32_t format) case DRM_FORMAT_BGRX8888: case DRM_FORMAT_BGRA8888: return AV_PIX_FMT_0RGB; - case DRM_FORMAT_XRGB2101010: - case DRM_FORMAT_ARGB2101010: - return AV_PIX_FMT_X2RGB10LE; - case DRM_FORMAT_BGRX1010102: - case DRM_FORMAT_BGRA1010102: - return AV_PIX_FMT_X2RGB10BE; } return AV_PIX_FMT_NONE;