[Cogl] [PATCH] cogl-gst-video-sink: Premultiply the colors coming from the video
Neil Roberts
neil at linux.intel.com
Fri Jan 31 04:41:08 PST 2014
Robert Bragg <robert at sixbynine.org> writes:
> I think it could be good to extend the gtk-doc comment about sampling
> the video via cogl_gst_sample_video0() to explicitly note that this
> function will always return you a premultiplied alpha value.
Ok, I've pushed it with the following extra sentence added to the end of
the description of the cogl_gst_sample_video0 function:
“The function returns a vec4 containing a pre-multiplied RGBA color of
the pixel within the video.”
Thanks for the review.
Regards,
- Neil
More information about the Cogl
mailing list