Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
08d2cee4
Commit
08d2cee4
authored
Aug 03, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -loop_input.
parent
eb29649c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ffmpeg.texi
doc/ffmpeg.texi
+1
-1
ffmpeg.c
ffmpeg.c
+5
-5
No files found.
doc/ffmpeg.texi
View file @
08d2cee4
...
...
@@ -732,7 +732,7 @@ 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.
This option is deprecated, use -loop.
This option is deprecated, use -loop
1
.
@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).
...
...
ffmpeg.c
View file @
08d2cee4
...
...
@@ -3347,6 +3347,11 @@ static int opt_input_file(const char *opt, const char *filename)
find_codec_or_die
(
subtitle_codec_name
,
AVMEDIA_TYPE_SUBTITLE
,
0
);
ic
->
flags
|=
AVFMT_FLAG_NONBLOCK
;
if
(
loop_input
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"-loop_input is deprecated, use -loop 1
\n
"
);
ic
->
loop_input
=
loop_input
;
}
/* open the input file with generic libav function */
err
=
avformat_open_input
(
&
ic
,
filename
,
file_iformat
,
&
format_opts
);
if
(
err
<
0
)
{
...
...
@@ -3379,11 +3384,6 @@ static int opt_input_file(const char *opt, const char *filename)
opt_programid
=
0
;
}
if
(
loop_input
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"-loop_input is deprecated, use -loop 1
\n
"
);
ic
->
loop_input
=
loop_input
;
}
/* Set AVCodecContext options for avformat_find_stream_info */
opts
=
setup_find_stream_info_opts
(
ic
,
codec_opts
);
orig_nb_streams
=
ic
->
nb_streams
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment