mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 10:50:53 +00:00
player: hide some messages in verbose mode
This started getting annoying.
This commit is contained in:
parent
e1d846263a
commit
ce0bf5e7dd
@ -1000,7 +1000,7 @@ void run_playloop(struct MPContext *mpctx)
|
|||||||
double frame_time = 0;
|
double frame_time = 0;
|
||||||
int r = update_video(mpctx, endpts, !still_playing, &frame_time);
|
int r = update_video(mpctx, endpts, !still_playing, &frame_time);
|
||||||
|
|
||||||
MP_VERBOSE(mpctx, "update_video: %d\n", r);
|
MP_TRACE(mpctx, "update_video: %d\n", r);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
MP_FATAL(mpctx, "Could not initialize video chain.\n");
|
MP_FATAL(mpctx, "Could not initialize video chain.\n");
|
||||||
int uninit = INITIALIZED_VCODEC;
|
int uninit = INITIALIZED_VCODEC;
|
||||||
@ -1023,14 +1023,14 @@ void run_playloop(struct MPContext *mpctx)
|
|||||||
}
|
}
|
||||||
if (mpctx->playing_last_frame) {
|
if (mpctx->playing_last_frame) {
|
||||||
r = 1; // don't stop playback yet
|
r = 1; // don't stop playback yet
|
||||||
MP_VERBOSE(mpctx, "still showing last frame\n");
|
MP_TRACE(mpctx, "still showing last frame\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
video_left = r > 0;
|
video_left = r > 0;
|
||||||
|
|
||||||
if (r == 2)
|
if (r == 2)
|
||||||
MP_VERBOSE(mpctx, "frametime=%5.3f\n", frame_time);
|
MP_TRACE(mpctx, "frametime=%5.3f\n", frame_time);
|
||||||
|
|
||||||
if (r == 2 && !mpctx->restart_playback) {
|
if (r == 2 && !mpctx->restart_playback) {
|
||||||
mpctx->time_frame += frame_time / opts->playback_speed;
|
mpctx->time_frame += frame_time / opts->playback_speed;
|
||||||
|
Loading…
Reference in New Issue
Block a user