changeset 17695:3f20b096782d

Add audio_delay argument to demux_mkv_seek. Some uspecified amount of sugary caffeineated liquid to me.
author corey
date Mon, 27 Feb 2006 19:48:31 +0000
parents d31f44d8a3f1
children 66d7afee9a46
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Mon Feb 27 11:46:35 2006 +0000
+++ b/libmpdemux/demux_mkv.c	Mon Feb 27 19:48:31 2006 +0000
@@ -2078,7 +2078,7 @@
   return 0;
 }
 
-static void demux_mkv_seek (demuxer_t *demuxer, float rel_seek_secs, int flags);
+static void demux_mkv_seek (demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags);
 
 /** \brief Given a matroska track number and type, find the id that mplayer would ask for.
  *  \param d The demuxer for which the subtitle id should be returned.
@@ -2351,7 +2351,7 @@
               mkv_d->has_first_tc = 1;
             }
           demux_mkv_seek (demuxer,
-                          mkv_d->chapters[dvd_chapter-1].start/1000.0, 1);
+                          mkv_d->chapters[dvd_chapter-1].start/1000.0, 0.0, 1);
         }
     }
 
@@ -3126,7 +3126,7 @@
 }
 
 static void
-demux_mkv_seek (demuxer_t *demuxer, float rel_seek_secs, int flags)
+demux_mkv_seek (demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags)
 {
   free_cached_dps (demuxer);
   if (!(flags & 2))  /* time in secs */