Skip to content

Commit

Permalink
vo_gpu_next: reword error message on empty screenshot
Browse files Browse the repository at this point in the history
This can happen under perfectly legitimate circumstances if no file is
loaded yet.
  • Loading branch information
haasn committed Aug 21, 2023
1 parent 3422e5e commit ef4c6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video/out/vo_gpu_next.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ static void video_screenshot(struct vo *vo, struct voctrl_screenshot *args)
return;
}
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;
}

Expand Down

0 comments on commit ef4c6df

Please sign in to comment.