changeset 6752:b2daf71037be libavcodec

export dnxhd encoded picture quality
author bcoudurier
date Tue, 06 May 2008 17:18:41 +0000
parents 1fc844ec6430
children 73de16350531
files dnxhdenc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dnxhdenc.c	Tue May 06 09:20:50 2008 +0000
+++ b/dnxhdenc.c	Tue May 06 17:18:41 2008 +0000
@@ -805,6 +805,8 @@
         goto encode_coding_unit;
     }
 
+    ctx->frame.quality = ctx->qscale*FF_QP2LAMBDA;
+
     return ctx->cid_table->frame_size;
 }