]> git.sesse.net Git - vlc/blobdiff - modules/demux/subtitle_asa.c
Qt4 Playlist: Disable moving items into top level of Playlist/Library Selector Panel
[vlc] / modules / demux / subtitle_asa.c
index 7a654f302a40d0d776bb6e26a1d90d730c73b768..4882206a3cbd53a7b2bd34a0416d339b745cfaf4 100644 (file)
@@ -252,11 +252,11 @@ static int Open ( vlc_object_t *p_this )
     /* *** add subtitle ES *** */
     if( p_detect->fmt->target == ASAI_TARGET_SSA )
     {
-        es_format_Init( &fmt, SPU_ES, VLC_FOURCC( 's','s','a',' ' ) );
+        es_format_Init( &fmt, SPU_ES, VLC_CODEC_SSA );
     }
     else
     {
-        es_format_Init( &fmt, SPU_ES, VLC_FOURCC( 's','u','b','t' ) );
+        es_format_Init( &fmt, SPU_ES, VLC_CODEC_SUBT );
     }
     p_sys->es = es_out_Add( p_demux->out, &fmt );