mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 17:52:29 +00:00
oops, got the RGB32 codecs wrong
Original commit message from CVS: oops, got the RGB32 codecs wrong
This commit is contained in:
parent
982d1612b2
commit
767092cb06
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue