diff options
author | Stephen Hutchinson <qyot27@gmail.com> | 2013-03-08 17:42:24 -0500 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-03-08 20:45:49 -0500 |
commit | 98c4268ecac1dfb5d3e534bbea684fc80e8aef17 (patch) | |
tree | 565914c942e8c370e280eaad32caccaca351eda2 /libavcodec/libutvideoenc.cpp | |
parent | 309d6f5077e4b81cf519c004abace374f5d357b4 (diff) | |
download | ffmpeg-98c4268ecac1dfb5d3e534bbea684fc80e8aef17.tar.gz |
libutvideo: Prioritize compatibility with new versions
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/libutvideoenc.cpp')
-rw-r--r-- | libavcodec/libutvideoenc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index e9af7dfc90..07205f7139 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libavcodec/libutvideoenc.cpp @@ -51,12 +51,12 @@ static av_cold int utvideo_encode_init(AVCodecContext *avctx) avctx->codec_tag = MKTAG('U', 'L', 'Y', '2'); break; case AV_PIX_FMT_BGR24: - in_format = UTVF_RGB24_WIN; + in_format = UTVF_NFCC_BGR_BU; avctx->bits_per_coded_sample = 24; avctx->codec_tag = MKTAG('U', 'L', 'R', 'G'); break; case AV_PIX_FMT_RGB32: - in_format = UTVF_RGB32_WIN; + in_format = UTVF_NFCC_BGRA_BU; avctx->bits_per_coded_sample = 32; avctx->codec_tag = MKTAG('U', 'L', 'R', 'A'); break; |