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
5f509fa2
Commit
5f509fa2
authored
May 28, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log: add category to AVClass
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
23b365f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
avutil.h
libavutil/avutil.h
+1
-1
log.h
libavutil/log.h
+18
-0
No files found.
libavutil/avutil.h
View file @
5f509fa2
...
...
@@ -153,7 +153,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 5
5
#define LIBAVUTIL_VERSION_MINOR 5
6
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
...
...
libavutil/log.h
View file @
5f509fa2
...
...
@@ -25,6 +25,18 @@
#include "avutil.h"
#include "attributes.h"
typedef
enum
{
AV_CLASS_CATEGORY_NA
=
0
,
AV_CLASS_CATEGORY_INPUT
,
AV_CLASS_CATEGORY_OUTPUT
,
AV_CLASS_CATEGORY_MUXER
,
AV_CLASS_CATEGORY_DEMUXER
,
AV_CLASS_CATEGORY_ENCODER
,
AV_CLASS_CATEGORY_DECODER
,
AV_CLASS_CATEGORY_FILTER
,
AV_CLASS_CATEGORY_BITSTREAM_FILTER
,
}
AVClassCategory
;
/**
* Describe the class of an AVClass context structure. That is an
* arbitrary struct of which the first field is a pointer to an
...
...
@@ -86,6 +98,12 @@ typedef struct AVClass {
* child_class_next iterates over _all possible_ children.
*/
const
struct
AVClass
*
(
*
child_class_next
)(
const
struct
AVClass
*
prev
);
/**
* Category used for visualization (like color)
* available since version (51 << 16 | 56 << 8 | 100)
*/
AVClassCategory
category
;
}
AVClass
;
/* av_log API */
...
...
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