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:
0448f26
)
hlsenc: use the correct AV_TIME_BASE macro
author
Kanglin
<kl222@126.com>
Sat, 29 Dec 2012 10:44:33 +0000
(11:44 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Sat, 29 Dec 2012 16:26:30 +0000
(17:26 +0100)
recording_time is in AV_TIME_BASE units.
libavformat/hlsenc.c
patch
|
blob
|
history
diff --git
a/libavformat/hlsenc.c
b/libavformat/hlsenc.c
index
39e8df9
..
71c0c34
100644
(file)
--- a/
libavformat/hlsenc.c
+++ b/
libavformat/hlsenc.c
@@
-187,7
+187,7
@@
static int hls_write_header(AVFormatContext *s)
hls->number = 0;
- hls->recording_time = hls->time *
1000000
;
+ hls->recording_time = hls->time *
AV_TIME_BASE
;
hls->start_pts = AV_NOPTS_VALUE;
for (i = 0; i < s->nb_streams; i++)