]> git.sesse.net Git - vlc/commitdiff
Make sdi.c actually compile.
authorSteinar Gunderson <sgunderson@bigfoot.com>
Thu, 23 Sep 2010 21:54:01 +0000 (23:54 +0200)
committerSteinar Gunderson <sgunderson@bigfoot.com>
Thu, 23 Sep 2010 21:54:01 +0000 (23:54 +0200)
modules/access/sdi.c

index bcfa399aa5f0dc6c98703de56863229c3e050f7e..6395c27dd0cd10592b54fe609857d374fe44bf8e 100644 (file)
@@ -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;