[FFmpeg-cvslog] ffmpeg_opt: fix copy_tb

Michael Niedermayer git at videolan.org
Mon Aug 20 16:10:19 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 20 16:02:03 2012 +0200| [581537cfd5b6fca028dd071996ad469d81ec0180] | committer: Michael Niedermayer

ffmpeg_opt: fix copy_tb

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=581537cfd5b6fca028dd071996ad469d81ec0180
---

 ffmpeg_opt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 0e17463..ca9d5ee 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2236,7 +2236,7 @@ const OptionDef options[] = {
     { "async", HAS_ARG | OPT_INT | OPT_EXPERT, {&audio_sync_method}, "audio sync method", "" },
     { "adrift_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {&audio_drift_threshold}, "audio drift threshold", "threshold" },
     { "copyts", OPT_BOOL | OPT_EXPERT, {&copy_ts}, "copy timestamps" },
-    { "copytb", HAS_ARG | OPT_BOOL | OPT_EXPERT, {.func_arg = &copy_tb}, "copy input stream time base when stream copying", "mode" },
+    { "copytb", HAS_ARG | OPT_INT | OPT_EXPERT, {&copy_tb}, "copy input stream time base when stream copying", "mode" },
     { "shortest", OPT_BOOL | OPT_EXPERT | OPT_OFFSET, {.off = OFFSET(shortest)}, "finish encoding within shortest input" },
     { "dts_delta_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {&dts_delta_threshold}, "timestamp discontinuity delta threshold", "threshold" },
     { "dts_error_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {&dts_error_threshold}, "timestamp error delta threshold", "threshold" },



More information about the ffmpeg-cvslog mailing list