[vlc-commits] XVideo: improve the resolution error message again
Rémi Denis-Courmont
git at videolan.org
Sat Apr 21 13:06:29 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 21 14:06:12 2012 +0300| [9c1e6145e78d36dc52c2f3af943a31b90bc253b5] | committer: Rémi Denis-Courmont
XVideo: improve the resolution error message again
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c1e6145e78d36dc52c2f3af943a31b90bc253b5
---
modules/video_output/xcb/xvideo.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 843ae35..53262fc 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -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"))
{
dialog_FatalWait (obj, _("Video acceleration not available"),
- _("Your video output acceleration driver does not support "
- "the required resolution of %ux%u pixels. The supported "
- "resolution is %"PRIu32"x%"PRIu32".\n"
- "Video output acceleration will be disabled. However, "
- "rendering videos with overly large resolution "
- "may cause severe performance degration."),
+ _("The XVideo rendering acceleration driver does not "
+ "support the required resolution of %ux%u pixels but "
+ "%"PRIu32"x%"PRIu32" pixels instead.\n"
+ "Acceleration will thus be disabled. Performance may "
+ "be degraded severely if the resolution is large."),
width, height, i->width, i->height);
var_SetBool (obj->p_libvlc, "xvideo-res-error", true);
}
More information about the vlc-commits
mailing list