diff options
author | Matthew Waters <matthew@centricular.com> | 2018-10-04 23:23:03 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-10-04 23:24:15 +1000 |
commit | d63add22d2fe190fd408395e3191a930a3766e23 (patch) | |
tree | 6798fb5f25144bcb22329d30e5f987c065e9309e | |
parent | 23159365618409011745b554b4ad371700961121 (diff) | |
download | gst-plugins-base-d63add22d2fe190fd408395e3191a930a3766e23.tar.gz gst-plugins-base-d63add22d2fe190fd408395e3191a930a3766e23.tar.xz |
gl/overlaycompositor: don't force unpremultiplied alpha
Remove testing code from 23159365618409011745b554b4ad371700961121
-rw-r--r-- | gst-libs/gst/gl/gstgloverlaycompositor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/gstgloverlaycompositor.c b/gst-libs/gst/gl/gstgloverlaycompositor.c index 21bbc1ec8..dda34f8b5 100644 --- a/gst-libs/gst/gl/gstgloverlaycompositor.c +++ b/gst-libs/gst/gl/gstgloverlaycompositor.c @@ -354,7 +354,6 @@ gst_gl_composition_overlay_upload (GstGLCompositionOverlay * overlay, flags = gst_video_overlay_rectangle_get_flags (overlay->rectangle); - flags = 0; if (flags & GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA) { alpha_flags = GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA; } else if (!overlay->context->gl_vtable->BlendFuncSeparate) { @@ -717,7 +716,6 @@ gst_gl_overlay_compositor_draw_overlays (GstGLOverlayCompositor * compositor) GstVideoOverlayFormatFlags flags; flags = gst_video_overlay_rectangle_get_flags (overlay->rectangle); - flags = 0; if (flags & GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA || !gl->BlendFuncSeparate) { |