mirror of https://github.com/mpv-player/mpv
vo_gpu_next: reword error message on empty screenshot
This can happen under perfectly legitimate circumstances if no file is loaded yet.
This commit is contained in:
parent
3422e5e1e8
commit
ef4c6dfcf5
|
@ -1199,7 +1199,7 @@ static void video_screenshot(struct vo *vo, struct voctrl_screenshot *args)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!mix.num_frames) {
|
if (!mix.num_frames) {
|
||||||
MP_ERR(vo, "No frames available to take screenshot of? Open issue\n");
|
MP_ERR(vo, "No frames available to take screenshot of, is a file loaded?\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue