[Bug 796846] compositor: Use 255 as maximum alpha instead of 256
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 23 08:25:28 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796846
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #373108|reviewed |none
status| |
Attachment #373108|0 |1
is obsolete| |
--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 373120
--> https://bugzilla.gnome.org/attachment.cgi?id=373120&action=edit
compositor: Use 255 as maximum alpha instead of 256
255 will easily become 0 in the blending function as they expect
the maximum value to be 255.
Can be reproduce with
gst-launch-1.0 videotestsrc pattern=ball ! c.sink_0 \
videotestsrc pattern=snow ! c.sink_1 \
compositor name=c \
sink_0::zorder=0 sink_1::zorder=1 sink_0::crossfade-ratio=0.5
\
background=black ! \
videoconvert ! xvimagesink
crossfade-ratio +/- 0.001 makes it work correctly and the same happens
at e.g. 0.25, 0.75, N*0.0625
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list