From 1711f98bd535609355dd7cae45e1edb389c784dd 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 --- 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: