diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-10-03 18:59:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-05 12:27:15 +0200 |
commit | 52256860d6e3eb003294659ae015cd1f1b3ffdfc (patch) | |
tree | 5a9a5222a9a2b55c6b8528b15b1c6a23955d246e | |
parent | 4e7cba1d8a9c62016fb70fd13aca9df44d564481 (diff) | |
download | ffmpeg-52256860d6e3eb003294659ae015cd1f1b3ffdfc.tar.gz |
dnxhdenc: do not select 4:4:4 profiles
The encoder can only deal with 4:2:2.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/dnxhddata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 4bb215a719..798cc0ec6e 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -1111,7 +1111,7 @@ int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth) int interlaced = cid->flags & DNXHD_INTERLACED ? 1 : 0; if (cid->width == avctx->width && cid->height == avctx->height && interlaced == !!(avctx->flags & AV_CODEC_FLAG_INTERLACED_DCT) && - cid->bit_depth == bit_depth) { + !(cid->flags & DNXHD_444) && cid->bit_depth == bit_depth) { for (j = 0; j < FF_ARRAY_ELEMS(cid->bit_rates); j++) { if (cid->bit_rates[j] == mbs) return cid->cid; |