You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
nutdec: set duration_estimation_method
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user