From 70b8f0aa65b996724a92e2fa596b719e85a73be9 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Fri, 22 Mar 2019 03:46:42 -0700 Subject: [PATCH] libobs: Fix ABI break OBS_EFFECT_AREA from 7d811499e was inserted in the middle of the enum, which breaks ABI for any binaries that use OBS_EFFECT_PREMULTIPLIED_ALPHA or OBS_EFFECT_BILINEAR_LOWRES. --- libobs/obs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs.h b/libobs/obs.h index cc5158396..e60951afc 100644 --- a/libobs/obs.h +++ b/libobs/obs.h @@ -600,10 +600,10 @@ enum obs_base_effect { OBS_EFFECT_SOLID, /**< RGB/YUV (solid color only) */ OBS_EFFECT_BICUBIC, /**< Bicubic downscale */ OBS_EFFECT_LANCZOS, /**< Lanczos downscale */ - OBS_EFFECT_AREA, /**< Area rescale */ OBS_EFFECT_BILINEAR_LOWRES, /**< Bilinear low resolution downscale */ OBS_EFFECT_PREMULTIPLIED_ALPHA,/**< Premultiplied alpha */ OBS_EFFECT_REPEAT, /**< RGB/YUV (repeating) */ + OBS_EFFECT_AREA, /**< Area rescale */ }; /** Returns a commonly used base effect */