diff dnxhdenc.c @ 5796:5691b843e72a libavcodec

dnxhd 36mbit support
author bcoudurier
date Mon, 08 Oct 2007 15:36:57 +0000
parents 8b6fe123be88
children d112d5c13ae8
line wrap: on
line diff
--- a/dnxhdenc.c	Mon Oct 08 12:28:36 2007 +0000
+++ b/dnxhdenc.c	Mon Oct 08 15:36:57 2007 +0000
@@ -181,6 +181,8 @@
             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");