[SCM] libav/experimental: Print timing_info on -debug 1.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:41:14 UTC 2013


The following commit has been merged in the experimental branch:
commit 7ed673af71db7a1bcd314ac5ce44fa4068935569
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Mar 13 14:10:49 2009 +0000

    Print timing_info on -debug 1.
    
    Originally committed as revision 17949 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 68ba451..8ae3256 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7210,7 +7210,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
         decode_vui_parameters(h, sps);
 
     if(s->avctx->debug&FF_DEBUG_PICT_INFO){
-        av_log(h->s.avctx, AV_LOG_DEBUG, "sps:%u profile:%d/%d poc:%d ref:%d %dx%d %s %s crop:%d/%d/%d/%d %s %s\n",
+        av_log(h->s.avctx, AV_LOG_DEBUG, "sps:%u profile:%d/%d poc:%d ref:%d %dx%d %s %s crop:%d/%d/%d/%d %s %s %d/%d\n",
                sps_id, sps->profile_idc, sps->level_idc,
                sps->poc_type,
                sps->ref_frame_count,
@@ -7220,7 +7220,9 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
                sps->crop_left, sps->crop_right,
                sps->crop_top, sps->crop_bottom,
                sps->vui_parameters_present_flag ? "VUI" : "",
-               ((const char*[]){"Gray","420","422","444"})[sps->chroma_format_idc]
+               ((const char*[]){"Gray","420","422","444"})[sps->chroma_format_idc],
+               sps->timing_info_present_flag ? sps->num_units_in_tick : 0,
+               sps->timing_info_present_flag ? sps->time_scale : 0
                );
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list