diff options
author | Andrey Morozov <andrey.morozov@itseez.com> | 2014-02-24 20:49:29 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-11 00:16:46 +0100 |
commit | 218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c (patch) | |
tree | 14745fac5f689e2c18015cd8572207614190a091 /video | |
parent | 13a0e34aec8e15dd476a3c488c9b1e53118f457f (diff) | |
download | mpv-218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c.tar.bz2 mpv-218667b5a235dddfd3a8f8f19cb6e1c2a20fb00c.tar.xz |
vdpau: change the error message when video too large
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/vdpau.c | 3 |
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; } |