changeset 35117:91a3927fd02e

More helpful error message when video does not fit into frame buffer.
author reimar
date Sat, 22 Sep 2012 21:36:27 +0000
parents af49d14bc126
children b3710d267596
files libvo/vo_fbdev.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_fbdev.c	Sat Sep 22 19:14:01 2012 +0000
+++ b/libvo/vo_fbdev.c	Sat Sep 22 21:36:27 2012 +0000
@@ -862,7 +862,8 @@
         out_height = fb_yres;
     }
     if (out_width < in_width || out_height < in_height) {
-        mp_msg(MSGT_VO, MSGL_ERR, "screensize is smaller than video size\n");
+        mp_msg(MSGT_VO, MSGL_ERR, "screensize %ix%i is smaller than video size %ix%i\n",
+               out_width, out_height, in_width, in_height);
         return 1;
     }