]> git.sesse.net Git - vlc/commitdiff
* The vobsub param is Delay, not delay.
authorDerk-Jan Hartman <hartman@videolan.org>
Sun, 22 Jan 2006 22:20:19 +0000 (22:20 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sun, 22 Jan 2006 22:20:19 +0000 (22:20 +0000)
modules/demux/vobsub.c

index ce0b29019b251c32d4595da4ec527da28dfc221b..cba3a915ae79a7be8ceccf802f699aba0f0bfdf0 100644 (file)
@@ -602,7 +602,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
                 current_sub->i_vobsub_location = i_location;
             }
         }
-        else if( !strncmp( line, "delay:", 6 ) )
+        else if( !strncmp( line, "Delay:", 6 ) )
         {
             /*
              * delay: [sign]hh:mm:ss:mss
@@ -613,7 +613,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
 
             vobsub_track_t *current_tk = &p_sys->track[p_sys->i_tracks - 1];
 
-            if( sscanf( line, "delay: %d%n:%d:%d:%d",
+            if( sscanf( line, "Delay: %d%n:%d:%d:%d",
                         &h, &count, &m, &s, &ms ) >= 4 )
             {
                 if( line[count-3] == '-' )