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
16efcfe4
Commit
16efcfe4
authored
Aug 16, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_weave: fix top vs bottom field order
Fixes #6590.
parent
7b19e76a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
vf_weave.c
libavfilter/vf_weave.c
+4
-4
filter-video.mak
tests/fate/filter-video.mak
+1
-1
No files found.
libavfilter/vf_weave.c
View file @
16efcfe4
...
...
@@ -100,20 +100,20 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
for
(
i
=
0
;
i
<
s
->
nb_planes
;
i
++
)
{
if
(
s
->
double_weave
&&
!
(
inlink
->
frame_count_out
&
1
))
{
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
!
s
->
first_field
,
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
s
->
first_field
,
out
->
linesize
[
i
]
*
2
,
in
->
data
[
i
],
in
->
linesize
[
i
],
s
->
linesize
[
i
],
s
->
planeheight
[
i
]);
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
s
->
first_field
,
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
!
s
->
first_field
,
out
->
linesize
[
i
]
*
2
,
s
->
prev
->
data
[
i
],
s
->
prev
->
linesize
[
i
],
s
->
linesize
[
i
],
s
->
planeheight
[
i
]);
}
else
{
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
s
->
first_field
,
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
!
s
->
first_field
,
out
->
linesize
[
i
]
*
2
,
in
->
data
[
i
],
in
->
linesize
[
i
],
s
->
linesize
[
i
],
s
->
planeheight
[
i
]);
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
!
s
->
first_field
,
av_image_copy_plane
(
out
->
data
[
i
]
+
out
->
linesize
[
i
]
*
s
->
first_field
,
out
->
linesize
[
i
]
*
2
,
s
->
prev
->
data
[
i
],
s
->
prev
->
linesize
[
i
],
s
->
linesize
[
i
],
s
->
planeheight
[
i
]);
...
...
tests/fate/filter-video.mak
View file @
16efcfe4
...
...
@@ -289,7 +289,7 @@ FATE_FILTER_VSYNTH-$(CONFIG_SEPARATEFIELDS_FILTER) += fate-filter-separatefields
fate-filter-separatefields: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf separatefields
FATE_FILTER_VSYNTH-$(CONFIG_WEAVE_FILTER) += fate-filter-weave
fate-filter-weave: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf weave
fate-filter-weave: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf weave
=bottom
FATE_FILTER_VSYNTH-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternate
fate-filter-select-alternate: tests/data/filtergraphs/select-alternate
...
...
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