[Bug 766060] New: alpha: doesn't correctly work with black or white in custom mode

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 6 12:59:12 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766060

            Bug ID: 766060
           Summary: alpha: doesn't correctly work with black or white in
                    custom mode
    Classification: Platform
           Product: GStreamer
           Version: 1.8.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fraxinas at opendreambox.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

reference command - replace yellow bar in test pattern 0 with circles from
other videotestsrc, works as expected: 
gst-launch-1.0 videotestsrc ! alpha method=3 target-r=255 target-g=255
target-b=0 ! videomixer sink_0::zorder=1 sink_1::zorder=0 name=mixer !
videoconvert ! gtksink videotestsrc pattern=11 ! mixer.

test-commands, white stripe is supposed to be transparent, in fact all others
are :)
gst-launch-1.0 videotestsrc ! alpha method=3 target-r=255 target-g=255
target-b=255 ! videomixer sink_0::zorder=1 sink_1::zorder=0 name=mixer !
videoconvert ! gtksink videotestsrc pattern=11 ! mixer.

same exact symptom with black:
gst-launch-1.0 videotestsrc ! alpha method=3 target-r=0 target-g=0 target-b=0 !
videomixer sink_0::zorder=1 sink_1::zorder=0 name=mixer ! videoconvert !
gtksink videotestsrc pattern=11 ! mixer.

slomo suggested it may have something to do with alpha's internal HSV
conversion. this sounds likely since pure black and white don't have a defined
hue value. i'll take a look

-- 
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