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
9319e083
Commit
9319e083
authored
Oct 31, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/libopenh264enc: Fix project name
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
a75bebfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libopenh264enc.c
libavcodec/libopenh264enc.c
+3
-3
No files found.
libavcodec/libopenh264enc.c
View file @
9319e083
...
...
@@ -66,7 +66,7 @@ static const AVClass class = {
};
// Convert libopenh264 log level to equivalent ffmpeg log level.
static
int
libopenh264_to_
libav
_log_level
(
int
libopenh264_log_level
)
static
int
libopenh264_to_
ffmpeg
_log_level
(
int
libopenh264_log_level
)
{
if
(
libopenh264_log_level
>=
WELS_LOG_DETAIL
)
return
AV_LOG_TRACE
;
else
if
(
libopenh264_log_level
>=
WELS_LOG_DEBUG
)
return
AV_LOG_DEBUG
;
...
...
@@ -86,8 +86,8 @@ static void libopenh264_trace_callback(void *ctx, int level, char const *msg)
{
// The message will be logged only if the requested EQUIVALENT ffmpeg log level is
// less than or equal to the current ffmpeg log level.
int
equiv_
libav_log_level
=
libopenh264_to_libav
_log_level
(
level
);
av_log
(
ctx
,
equiv_
libav
_log_level
,
"%s
\n
"
,
msg
);
int
equiv_
ffmpeg_log_level
=
libopenh264_to_ffmpeg
_log_level
(
level
);
av_log
(
ctx
,
equiv_
ffmpeg
_log_level
,
"%s
\n
"
,
msg
);
}
static
av_cold
int
svc_encode_close
(
AVCodecContext
*
avctx
)
...
...
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