oops, got the RGB32 codecs wrong
authorBenjamin Otte <otte@gnome.org>
Tue, 25 Nov 2003 04:57:43 +0000 (04:57 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 25 Nov 2003 04:57:43 +0000 (04:57 +0000)
Original commit message from CVS:
oops, got the RGB32 codecs wrong

ext/ffmpeg/gstffmpegcodecmap.c

index 2f43f15..35876cd 100644 (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: