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
609285af
Commit
609285af
authored
Dec 04, 2019
by
Zhao Zhili
Committed by
Nicolas George
Dec 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fftools/ffmpeg_filter: remove sws_param option from buffersrc
The option is deprecated and ignored by buffersrc.
parent
c1411a11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ffmpeg_filter.c
fftools/ffmpeg_filter.c
+2
-3
No files found.
fftools/ffmpeg_filter.c
View file @
609285af
...
...
@@ -786,10 +786,9 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter,
av_bprint_init
(
&
args
,
0
,
AV_BPRINT_SIZE_AUTOMATIC
);
av_bprintf
(
&
args
,
"video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:"
"pixel_aspect=%d/%d
:sws_param=flags=%d
"
,
"pixel_aspect=%d/%d"
,
ifilter
->
width
,
ifilter
->
height
,
ifilter
->
format
,
tb
.
num
,
tb
.
den
,
sar
.
num
,
sar
.
den
,
SWS_BILINEAR
+
((
ist
->
dec_ctx
->
flags
&
AV_CODEC_FLAG_BITEXACT
)
?
SWS_BITEXACT
:
0
));
tb
.
num
,
tb
.
den
,
sar
.
num
,
sar
.
den
);
if
(
fr
.
num
&&
fr
.
den
)
av_bprintf
(
&
args
,
":frame_rate=%d/%d"
,
fr
.
num
,
fr
.
den
);
snprintf
(
name
,
sizeof
(
name
),
"graph %d input from stream %d:%d"
,
fg
->
index
,
...
...
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