Commit 45d484b9 authored by Benjamin Pracht's avatar Benjamin Pracht

Endianness fix for xvideo vout on big endian processors (I still have problems...

Endianness fix for xvideo vout on big endian processors (I still have problems when shm is disabled, but that might be related to my drivers, if anybody could test that).

parent 048769f9
......@@ -1173,7 +1173,8 @@ static int NewPicture( vout_thread_t *p_vout, picture_t *p_pic )
p_pic->p_sys->p_image =
CreateShmImage( p_vout, p_vout->p_sys->p_display,
# ifdef MODULE_NAME_IS_xvideo
p_vout->p_sys->i_xvport, p_vout->output.i_chroma,
p_vout->p_sys->i_xvport,
VLC2X11_FOURCC(p_vout->output.i_chroma),
# else
p_vout->p_sys->p_visual,
p_vout->p_sys->i_screen_depth,
......@@ -1188,7 +1189,8 @@ static int NewPicture( vout_thread_t *p_vout, picture_t *p_pic )
p_pic->p_sys->p_image =
CreateImage( p_vout, p_vout->p_sys->p_display,
#ifdef MODULE_NAME_IS_xvideo
p_vout->p_sys->i_xvport, p_vout->output.i_chroma,
p_vout->p_sys->i_xvport,
VLC2X11_FOURCC(p_vout->output.i_chroma),
p_pic->format.i_bits_per_pixel,
#else
p_vout->p_sys->p_visual,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment