aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValerii Zapodovnikov <val.zapod.vz@gmail.com>2021-06-07 11:02:23 +0300
committerMarton Balint <cus@passwd.hu>2021-06-08 21:55:14 +0200
commit3249b963421cf5ff0e6adf2e38c86194fdf50929 (patch)
tree07485753b9ef1f7a692dd24df47761b17e86530d
parent812f39ee85ac27a7e11a374150e60a4614f060b1 (diff)
downloadffmpeg-3249b963421cf5ff0e6adf2e38c86194fdf50929.tar.gz
fftools/ffplay: 240M matrix is not the same as BT.601
Signed-off-by: Valerii Zapodovnikov <val.zapod.vz@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--fftools/ffplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 0be1d90bf9..826c3ba5b4 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -965,10 +965,10 @@ static void set_sdl_yuv_conversion_mode(AVFrame *frame)
mode = SDL_YUV_CONVERSION_JPEG;
else if (frame->colorspace == AVCOL_SPC_BT709)
mode = SDL_YUV_CONVERSION_BT709;
- else if (frame->colorspace == AVCOL_SPC_BT470BG || frame->colorspace == AVCOL_SPC_SMPTE170M || frame->colorspace == AVCOL_SPC_SMPTE240M)
+ else if (frame->colorspace == AVCOL_SPC_BT470BG || frame->colorspace == AVCOL_SPC_SMPTE170M)
mode = SDL_YUV_CONVERSION_BT601;
}
- SDL_SetYUVConversionMode(mode);
+ SDL_SetYUVConversionMode(mode); /* FIXME: no support for linear transfer */
#endif
}