You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_scale: Add warning for AVCOL_SPC_YCGCO
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -450,6 +450,9 @@ static int filter_frame(AVFilterLink *link, AVFrame *in)
|
||||
char buf[32];
|
||||
int in_range;
|
||||
|
||||
if (av_frame_get_colorspace(in) == AVCOL_SPC_YCGCO)
|
||||
av_log(link->dst, AV_LOG_WARNING, "Detected unsupported YCgCo colorspace.\n");
|
||||
|
||||
if( in->width != link->w
|
||||
|| in->height != link->h
|
||||
|| in->format != link->format) {
|
||||
|
Reference in New Issue
Block a user