mirror of
https://github.com/zoriya/Kyoo.Transcoder.git
synced 2025-12-06 06:26:11 +00:00
Changing format of chapters to an easier one
This commit is contained in:
@@ -140,7 +140,7 @@ void extract_chapters(AVFormatContext *ctx, const char *out_path)
|
||||
continue;
|
||||
double start = chapter->start * av_q2d(chapter->time_base);
|
||||
double end = chapter->end * av_q2d(chapter->time_base);
|
||||
dprintf(fd, "%f-%f: %s\n", start, end, name->value);
|
||||
dprintf(fd, "%f %f %s\n", start, end, name->value);
|
||||
}
|
||||
close(fd);
|
||||
free(path);
|
||||
|
||||
Reference in New Issue
Block a user