changeset 1173:86d5a33eaec8 libavcodec

pict_type & quality fix
author michaelni
date Sun, 06 Apr 2003 21:03:24 +0000
parents 9d257357ce07
children 2de2a847af67
files mpegvideo.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Sun Apr 06 19:45:02 2003 +0000
+++ b/mpegvideo.c	Sun Apr 06 21:03:24 2003 +0000
@@ -923,7 +923,11 @@
         s->current_picture_ptr= &s->picture[i];
     }
 
+    s->current_picture_ptr->pict_type= s->pict_type;
+    s->current_picture_ptr->quality= s->qscale;
+
     s->current_picture= *s->current_picture_ptr;
+  
   if(s->out_format != FMT_H264){
     if (s->pict_type != B_TYPE) {
         s->last_picture_ptr= s->next_picture_ptr;