diff options
author | Matthew Waters <matthew@centricular.com> | 2018-10-04 23:45:49 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-10-05 01:18:59 +1000 |
commit | d5da9e080aae464a110834fcae55c5a7e39a21c5 (patch) | |
tree | c8b33c926437c96d28a70f6e7f409a42c0105889 /ext | |
parent | d89104c57fe6e6d44e24ff036483c31b62e74cfe (diff) |
glvideomixer: fix the default blend modes for unpremultipled alpha
Alpha in GStreamer is unpremultiplied
Diffstat (limited to 'ext')
-rw-r--r-- | ext/gl/gstglvideomixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gl/gstglvideomixer.c b/ext/gl/gstglvideomixer.c index 2256e549b..0306d22e5 100644 --- a/ext/gl/gstglvideomixer.c +++ b/ext/gl/gstglvideomixer.c @@ -162,7 +162,7 @@ gst_gl_video_mixer_blend_function_get_type (void) #define DEFAULT_PAD_BLEND_EQUATION_RGB GST_GL_VIDEO_MIXER_BLEND_EQUATION_ADD #define DEFAULT_PAD_BLEND_EQUATION_ALPHA GST_GL_VIDEO_MIXER_BLEND_EQUATION_ADD #define DEFAULT_PAD_BLEND_FUNCTION_SRC_RGB GST_GL_VIDEO_MIXER_BLEND_FUNCTION_SRC_ALPHA -#define DEFAULT_PAD_BLEND_FUNCTION_SRC_ALPHA GST_GL_VIDEO_MIXER_BLEND_FUNCTION_SRC_ALPHA +#define DEFAULT_PAD_BLEND_FUNCTION_SRC_ALPHA GST_GL_VIDEO_MIXER_BLEND_FUNCTION_ONE #define DEFAULT_PAD_BLEND_FUNCTION_DST_RGB GST_GL_VIDEO_MIXER_BLEND_FUNCTION_ONE_MINUS_SRC_ALPHA #define DEFAULT_PAD_BLEND_FUNCTION_DST_ALPHA GST_GL_VIDEO_MIXER_BLEND_FUNCTION_ONE_MINUS_SRC_ALPHA |