Commit 8543f0f9 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

ffplay: Fix non-compiling debug printf and replace it by av_dlog.

parent 4de83b7b
......@@ -1062,10 +1062,9 @@ static double compute_target_time(double frame_current_pts, VideoState *is)
}
}
is->frame_timer += delay;
#if defined(DEBUG_SYNC)
printf("video: delay=%0.3f actual_delay=%0.3f pts=%0.3f A-V=%f\n",
delay, actual_delay, frame_current_pts, -diff);
#endif
av_dlog(NULL, "video: delay=%0.3f pts=%0.3f A-V=%f\n",
delay, frame_current_pts, -diff);
return is->frame_timer;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment