This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
nutdec: set duration_estimation_method
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer
13 years ago
parent
3233ad4b44
commit
ac2d3b0f6e
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/nutdec.c
+ 2
- 0
libavformat/nutdec.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save