mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
gl/overlaycompositor: don't force unpremultiplied alpha
Remove testing code from 2315936561
This commit is contained in:
parent
2315936561
commit
d63add22d2
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue