Revision 780eb1c9 libavformat/utils.c

View differences:

libavformat/utils.c
2618 2618
        }
2619 2619
        av_log(NULL, AV_LOG_DEBUG, ", %d/%d", st->time_base.num/g, st->time_base.den/g);
2620 2620
        if(st->codec->codec_type == CODEC_TYPE_VIDEO){
2621
            av_log(NULL, AV_LOG_INFO, ", %5.2f fps", av_q2d(st->r_frame_rate));
2621
            if(st->r_frame_rate.den && st->r_frame_rate.num)
2622
                av_log(NULL, AV_LOG_INFO, ", %5.2f fps(r)", av_q2d(st->r_frame_rate));
2623
/*            else if(st->time_base.den && st->time_base.num)
2624
                av_log(NULL, AV_LOG_INFO, ", %5.2f fps(m)", 1/av_q2d(st->time_base));*/
2625
            else
2626
                av_log(NULL, AV_LOG_INFO, ", %5.2f fps(c)", 1/av_q2d(st->codec->time_base));
2622 2627
        }
2623 2628
        av_log(NULL, AV_LOG_INFO, ": %s\n", buf);
2624 2629
    }

Also available in: Unified diff