From: Steinar Gunderson Date: Thu, 23 Sep 2010 21:54:01 +0000 (+0200) Subject: Make sdi.c actually compile. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e0fa673d823a064e44e51c04985ba9accdfc5389;p=vlc Make sdi.c actually compile. --- diff --git a/modules/access/sdi.c b/modules/access/sdi.c index bcfa399aa5..6395c27dd0 100644 --- a/modules/access/sdi.c +++ b/modules/access/sdi.c @@ -37,6 +37,7 @@ static int Control( demux_t *, int, va_list ); struct demux_sys_t { + es_out_id_t *p_es; }; static int Open( vlc_object_t *p_this ) @@ -58,11 +59,11 @@ static int Open( vlc_object_t *p_this ) if( !p_sys ) return VLC_ENOMEM; - msg_Debug( p_demux, "hello world" ); + msg_Dbg( p_demux, "hello world" ); /* Declare elementary streams */ es_format_t fmt; - es_format_Init( &fmt, VIDEO_ES, p_sys->i_fourcc ); + es_format_Init( &fmt, VIDEO_ES, VLC_CODEC_YUYV ); fmt.video.i_width = 720; fmt.video.i_height = 576; fmt.video.i_sar_num = 1;