You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
hlsenc: use the correct AV_TIME_BASE macro
recording_time is in AV_TIME_BASE units.
This commit is contained in:
@@ -187,7 +187,7 @@ static int hls_write_header(AVFormatContext *s)
|
|||||||
|
|
||||||
hls->number = 0;
|
hls->number = 0;
|
||||||
|
|
||||||
hls->recording_time = hls->time * 1000000;
|
hls->recording_time = hls->time * AV_TIME_BASE;
|
||||||
hls->start_pts = AV_NOPTS_VALUE;
|
hls->start_pts = AV_NOPTS_VALUE;
|
||||||
|
|
||||||
for (i = 0; i < s->nb_streams; i++)
|
for (i = 0; i < s->nb_streams; i++)
|
||||||
|
Reference in New Issue
Block a user