summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Morozov <andrey.morozov@itseez.com>2014-02-24 20:49:29 +0400
committerwm4 <wm4@nowhere>2014-03-11 00:16:46 +0100
commit218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c (patch)
tree14745fac5f689e2c18015cd8572207614190a091
parent13a0e34aec8e15dd476a3c488c9b1e53118f457f (diff)
downloadmpv-218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c.tar.bz2
mpv-218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c.tar.xz
vdpau: change the error message when video too large
-rw-r--r--video/decode/vdpau.c3
1 files changed, 2 insertions, 1 deletions
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;
}