diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-08-23 11:27:35 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-08-23 11:27:35 +0000 |
commit | 8df246ca0cf9876e3865f021668f39da761526fa (patch) | |
tree | 81d5f8ab8e26ef2edc2e1d96ec02d43aaaee04d7 /src/video_out/yuv2rgb_mlib.c | |
parent | 9ca652b0a712f562419b9bc9e6135e640355d7e2 (diff) | |
download | xine-lib-8df246ca0cf9876e3865f021668f39da761526fa.tar.gz xine-lib-8df246ca0cf9876e3865f021668f39da761526fa.tar.bz2 |
Handle different byte order between X11 client <-> X11 server in yuv2rgb.
CVS patchset: 467
CVS date: 2001/08/23 11:27:35
Diffstat (limited to 'src/video_out/yuv2rgb_mlib.c')
-rw-r--r-- | src/video_out/yuv2rgb_mlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_out/yuv2rgb_mlib.c b/src/video_out/yuv2rgb_mlib.c index 7d0b56fa7..34bb582b6 100644 --- a/src/video_out/yuv2rgb_mlib.c +++ b/src/video_out/yuv2rgb_mlib.c @@ -269,8 +269,10 @@ static void mlib_yuv420_abgr32 (yuv2rgb_t *this, } -void yuv2rgb_init_mlib (yuv2rgb_t *this, int mode) +void yuv2rgb_init_mlib (yuv2rgb_t *this, int mode, int swapped) { + if (swapped) return; /*no swapped pixel output upto now*/ + switch (mode) { case MODE_24_RGB: this->yuv2rgb_fun = mlib_yuv420_rgb24; |