X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fscreen%2Fx11.c;h=6febe21d1176902df247bcf4dced3abc7aa97dc2;hb=dc723a84d4d51c3db68193966c46be82dd0f7e15;hp=e8ba1df76a0871c8b426c388cef2a9be332d9d81;hpb=c624c5f79002b425a62bad11baaea349203e1a34;p=vlc diff --git a/modules/access/screen/x11.c b/modules/access/screen/x11.c index e8ba1df76a..6febe21d11 100644 --- a/modules/access/screen/x11.c +++ b/modules/access/screen/x11.c @@ -1,7 +1,7 @@ /***************************************************************************** * x11.c: Screen capture module. ***************************************************************************** - * Copyright (C) 2004 VideoLAN + * Copyright (C) 2004 the VideoLAN team * $Id$ * * Authors: Gildas Bazin @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** @@ -69,9 +69,10 @@ int screen_InitCapture( demux_t *p_demux ) case 16: i_chroma = VLC_FOURCC('R','V','1','6'); break; case 24: - i_chroma = VLC_FOURCC('R','V','2','4'); break; case 32: - i_chroma = VLC_FOURCC('R','V','3','2'); break; + i_chroma = VLC_FOURCC('R','V','3','2'); + win_info.depth = 32; + break; default: msg_Err( p_demux, "unknown screen depth %i", win_info.depth ); XCloseDisplay( p_display );