They were replaced by (de)muxer private options.
---
doc/ffmpeg.texi | 6 ------
ffmpeg.c | 7 -------
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index cabf395..9619b36 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -728,12 +728,6 @@ Only use bit exact algorithms (for codec testing).
Set RTP payload size in bytes.
@item -re
Read input at native frame rate. Mainly used to simulate a grab device.
-@item -loop_input
-Loop over the input stream. Currently it works only for image
-streams. This option is used for automatic FFserver testing.
-@item -loop_output @var{number_of_times}
-Repeatedly loop output for formats that support looping such as animated GIF
-(0 will loop the output infinitely).
@item -threads @var{count}
Thread count.
@item -vsync @var{parameter}
diff --git a/ffmpeg.c b/ffmpeg.c
index 9f2d5b9..38d2a06 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -154,8 +154,6 @@ static int do_deinterlace = 0;
static int top_field_first = -1;
static int me_threshold = 0;
static int intra_dc_precision = 8;
-static int loop_input = 0;
-static int loop_output = AVFMT_NOOUTPUTLOOP;
static int qp_hist = 0;
#if CONFIG_AVFILTER
static char *vfilters = NULL;
@@ -3244,8 +3242,6 @@ static int opt_input_file(const char *opt, const char
*filename)
opt_programid=0;
}
- ic->loop_input = loop_input;
-
/* Set AVCodecContext options so they will be seen by
av_find_stream_info() */
for (i = 0; i < ic->nb_streams; i++) {
AVCodecContext *dec = ic->streams[i]->codec;
@@ -3895,7 +3891,6 @@ static void opt_output_file(const char *filename)
oc->preload= (int)(mux_preload*AV_TIME_BASE);
oc->max_delay= (int)(mux_max_delay*AV_TIME_BASE);
- oc->loop_output = loop_output;
oc->flags |= AVFMT_FLAG_NONBLOCK;
frame_rate = (AVRational){0, 0};
@@ -4307,8 +4302,6 @@ static const OptionDef options[] = {
{ "hex", OPT_BOOL | OPT_EXPERT, {(void*)&do_hex_dump},
"when dumping packets, also dump the payload" },
{ "re", OPT_BOOL | OPT_EXPERT, {(void*)&rate_emu}, "read input at native
frame rate", "" },
- { "loop_input", OPT_BOOL | OPT_EXPERT, {(void*)&loop_input}, "loop
(current only works with images)" },
- { "loop_output", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&loop_output},
"number of times to loop output in formats that support looping (0 loops
forever)", "" },
{ "v", HAS_ARG, {(void*)opt_verbose}, "set ffmpeg verbosity level",
"number" },
{ "target", HAS_ARG, {(void*)opt_target}, "specify target file type
(\"vcd\", \"svcd\", \"dvd\", \"dv\", \"dv50\", \"pal-vcd\", \"ntsc-svcd\",
...)", "type" },
{ "threads", HAS_ARG | OPT_EXPERT, {(void*)opt_thread_count}, "thread
count", "count" },
--
1.7.5.3
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel