Commit 4c8ed65b authored by Gildas Bazin's avatar Gildas Bazin

* modules/access/v4l/v4l.c: fixed breakage for devices supporting I420.
parent 82af4a43
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* v4l.c : Video4Linux input module for vlc * v4l.c : Video4Linux input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: v4l.c,v 1.8 2003/04/27 23:16:35 gbazin Exp $ * $Id: v4l.c,v 1.9 2003/04/30 19:20:32 gbazin Exp $
* *
* Author: Samuel Hocevar <sam@zoy.org> * Author: Samuel Hocevar <sam@zoy.org>
* *
...@@ -701,6 +701,9 @@ static int AccessOpen( vlc_object_t *p_this ) ...@@ -701,6 +701,9 @@ static int AccessOpen( vlc_object_t *p_this )
case VIDEO_PALETTE_YUV422P: case VIDEO_PALETTE_YUV422P:
i_chroma = VLC_FOURCC( 'I', '4', '2', '2' ); i_chroma = VLC_FOURCC( 'I', '4', '2', '2' );
break; break;
case VIDEO_PALETTE_YUV420P:
i_chroma = VLC_FOURCC( 'I', '4', '2', '0' );
break;
case VIDEO_PALETTE_YUV411P: case VIDEO_PALETTE_YUV411P:
i_chroma = VLC_FOURCC( 'I', '4', '1', '1' ); i_chroma = VLC_FOURCC( 'I', '4', '1', '1' );
break; break;
......
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