]> git.sesse.net Git - vlc/blobdiff - modules/visualization/galaktos/plugin.c
Replaced vout_InitPicture/Format with their equivalent.
[vlc] / modules / visualization / galaktos / plugin.c
index 97cfca3ec621c4cc086c8d68dbefc6f257baf545..5f7dfdae4e8ad6f635696be3ceefae97bd979208 100644 (file)
@@ -210,8 +210,8 @@ static void* Thread( vlc_object_t *p_this )
     vlc_object_attach( p_thread->p_opengl, p_this );
 
     /* Initialize vout parameters */
-    vout_InitFormat( &p_thread->p_opengl->fmt_in,
-                     VLC_CODEC_RGB32, p_thread->i_width, p_thread->i_height, 1 );
+    video_format_Setup( &p_thread->p_opengl->fmt_in,
+                        VLC_CODEC_RGB32, p_thread->i_width, p_thread->i_height, 1 );
     p_thread->p_opengl->i_window_width = p_thread->i_width;
     p_thread->p_opengl->i_window_height = p_thread->i_height;
     p_thread->p_opengl->render.i_width = p_thread->i_width;