[FFmpeg-cvslog] ffmpeg: avoid negative timestamps for DVD
Michael Niedermayer
git at videolan.org
Tue Jan 1 05:48:29 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jan 1 04:59:03 2013 +0100| [13131685f18728ba7f1d791b75dd2b4587df3ab1] | committer: Michael Niedermayer
ffmpeg: avoid negative timestamps for DVD
dvdauthor cannot handle files with ts wraps
Fixes ticket383
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13131685f18728ba7f1d791b75dd2b4587df3ab1
---
ffmpeg_opt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index fcd6048..cd65065 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list