Commit 6612a03d authored by Vittorio Giovara's avatar Vittorio Giovara

fraps: set color_range

parent 5b1b91cf
......@@ -175,6 +175,8 @@ static int decode_frame(AVCodecContext *avctx,
av_frame_unref(f);
}
avctx->pix_fmt = pix_fmt;
avctx->color_range = version & 1 ? AVCOL_RANGE_UNSPECIFIED
: AVCOL_RANGE_JPEG;
expected_size = header_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment