hlsenc: use the correct AV_TIME_BASE macro
recording_time is in AV_TIME_BASE units.
This commit is contained in:
parent
0448f26c97
commit
0d8cc7a3b2
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user