]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix previews after hb_image_s change. Fixes #2044
authorsr55 <sr55.hb@outlook.com>
Tue, 16 Apr 2019 19:25:02 +0000 (20:25 +0100)
committersr55 <sr55.hb@outlook.com>
Tue, 16 Apr 2019 19:25:02 +0000 (20:25 +0100)
libhb/common.h
win/CS/HandBrake.Interop/Interop/HbLib/hb_image_s.cs

index 92a991e913023f1d7d57f5c160c07c3af15c8813..14a16f620a73901603f493716d981146d32c0f30 100644 (file)
@@ -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;
index 4f168166222ffa8f21b5a84c1bd67a39cdecbc7f..ff2b8b633c0c7fb0c5affce56ca6ab79fd72e657 100644 (file)
@@ -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;