aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/buffersink.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-12-31 13:36:12 -0800
committerNiklas Haas <git@haasn.dev>2023-12-31 13:36:12 -0800
commit475a99628d98cc690e6a578fb835022d8faa48fb (patch)
tree9651697e7b05ad8e13ccbdd47dab5f53d6de1932 /libavfilter/buffersink.h
parente82277b54802365b3e6d7d524b63b3bebd3e8151 (diff)
downloadffmpeg-475a99628d98cc690e6a578fb835022d8faa48fb.tar.gz
avfilter/buffersink: add color space/range accessors
Needed for fftools.
Diffstat (limited to 'libavfilter/buffersink.h')
-rw-r--r--libavfilter/buffersink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h
index 64e08de53e..a9374b8b4f 100644
--- a/libavfilter/buffersink.h
+++ b/libavfilter/buffersink.h
@@ -117,6 +117,8 @@ AVRational av_buffersink_get_frame_rate (const AVFilterContext *c
int av_buffersink_get_w (const AVFilterContext *ctx);
int av_buffersink_get_h (const AVFilterContext *ctx);
AVRational av_buffersink_get_sample_aspect_ratio (const AVFilterContext *ctx);
+enum AVColorSpace av_buffersink_get_colorspace (const AVFilterContext *ctx);
+enum AVColorRange av_buffersink_get_color_range (const AVFilterContext *ctx);
int av_buffersink_get_channels (const AVFilterContext *ctx);
#if FF_API_OLD_CHANNEL_LAYOUT