Revision 13156f40 ffplay.c

View differences:

ffplay.c
58 58
const char program_name[] = "FFplay";
59 59
const int program_birth_year = 2003;
60 60

  
61
//#define DEBUG
61 62
//#define DEBUG_SYNC
62 63

  
63 64
#define MAX_QUEUE_SIZE (15 * 1024 * 1024)
......
1853 1854
        }
1854 1855

  
1855 1856
        if (av_cmp_q(tb, is->video_st->time_base)) {
1856
            int64_t pts1 = pts_int;
1857
            av_unused int64_t pts1 = pts_int;
1857 1858
            pts_int = av_rescale_q(pts_int, tb, is->video_st->time_base);
1858
            av_log(NULL, AV_LOG_DEBUG, "video_thread(): "
1859
                   "tb:%d/%d pts:%"PRId64" -> tb:%d/%d pts:%"PRId64"\n",
1860
                   tb.num, tb.den, pts1,
1861
                   is->video_st->time_base.num, is->video_st->time_base.den, pts_int);
1859
            av_dlog(NULL, "video_thread(): "
1860
                    "tb:%d/%d pts:%"PRId64" -> tb:%d/%d pts:%"PRId64"\n",
1861
                    tb.num, tb.den, pts1,
1862
                    is->video_st->time_base.num, is->video_st->time_base.den, pts_int);
1862 1863
        }
1863 1864
#else
1864 1865
        ret = get_video_frame(is, frame, &pts_int, &pkt);

Also available in: Unified diff