1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

ffmpeg: avoid negative timestamps for DVD

dvdauthor cannot handle files with ts wraps

Fixes ticket383

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-01-01 04:59:03 +01:00
parent 2eb2e1798e
commit 13131685f1

View File

@ -1922,6 +1922,8 @@ static int opt_target(void *optctx, const char *opt, const char *arg)
av_dict_set(&o->g->codec_opts, "b:a", "448000", 0);
parse_option(o, "ar", "48000", options);
av_dict_set(&o->g->format_opts, "avoid_negative_ts", "1", 0);
} else if (!strncmp(arg, "dv", 2)) {
parse_option(o, "f", "dv", options);