Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-04-19 21:06:52 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-04-19 21:06:52 +0400
commit2e6f7ffcbe706d88cb79246f2c264e5f94d29dc2 (patch)
treec8584258209eaa1f364839794002e2e89d935290
parent690aa9c153c9e1215b90a1a4d2ee3e8aa70c19d2 (diff)
fraps: use BT.709 colorspace for YUV Fraps versionslav0.56.2
-rw-r--r--libavcodec/fraps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c
index 00a38c6169..f378f7e87c 100644
--- a/libavcodec/fraps.c
+++ b/libavcodec/fraps.c
@@ -200,6 +200,7 @@ static int decode_frame(AVCodecContext *avctx,
f->key_frame = 1;
avctx->pix_fmt = version & 1 ? AV_PIX_FMT_BGR24 : AV_PIX_FMT_YUVJ420P;
+ avctx->colorspace = version & 1 ? AVCOL_SPC_UNSPECIFIED : AVCOL_SPC_BT709;
if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0)
return ret;