[gstreamer-bugs] [Bug 451908] [ffmpegcolorspace] regression: doesn't accept GST_VIDEO_CAPS_RGBA

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jun 29 08:59:59 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=451908

  GStreamer | gst-plugins-base | Ver: HEAD CVS




------- Comment #2 from Jan Schmidt  2007-06-29 15:59 UTC -------
So, the problem is triggered by the acceptcaps changes in core, but caused by a
mismatch in the pad caps pngdec uses for RGBA versus ffmpegcolorspace:

/pipeline0/pngdec0.src: caps = video/x-raw-rgb, width=(int)1501,
height=(int)391, bpp=(int)32, framerate=(fraction)0/1, depth=(int)32,
endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680,
blue_mask=(int)65280, alpha_mask=(int)255

This is "RGBA"

ffmpegcolorspace has:

      video/x-raw-rgb
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
                    bpp: 32
                  depth: 32
               red_mask: 65280
             green_mask: 16711680
              blue_mask: -16777216
             alpha_mask: 255
             endianness: 4321

which is "BGRA".

If I hack ffmpegcolorspace to have the same masks as pngdec, it produces the
attached image as output which is obviously not correct but seems to have the
right colours, implying that the pngdec masks are right, and ffmpegcolorspace's
are currently not, we just never noticed because it was accepting the caps
anyway?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=451908.




More information about the Gstreamer-bugs mailing list