# HG changeset patch # User michael # Date 1236953449 0 # Node ID bc064231dc4365f50f00884cd08ec8b22b6d1344 # Parent 9f96409c513446fa0ae6b0a02c74b1097bf36eaf Print timing_info on -debug 1. diff -r 9f96409c5134 -r bc064231dc43 h264.c --- a/h264.c Fri Mar 13 13:48:44 2009 +0000 +++ b/h264.c Fri Mar 13 14:10:49 2009 +0000 @@ -7210,7 +7210,7 @@ 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 @@ 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 ); }