Commit ab3b4bc8 authored by Sebastian Dröge's avatar Sebastian Dröge

alpha: Add property to allow passthrough mode

This passthrough mode is used if the alpha method is "set"
and the alpha value is 1.0.

Fixes bug #617512.
parent 2d13b153
This diff is collapsed.
......@@ -70,6 +70,8 @@ struct _GstAlpha
/* <private> */
/* caps */
GStaticMutex lock;
GstVideoFormat in_format, out_format;
gint width, height;
gboolean in_sdtv, out_sdtv;
......@@ -88,6 +90,8 @@ struct _GstAlpha
guint black_sensitivity;
guint white_sensitivity;
gboolean prefer_passthrough;
/* processing function */
void (*process) (const guint8 *src, guint8 *dest, gint width, gint height, GstAlpha *alpha);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment