From 7bee36e2cacee71a0211d2306151ed19890a4c5a Mon Sep 17 00:00:00 2001 From: Julien Loir Date: Mon, 12 Apr 2021 13:49:36 +0200 Subject: [PATCH] Add support for `Format16bppRgb555` in Bitmap wrapper Former-commit-id: 1711f98bd535609355dd7cae45e1edb389c784dd --- FFMpegCore/Extend/BitmapVideoFrameWrapper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FFMpegCore/Extend/BitmapVideoFrameWrapper.cs b/FFMpegCore/Extend/BitmapVideoFrameWrapper.cs index 36790d4..bc81643 100644 --- a/FFMpegCore/Extend/BitmapVideoFrameWrapper.cs +++ b/FFMpegCore/Extend/BitmapVideoFrameWrapper.cs @@ -68,6 +68,8 @@ private static string ConvertStreamFormat(PixelFormat fmt) { case PixelFormat.Format16bppGrayScale: return "gray16le"; + case PixelFormat.Format16bppRgb555: + return "bgr555le"; case PixelFormat.Format16bppRgb565: return "bgr565le"; case PixelFormat.Format24bppRgb: