From 218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 24 Feb 2014 20:49:29 +0400 Subject: vdpau: change the error message when video too large --- video/decode/vdpau.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index 4b207f05fc..6c0c891ad4 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -126,7 +126,8 @@ static bool create_vdp_decoder(struct lavc_ctx *ctx) goto fail; } if (p->vid_width > maxw || p->vid_height > maxh) { - MP_ERR(p, "Video too large.\n"); + MP_ERR(p, "Video resolution(%dx%d) is larger than the maximum size(%dx%d) supported.\n", + p->vid_width, p->vid_height, maxw, maxh); goto fail; } -- cgit v1.2.3