diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-30 02:19:05 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-30 02:19:05 +0100 |
commit | 17dc83ab5e69dda27bc97f41c1301b9368d52670 (patch) | |
tree | cd5f09b805cdf9b790d286a8b631af01b116e76b /libavfilter | |
parent | 0ffb61e8cabf35e6022a33a1324fe9ef58ab85a5 (diff) | |
download | ffmpeg-streaming-17dc83ab5e69dda27bc97f41c1301b9368d52670.zip ffmpeg-streaming-17dc83ab5e69dda27bc97f41c1301b9368d52670.tar.gz |
avfilter/vf_cropdetect: add RGB & RGBA support
These where already supported in the code but not listed in the supported
pixel formats.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_cropdetect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c index c2c1bc4..fb7be8e 100644 --- a/libavfilter/vf_cropdetect.c +++ b/libavfilter/vf_cropdetect.c @@ -52,6 +52,8 @@ static int query_formats(AVFilterContext *ctx) AV_PIX_FMT_YUV411P, AV_PIX_FMT_GRAY8, AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUV410P, AV_PIX_FMT_NV12, AV_PIX_FMT_NV21, + AV_PIX_FMT_RGB24, AV_PIX_FMT_BGR24, + AV_PIX_FMT_RGBA, AV_PIX_FMT_BGRA, AV_PIX_FMT_NONE }; |