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
940a116b
Commit
940a116b
authored
Jul 31, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbreak ffplay -s and ffplay -pix_fmt.
parent
8460b757
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
ffplay.texi
doc/ffplay.texi
+5
-4
ffplay.c
ffplay.c
+4
-6
No files found.
doc/ffplay.texi
View file @
940a116b
...
...
@@ -38,8 +38,9 @@ Force displayed width.
@item -y @var
{
height
}
Force displayed height.
@item -s @var
{
size
}
This option has been removed. Use private format options for specifying the
input video size.
Set frame size (WxH or abbreviation), needed for videos which do
not contain a header with the frame size like raw YUV. This option
has been deprecated in favor of private options, try -video
_
size.
@item -an
Disable audio.
@item -vn
...
...
@@ -89,8 +90,8 @@ Read @var{input_file}.
@section Advanced options
@table @option
@item -pix
_
fmt @var
{
format
}
This option has been removed. Use private options for specifying the
input pixel
format.
Set pixel format.
This option has been deprecated in favor of private options, try -pixel
_
format.
@item -stats
Show the stream duration, the codec parameters, the current position in
the stream and the audio/video synchronisation drift.
...
...
ffplay.c
View file @
940a116b
...
...
@@ -2811,9 +2811,8 @@ static void event_loop(void)
static
int
opt_frame_size
(
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Option '%s' has been removed, use private format options instead
\n
"
,
opt
);
return
AVERROR
(
EINVAL
);
av_log
(
NULL
,
AV_LOG_WARNING
,
"Option -s is deprecated, use -video_size.
\n
"
);
return
opt_default
(
"video_size"
,
arg
);
}
static
int
opt_width
(
const
char
*
opt
,
const
char
*
arg
)
...
...
@@ -2840,9 +2839,8 @@ static int opt_format(const char *opt, const char *arg)
static
int
opt_frame_pix_fmt
(
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Option '%s' has been removed, use private format options instead
\n
"
,
opt
);
return
AVERROR
(
EINVAL
);
av_log
(
NULL
,
AV_LOG_WARNING
,
"Option -pix_fmt is deprecated, use -pixel_format.
\n
"
);
return
opt_default
(
"pixel_format"
,
arg
);
}
static
int
opt_sync
(
const
char
*
opt
,
const
char
*
arg
)
...
...
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