Mercurial > libavcodec.hg
comparison dnxhdenc.c @ 5796:5691b843e72a libavcodec
dnxhd 36mbit support
author | bcoudurier |
---|---|
date | Mon, 08 Oct 2007 15:36:57 +0000 |
parents | 8b6fe123be88 |
children | d112d5c13ae8 |
comparison
equal
deleted
inserted
replaced
5795:8b6fe123be88 | 5796:5691b843e72a |
---|---|
179 } else { | 179 } else { |
180 if (avctx->bit_rate == 120000000) | 180 if (avctx->bit_rate == 120000000) |
181 ctx->cid = 1237; | 181 ctx->cid = 1237; |
182 else if (avctx->bit_rate == 185000000) | 182 else if (avctx->bit_rate == 185000000) |
183 ctx->cid = 1238; | 183 ctx->cid = 1238; |
184 else if (avctx->bit_rate == 36000000) | |
185 ctx->cid = 1253; | |
184 } | 186 } |
185 if (!ctx->cid || avctx->width != 1920 || avctx->height != 1080 || avctx->pix_fmt != PIX_FMT_YUV422P) { | 187 if (!ctx->cid || avctx->width != 1920 || avctx->height != 1080 || avctx->pix_fmt != PIX_FMT_YUV422P) { |
186 av_log(avctx, AV_LOG_ERROR, "video parameters incompatible with DNxHD\n"); | 188 av_log(avctx, AV_LOG_ERROR, "video parameters incompatible with DNxHD\n"); |
187 return -1; | 189 return -1; |
188 } | 190 } |