Commit ac2d3b0f authored by Michael Niedermayer's avatar Michael Niedermayer

nutdec: set duration_estimation_method

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3233ad4b
......@@ -568,6 +568,8 @@ static int64_t find_duration(NUTContext *nut, int64_t filesize)
duration = FFMAX(duration, ts);
pos++;
}
if(duration > 0)
s->duration_estimation_method = AVFMT_DURATION_FROM_PTS;
return duration;
}
......
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