Commit 13131685 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: avoid negative timestamps for DVD

dvdauthor cannot handle files with ts wraps

Fixes ticket383
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2eb2e179
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment