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
8c616b3b
Commit
8c616b3b
authored
Mar 23, 2017
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avplay: Use the named syntax for buffersrc arguments
Avoid confusion.
parent
883ce264
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
avplay.c
avtools/avplay.c
+2
-1
No files found.
avtools/avplay.c
View file @
8c616b3b
...
...
@@ -1441,7 +1441,8 @@ static int configure_video_filters(AVFilterGraph *graph, PlayerState *is, const
snprintf
(
sws_flags_str
,
sizeof
(
sws_flags_str
),
"flags=%"
PRId64
,
sws_flags
);
graph
->
scale_sws_opts
=
av_strdup
(
sws_flags_str
);
snprintf
(
buffersrc_args
,
sizeof
(
buffersrc_args
),
"%d:%d:%d:%d:%d:%d:%d"
,
snprintf
(
buffersrc_args
,
sizeof
(
buffersrc_args
),
"width=%d:height=%d:pix_fmt=%d:time_base=%d/%d:sar=%d/%d"
,
codec
->
width
,
codec
->
height
,
codec
->
pix_fmt
,
is
->
video_st
->
time_base
.
num
,
is
->
video_st
->
time_base
.
den
,
codec
->
sample_aspect_ratio
.
num
,
codec
->
sample_aspect_ratio
.
den
);
...
...
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