mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 04:02:04 +08:00
(lib)utvideodec: remove setting of color_primaries
Thanks-to: Paranoialmaniac Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -517,13 +517,11 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
case MKTAG('U', 'L', 'H', '0'):
|
||||
c->planes = 3;
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
|
||||
avctx->color_primaries = AVCOL_PRI_BT709;
|
||||
avctx->colorspace = AVCOL_SPC_BT709;
|
||||
break;
|
||||
case MKTAG('U', 'L', 'H', '2'):
|
||||
c->planes = 3;
|
||||
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
|
||||
avctx->color_primaries = AVCOL_PRI_BT709;
|
||||
avctx->colorspace = AVCOL_SPC_BT709;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user