[SCM] libav/experimental: print "D" instead of "P" for dropable frames in flv with -debug 1

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:42:36 UTC 2013


The following commit has been merged in the experimental branch:
commit 85df8f7cf0b30ebba2bfc9fdd48d2582729744cc
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Jan 6 01:02:36 2005 +0000

    print "D" instead of "P" for dropable frames in flv with -debug 1
    
    Originally committed as revision 3810 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 7880267..afb9672 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -6141,7 +6141,7 @@ int flv_h263_decode_picture_header(MpegEncContext *s)
 
     if(s->avctx->debug & FF_DEBUG_PICT_INFO){
         av_log(s->avctx, AV_LOG_DEBUG, "%c esc_type:%d, qp:%d num:%d\n",
-               av_get_pict_type_char(s->pict_type), s->h263_flv-1, s->qscale, s->picture_number);
+               s->dropable ? 'D' : av_get_pict_type_char(s->pict_type), s->h263_flv-1, s->qscale, s->picture_number);
     }
     
     s->y_dc_scale_table=

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list