diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index a021542500..283e6fe6fb 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -658,6 +658,8 @@ static void handle_new_stream(demuxer_t *demuxer, int i) export_replaygain(demuxer, sh, st); + sh->seek_preroll = delay; + break; } case AVMEDIA_TYPE_VIDEO: {