Revert "h264-encoder: Add 30 bit color depth formats"

This reverts commit 613761cf5f.

These are not available on older libav version and they don't event work.
v0.5
Andri Yngvason 2022-08-23 21:13:13 +00:00
parent 48d44a3ee9
commit d8d15946c5
1 changed files with 0 additions and 6 deletions

View File

@ -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;