Mercurial > mplayer.hg
diff libmpdemux/demux_rawdv.c @ 17553:67c30d47ffd4
1. Include audio_delay as an argument to demux_seek.
2. Modify demux_seek_avi to adjust the audio/video stream positions so
that mplayer/mencoder will instantly be in sync even when -delay is
specified.
Other demuxers could be modified similarly in the future.
author | corey |
---|---|
date | Tue, 07 Feb 2006 20:22:44 +0000 |
parents | 934380353fd6 |
children | 6c541a8421ca |
line wrap: on
line diff
--- a/libmpdemux/demux_rawdv.c Tue Feb 07 18:17:12 2006 +0000 +++ b/libmpdemux/demux_rawdv.c Tue Feb 07 20:22:44 2006 +0000 @@ -36,7 +36,7 @@ dv_decoder_t *decoder; } rawdv_frames_t; -static void demux_seek_rawdv(demuxer_t *demuxer,float rel_seek_secs,int flags) +static void demux_seek_rawdv(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags) { rawdv_frames_t *frames = (rawdv_frames_t *)demuxer->priv; sh_video_t *sh_video = demuxer->video->sh;