summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-09-05 19:23:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-09-05 19:23:32 +0000
commit2c00106c2b07d38ec90cc9906aef2437df6f1ad7 (patch)
treebdbc23d9cb776b0d73d4578fb309daee9269f2c3 /ffmpeg.c
parent577cd173e3881cbb5f7e5386c04d5384a7bf9408 (diff)
ignore index parameter to ignore the ODML index in avi
Originally committed as revision 6177 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1bc63ac4d0..6f4fcb2c14 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -162,7 +162,6 @@ static int frame_skip_factor= 0;
static int frame_skip_exp= 0;
static int loop_input = 0;
static int loop_output = AVFMT_NOOUTPUTLOOP;
-static int genpts = 0;
static int qp_hist = 0;
static int gop_size = 12;
@@ -2816,9 +2815,6 @@ static void opt_input_file(const char *filename)
ic->loop_input = loop_input;
- if(genpts)
- ic->flags|= AVFMT_FLAG_GENPTS;
-
/* If not enough info to get the stream parameters, we decode the
first frames to get it. (used in mpeg case for example) */
ret = av_find_stream_info(ic);
@@ -4080,7 +4076,6 @@ const OptionDef options[] = {
{ "skip_factor", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_factor}, "frame skip factor", "factor" },
{ "skip_exp", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_exp}, "frame skip exponent", "exponent" },
{ "newvideo", OPT_VIDEO, {(void*)opt_new_video_stream}, "add a new video stream to the current output stream" },
- { "genpts", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, { (void *)&genpts }, "generate pts" },
{ "qphist", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, { (void *)&qp_hist }, "show QP histogram" },
/* audio options */