[gstreamer-bugs] [Bug 354773] xvimage assumes that XV_COLORKEY can be set in RGB888 format

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Sep 18 05:01:12 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=354773
 GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Comment #4 from Stefan Kost (gstreamer, gtkdoc dev)  2006-09-18 12:00 UTC -------
would that be good?

        int ckey=0;

        switch(xcontext->depth) {
          case 15:
            ckey=(1<<10)|(2<<5)|3;
            break;
          case 16:
            ckey=(1<<11)|(2<<5)|3;
            break;
          case 24:
          case 32:
            ckey=(1<<16)|(2<<8)|3;
            break;
          default:
            GST_WARNING("unsupported color depth");
            break;
        }


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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