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
227b4458
Commit
227b4458
authored
Apr 12, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_interlace: fix frame rate
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ebbd4fd5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
25 deletions
+27
-25
vf_interlace.c
libavfilter/vf_interlace.c
+2
-0
filter-interlace
tests/ref/fate/filter-interlace
+25
-25
No files found.
libavfilter/vf_interlace.c
View file @
227b4458
...
...
@@ -113,8 +113,10 @@ static int config_out_props(AVFilterLink *outlink)
outlink
->
w
=
inlink
->
w
;
outlink
->
h
=
inlink
->
h
;
outlink
->
time_base
=
inlink
->
time_base
;
outlink
->
frame_rate
=
inlink
->
frame_rate
;
// half framerate
outlink
->
time_base
.
num
*=
2
;
outlink
->
frame_rate
.
den
*=
2
;
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"%s interlacing %s lowpass filter
\n
"
,
s
->
scan
==
MODE_TFF
?
"tff"
:
"bff"
,
(
s
->
lowpass
)
?
"with"
:
"without"
);
...
...
tests/ref/fate/filter-interlace
View file @
227b4458
#tb 0:
1
/25
#tb 0:
2
/25
0, 0, 0, 1, 152064, 0x6077db38
0,
2, 2
, 1, 152064, 0x3d4f1b15
0,
4, 4
, 1, 152064, 0x447594f6
0,
6, 6
, 1, 152064, 0xb6258a38
0,
8, 8
, 1, 152064, 0x296abb09
0,
10, 10
, 1, 152064, 0x0fad069d
0,
12, 12
, 1, 152064, 0x92c78c0d
0,
14, 14
, 1, 152064, 0x645531fd
0,
16, 16
, 1, 152064, 0xe7652880
0,
18, 18
, 1, 152064, 0x496e1151
0,
20, 2
0, 1, 152064, 0x7f7cfb06
0,
22, 22
, 1, 152064, 0x45e9affe
0,
24, 24
, 1, 152064, 0xaedb2d3a
0,
26, 26
, 1, 152064, 0x03fd9ae6
0,
28, 28
, 1, 152064, 0x2084e84d
0,
30, 30
, 1, 152064, 0xcf05faf6
0,
32, 32
, 1, 152064, 0x84c746c2
0,
34, 34
, 1, 152064, 0x898a6321
0,
36, 36
, 1, 152064, 0xe12b7fe9
0,
38, 38
, 1, 152064, 0x12feb756
0,
40, 4
0, 1, 152064, 0xd813601a
0,
42, 42
, 1, 152064, 0xc0f3d385
0,
44, 44
, 1, 152064, 0xfca3a63f
0,
46, 46
, 1, 152064, 0xa0796f44
0,
48, 48
, 1, 152064, 0x1d26af11
0,
1, 1
, 1, 152064, 0x3d4f1b15
0,
2, 2
, 1, 152064, 0x447594f6
0,
3, 3
, 1, 152064, 0xb6258a38
0,
4, 4
, 1, 152064, 0x296abb09
0,
5, 5
, 1, 152064, 0x0fad069d
0,
6, 6
, 1, 152064, 0x92c78c0d
0,
7, 7
, 1, 152064, 0x645531fd
0,
8, 8
, 1, 152064, 0xe7652880
0,
9, 9
, 1, 152064, 0x496e1151
0,
10, 1
0, 1, 152064, 0x7f7cfb06
0,
11, 11
, 1, 152064, 0x45e9affe
0,
12, 12
, 1, 152064, 0xaedb2d3a
0,
13, 13
, 1, 152064, 0x03fd9ae6
0,
14, 14
, 1, 152064, 0x2084e84d
0,
15, 15
, 1, 152064, 0xcf05faf6
0,
16, 16
, 1, 152064, 0x84c746c2
0,
17, 17
, 1, 152064, 0x898a6321
0,
18, 18
, 1, 152064, 0xe12b7fe9
0,
19, 19
, 1, 152064, 0x12feb756
0,
20, 2
0, 1, 152064, 0xd813601a
0,
21, 21
, 1, 152064, 0xc0f3d385
0,
22, 22
, 1, 152064, 0xfca3a63f
0,
23, 23
, 1, 152064, 0xa0796f44
0,
24, 24
, 1, 152064, 0x1d26af11
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