From 581537cfd5b6fca028dd071996ad469d81ec0180 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 20 Aug 2012 16:02:03 +0200 Subject: ffmpeg_opt: fix copy_tb Signed-off-by: Michael Niedermayer --- ffmpeg_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg_opt.c') diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 0e174637c7..ca9d5ee0ad 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, {©_ts}, "copy timestamps" }, - { "copytb", HAS_ARG | OPT_BOOL | OPT_EXPERT, {.func_arg = ©_tb}, "copy input stream time base when stream copying", "mode" }, + { "copytb", HAS_ARG | OPT_INT | OPT_EXPERT, {©_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" }, -- cgit v1.2.3