From: sr55 Date: Tue, 16 Apr 2019 19:25:02 +0000 (+0100) Subject: WinGui: Fix previews after hb_image_s change. Fixes #2044 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e52e9720f7c5d5b39897f43ae8c6bace5292c19;p=handbrake WinGui: Fix previews after hb_image_s change. Fixes #2044 --- diff --git a/libhb/common.h b/libhb/common.h index 92a991e91..14a16f620 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -270,6 +270,7 @@ struct hb_geometry_settings_s hb_geometry_t geometry; }; +// Update win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs when changing this struct struct hb_image_s { int format; diff --git a/win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs b/win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs index 4f1681662..ff2b8b633 100644 --- a/win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs +++ b/win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs @@ -20,6 +20,7 @@ namespace HandBrake.Interop.Interop.HbLib internal struct hb_image_s { public int format; + public int max_plane; public int width; public int height; public IntPtr data;