diff h264.c @ 2971:1c22981c3498 libavcodec

new qscale type to distinguish H264
author henry
date Sun, 18 Dec 2005 13:29:09 +0000
parents ef2149182f1c
children bfabfdf9ce55
line wrap: on
line diff
--- a/h264.c	Sun Dec 18 13:17:44 2005 +0000
+++ b/h264.c	Sun Dec 18 13:29:09 2005 +0000
@@ -7552,6 +7552,7 @@
 
     if(!s->current_picture_ptr) return buf_index; //no frame
 
+    s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264;
     s->current_picture_ptr->pict_type= s->pict_type;
     s->current_picture_ptr->key_frame= s->pict_type == I_TYPE && h->nal_unit_type == NAL_IDR_SLICE;