projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982d161
)
oops, got the RGB32 codecs wrong
author
Benjamin Otte
<otte@gnome.org>
Tue, 25 Nov 2003 04:57:43 +0000
(
04:57
+0000)
committer
Benjamin 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
patch
|
blob
|
history
diff --git
a/ext/ffmpeg/gstffmpegcodecmap.c
b/ext/ffmpeg/gstffmpegcodecmap.c
index
2f43f15
..
35876cd
100644
(file)
--- a/
ext/ffmpeg/gstffmpegcodecmap.c
+++ b/
ext/ffmpeg/gstffmpegcodecmap.c
@@
-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: