From e0fa673d823a064e44e51c04985ba9accdfc5389 Mon Sep 17 00:00:00 2001 From: Steinar Gunderson Date: Thu, 23 Sep 2010 23:54:01 +0200 Subject: [PATCH] Make sdi.c actually compile. --- modules/access/sdi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.2