aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/options.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-09 17:11:53 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-09 17:11:53 +0200
commitc5ebeaa3085bef608a1ec76e8e6b24e6e98c428a (patch)
treee7bd92e8fba564b35a75e0cbe2842cfad82afad2 /libswscale/options.c
parent87100e828a59fa04dc892b45d8db2d690ce6a2a1 (diff)
downloadffmpeg-c5ebeaa3085bef608a1ec76e8e6b24e6e98c428a.tar.gz
swscale/alphablend: Support SWS_ALPHA_BLEND_CHECKERBOARD
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/options.c')
-rw-r--r--libswscale/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/options.c b/libswscale/options.c
index 6ad6cbda2d..18a6594f65 100644
--- a/libswscale/options.c
+++ b/libswscale/options.c
@@ -81,6 +81,7 @@ static const AVOption swscale_options[] = {
{ "alphablend", "mode for alpha -> non alpha", OFFSET(alphablend),AV_OPT_TYPE_INT, { .i64 = SWS_ALPHA_BLEND_NONE}, 0, SWS_ALPHA_BLEND_NB-1, VE, "alphablend" },
{ "none", "ignore alpha", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_ALPHA_BLEND_NONE}, INT_MIN, INT_MAX, VE, "alphablend" },
{ "uniform_color", "blend onto a uniform color", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_ALPHA_BLEND_UNIFORM},INT_MIN, INT_MAX, VE, "alphablend" },
+ { "checkerboard", "blend onto a checkerboard", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_ALPHA_BLEND_CHECKERBOARD},INT_MIN, INT_MAX, VE, "alphablend" },
{ NULL }
};