diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-07 00:26:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-07 00:26:37 +0000 |
commit | a8482aab876484da93c04a751ed8f3067f684684 (patch) | |
tree | 1f69b7b63e8eb4b0a2e181cbdb07d10ab4b11e17 /ffmpeg.c | |
parent | d4d226a8d56b44653d316420618beefad86cea3b (diff) | |
download | ffmpeg-a8482aab876484da93c04a751ed8f3067f684684.tar.gz |
make dts_delta_threshold float so values <1 can be used
Originally committed as revision 9970 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -206,7 +206,7 @@ static int input_sync; static uint64_t limit_filesize = 0; // static int pgmyuv_compatibility_hack=0; -static int dts_delta_threshold = 10; +static float dts_delta_threshold = 10; static int sws_flags = SWS_BICUBIC; @@ -3612,7 +3612,7 @@ const OptionDef options[] = { { "vglobal", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&video_global_header}, "video global header storage type", "" }, { "copyts", OPT_BOOL | OPT_EXPERT, {(void*)©_ts}, "copy timestamps" }, { "shortest", OPT_BOOL | OPT_EXPERT, {(void*)&opt_shortest}, "finish encoding within shortest input" }, // - { "dts_delta_threshold", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&dts_delta_threshold}, "timestamp discontinuity delta threshold", "" }, + { "dts_delta_threshold", HAS_ARG | OPT_FLOAT | OPT_EXPERT, {(void*)&dts_delta_threshold}, "timestamp discontinuity delta threshold", "" }, /* video options */ { "vframes", OPT_INT | HAS_ARG | OPT_VIDEO, {(void*)&max_frames[CODEC_TYPE_VIDEO]}, "set the number of video frames to record", "number" }, |