OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f27ec
)
lavf: increase retries to guess duration from pts by 1
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Oct 2012 14:53:48 +0000
(16:53 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Oct 2012 15:31:31 +0000
(17:31 +0200)
This fixes finding the duration for one TS file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
f27104e
..
7a734d4
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2140,7
+2140,7
@@
static void estimate_timings_from_bit_rate(AVFormatContext *ic)
}
#define DURATION_MAX_READ_SIZE 250000
-#define DURATION_MAX_RETRY
3
+#define DURATION_MAX_RETRY
4
/* only usable for MPEG-PS streams */
static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset)