diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-10-08 15:36:57 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-10-08 15:36:57 +0000 |
commit | 2e85b344f737ab90edf32de3669bd2528fbc10ed (patch) | |
tree | c4eaaa18b90cb91e7dc9caafe02f744c5de7d492 /libavcodec/dnxhdenc.c | |
parent | 68bc33fa9fe3d5ca56884b605383b9fbdd328b72 (diff) | |
download | ffmpeg-2e85b344f737ab90edf32de3669bd2528fbc10ed.tar.gz |
dnxhd 36mbit support
Originally committed as revision 10689 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 8f73608b28..3daa46b856 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -181,6 +181,8 @@ static int dnxhd_encode_init(AVCodecContext *avctx) ctx->cid = 1237; else if (avctx->bit_rate == 185000000) ctx->cid = 1238; + else if (avctx->bit_rate == 36000000) + ctx->cid = 1253; } if (!ctx->cid || avctx->width != 1920 || avctx->height != 1080 || avctx->pix_fmt != PIX_FMT_YUV422P) { av_log(avctx, AV_LOG_ERROR, "video parameters incompatible with DNxHD\n"); |