mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
log: add category to AVClass
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
23b365f1c4
commit
5f509fa2e1
@ -153,7 +153,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define LIBAVUTIL_VERSION_MAJOR 51
|
#define LIBAVUTIL_VERSION_MAJOR 51
|
||||||
#define LIBAVUTIL_VERSION_MINOR 55
|
#define LIBAVUTIL_VERSION_MINOR 56
|
||||||
#define LIBAVUTIL_VERSION_MICRO 100
|
#define LIBAVUTIL_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
||||||
|
@ -25,6 +25,18 @@
|
|||||||
#include "avutil.h"
|
#include "avutil.h"
|
||||||
#include "attributes.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
|
* Describe the class of an AVClass context structure. That is an
|
||||||
* arbitrary struct of which the first field is a pointer to 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.
|
* child_class_next iterates over _all possible_ children.
|
||||||
*/
|
*/
|
||||||
const struct AVClass* (*child_class_next)(const struct AVClass *prev);
|
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;
|
} AVClass;
|
||||||
|
|
||||||
/* av_log API */
|
/* av_log API */
|
||||||
|
Loading…
Reference in New Issue
Block a user