]> git.sesse.net Git - vlc/blobdiff - src/video_output/video_text.c
Add --data-path option. Access the src share directory now works from build tree.
[vlc] / src / video_output / video_text.c
index d153b2017930268071485efb764a8a7c3c31b4ab..10639f326c477300db9ba206a147905e9a2177e7 100644 (file)
@@ -92,8 +92,7 @@ int vout_ShowTextAbsolute( vout_thread_t *p_vout, int i_channel,
 
     /* Create a new subpicture region */
     memset( &fmt, 0, sizeof(video_format_t) );
-    fmt.i_chroma = VLC_FOURCC('T','E','X','T');
-    fmt.i_aspect = 0;
+    fmt.i_chroma = VLC_CODEC_TEXT;
     fmt.i_width = fmt.i_height = 0;
     fmt.i_x_offset = fmt.i_y_offset = 0;
     p_spu->p_region = subpicture_region_New( &fmt );