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
37abc8cc
Commit
37abc8cc
authored
Jul 28, 2016
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/hdcd: fix style
parent
4791716c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
af_hdcd.c
libavfilter/af_hdcd.c
+7
-5
No files found.
libavfilter/af_hdcd.c
View file @
37abc8cc
...
...
@@ -852,16 +852,16 @@ typedef struct {
}
hdcd_state_t
;
typedef
enum
{
HDCD_PE_NEVER
=
0
,
HDCD_PE_INTERMITTENT
=
1
,
HDCD_PE_PERMANENT
=
2
HDCD_PE_NEVER
=
0
,
HDCD_PE_INTERMITTENT
=
1
,
HDCD_PE_PERMANENT
=
2
,
}
hdcd_pe_t
;
static
const
char
*
const
pe_str
[]
=
{
"never enabled"
,
"enabled intermittently"
,
"enabled permanently"
};
};
typedef
struct
HDCDContext
{
const
AVClass
*
class
;
...
...
@@ -1165,7 +1165,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
s
->
peak_extend
=
HDCD_PE_PERMANENT
;
else
s
->
peak_extend
=
HDCD_PE_INTERMITTENT
;
}
else
s
->
peak_extend
=
HDCD_PE_NEVER
;
}
else
{
s
->
peak_extend
=
HDCD_PE_NEVER
;
}
/* HDCD is detected if a valid packet is active in all (both)
* channels at the same time. */
if
(
detect
==
inlink
->
channels
)
s
->
hdcd_detected
=
1
;
...
...
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