Commit 9c1e6145 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XVideo: improve the resolution error message again

parent 6eade592
...@@ -334,12 +334,11 @@ FindFormat (vlc_object_t *obj, xcb_connection_t *conn, video_format_t *fmt, ...@@ -334,12 +334,11 @@ FindFormat (vlc_object_t *obj, xcb_connection_t *conn, video_format_t *fmt,
if (!var_GetBool (obj->p_libvlc, "xvideo-res-error")) if (!var_GetBool (obj->p_libvlc, "xvideo-res-error"))
{ {
dialog_FatalWait (obj, _("Video acceleration not available"), dialog_FatalWait (obj, _("Video acceleration not available"),
_("Your video output acceleration driver does not support " _("The XVideo rendering acceleration driver does not "
"the required resolution of %ux%u pixels. The supported " "support the required resolution of %ux%u pixels but "
"resolution is %"PRIu32"x%"PRIu32".\n" "%"PRIu32"x%"PRIu32" pixels instead.\n"
"Video output acceleration will be disabled. However, " "Acceleration will thus be disabled. Performance may "
"rendering videos with overly large resolution " "be degraded severely if the resolution is large."),
"may cause severe performance degration."),
width, height, i->width, i->height); width, height, i->width, i->height);
var_SetBool (obj->p_libvlc, "xvideo-res-error", true); var_SetBool (obj->p_libvlc, "xvideo-res-error", true);
} }
......
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