Commit 425be3c8 authored by Derek Buitenhuis's avatar Derek Buitenhuis Committed by Paul B Mahol

mov: Remove old b-frame/video delay heuristic

This was added before edts support existed, and is no longer
valid.
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 04f8d312
......@@ -2801,9 +2801,6 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
empty_duration = av_rescale(empty_duration, sc->time_scale, mov->time_scale);
sc->time_offset = start_time - empty_duration;
current_dts = -sc->time_offset;
if (sc->ctts_count>0 && sc->stts_count>0 &&
sc->ctts_data[0].duration / FFMAX(sc->stts_data[0].duration, 1) > 16)
st->codecpar->video_delay = 1;
}
if (!unsupported && st->codecpar->codec_id == AV_CODEC_ID_AAC && start_time > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment