mirror of https://git.ffmpeg.org/ffmpeg.git
set some categories of some AVClass structs
Please help setting the category for all remaining AVClasses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
44c10168cf
commit
a5c7525bcb
|
@ -73,6 +73,7 @@ static const AVClass av_codec_context_class = {
|
||||||
.log_level_offset_offset = offsetof(AVCodecContext, log_level_offset),
|
.log_level_offset_offset = offsetof(AVCodecContext, log_level_offset),
|
||||||
.child_next = codec_child_next,
|
.child_next = codec_child_next,
|
||||||
.child_class_next = codec_child_class_next,
|
.child_class_next = codec_child_class_next,
|
||||||
|
.category = AV_CLASS_CATEGORY_ENCODER,
|
||||||
};
|
};
|
||||||
|
|
||||||
#if FF_API_ALLOC_CONTEXT
|
#if FF_API_ALLOC_CONTEXT
|
||||||
|
|
|
@ -58,6 +58,7 @@ static const AVClass aformat_class = {
|
||||||
.item_name = av_default_item_name,
|
.item_name = av_default_item_name,
|
||||||
.option = options,
|
.option = options,
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
|
.category = AV_CLASS_CATEGORY_FILTER,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define PARSE_FORMATS(str, type, list, add_to_list, get_fmt, none, desc) \
|
#define PARSE_FORMATS(str, type, list, add_to_list, get_fmt, none, desc) \
|
||||||
|
|
|
@ -376,6 +376,7 @@ static const AVClass avfilter_class = {
|
||||||
.class_name = "AVFilter",
|
.class_name = "AVFilter",
|
||||||
.item_name = filter_name,
|
.item_name = filter_name,
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
|
.category = AV_CLASS_CATEGORY_FILTER,
|
||||||
};
|
};
|
||||||
|
|
||||||
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)
|
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)
|
||||||
|
|
|
@ -258,6 +258,7 @@ static const AVClass abuffer_class = {
|
||||||
.item_name = av_default_item_name,
|
.item_name = av_default_item_name,
|
||||||
.option = audio_options,
|
.option = audio_options,
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
|
.category = AV_CLASS_CATEGORY_FILTER,
|
||||||
};
|
};
|
||||||
|
|
||||||
static av_cold int init_audio(AVFilterContext *ctx, const char *args, void *opaque)
|
static av_cold int init_audio(AVFilterContext *ctx, const char *args, void *opaque)
|
||||||
|
|
|
@ -83,6 +83,7 @@ static const AVClass av_format_context_class = {
|
||||||
.version = LIBAVUTIL_VERSION_INT,
|
.version = LIBAVUTIL_VERSION_INT,
|
||||||
.child_next = format_child_next,
|
.child_next = format_child_next,
|
||||||
.child_class_next = format_child_class_next,
|
.child_class_next = format_child_class_next,
|
||||||
|
.category = AV_CLASS_CATEGORY_MUXER,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void avformat_get_context_defaults(AVFormatContext *s)
|
static void avformat_get_context_defaults(AVFormatContext *s)
|
||||||
|
|
Loading…
Reference in New Issue