oops, got the RGB32 codecs wrong

Original commit message from CVS:
oops, got the RGB32 codecs wrong
This commit is contained in:
Benjamin Otte 2003-11-25 04:57:43 +00:00
parent 982d1612b2
commit 767092cb06

View file

@ -524,9 +524,9 @@ gst_ffmpeg_pixfmt_to_caps (enum PixelFormat pix_fmt,
bpp = depth = 32;
endianness = G_BIG_ENDIAN;
#if (G_BYTE_ORDER == G_BIG_ENDIAN)
r_mask = 0x0000ff00; g_mask = 0x00ff0000; b_mask = 0xff000000;
#else
r_mask = 0x00ff0000; g_mask = 0x0000ff00; b_mask = 0x000000ff;
#else
r_mask = 0x0000ff00; g_mask = 0x00ff0000; b_mask = 0xff000000;
#endif
break;
case PIX_FMT_YUV410P: