GNOME Bugzilla – Bug 357038
[ffmpegcolorspace] RGBA handling broken
Last modified: 2006-11-20 14:44:24 UTC
~ $ gst-launch-0.10 videotestsrc ! 'video/x-raw-rgb,red_mask=(int)-16777216,alpha_mask=(int)255,bpp=32,depth=32' ! ffmpegcolorspace ! 'video/x-raw-rgb,bpp=32,depth=24' ! ximagesink -v This produces a test image with wrong colours. The (currently disabled) unit test I've added also fails, try ~/gst-plugins-base/tests/check $ make elements/ffmpegcolorspace.check for details (problem might be anywhere, but I suspect it's ffmpegcolorspace, since the videotestsrc check passes).
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps): Fix RGBA32 caps. Fixes #357038.