]> git.sesse.net Git - vlc/commitdiff
Oops, fix subtitle decoding.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 1 Oct 2007 19:37:37 +0000 (19:37 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 1 Oct 2007 19:37:37 +0000 (19:37 +0000)
modules/demux/cdg.c

index de685a519231462312ad264381aa71163e67d7cf..8d7dbf68c9bb15ff689cb55340122acb77e60173 100644 (file)
@@ -73,7 +73,7 @@ static int Open( vlc_object_t * p_this )
 
     /* Identify cdg file by extension, as there is no simple way to
      * detect it */
-    if( !demux2_IsPathExtension( p_demux, ".cdg" ) && !p_demux->b_force )
+    if( !demux2_IsPathExtension( p_demux, ".cdg" ) && !demux2_IsForced( p_demux, "cdg" ) )
         return VLC_EGENERIC;
 
     /* CDG file size has to be multiple of CDG_FRAME_SIZE (it works even