mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
fraps: set color_range
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user