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
8a9c5db2
Commit
8a9c5db2
authored
Sep 11, 2014
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/ass: better log level mapping
parent
a87527ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
vf_subtitles.c
libavfilter/vf_subtitles.c
+8
-8
No files found.
libavfilter/vf_subtitles.c
View file @
8a9c5db2
...
@@ -68,14 +68,14 @@ typedef struct {
...
@@ -68,14 +68,14 @@ typedef struct {
/* libass supports a log level ranging from 0 to 7 */
/* libass supports a log level ranging from 0 to 7 */
static
const
int
ass_libavfilter_log_level_map
[]
=
{
static
const
int
ass_libavfilter_log_level_map
[]
=
{
AV_LOG_QUIET
,
/* 0
*/
[
0
]
=
AV_LOG_FATAL
,
/* MSGL_FATAL
*/
AV_LOG_PANIC
,
/* 1
*/
[
1
]
=
AV_LOG_ERROR
,
/* MSGL_ERR
*/
AV_LOG_FATAL
,
/* 2
*/
[
2
]
=
AV_LOG_WARNING
,
/* MSGL_WARN
*/
AV_LOG_ERROR
,
/* 3
*/
[
3
]
=
AV_LOG_WARNING
,
/* <undefined>
*/
AV_LOG_WARNING
,
/* 4
*/
[
4
]
=
AV_LOG_INFO
,
/* MSGL_INFO
*/
AV_LOG_INFO
,
/* 5
*/
[
5
]
=
AV_LOG_INFO
,
/* <undefined>
*/
AV_LOG_VERBOSE
,
/* 6
*/
[
6
]
=
AV_LOG_VERBOSE
,
/* MSGL_V
*/
AV_LOG_DEBUG
,
/* 7
*/
[
7
]
=
AV_LOG_DEBUG
,
/* MSGL_DBG2
*/
};
};
static
void
ass_log
(
int
ass_level
,
const
char
*
fmt
,
va_list
args
,
void
*
ctx
)
static
void
ass_log
(
int
ass_level
,
const
char
*
fmt
,
va_list
args
,
void
*
ctx
)
...
...
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