diff options
author | Andrey Morozov <andrey.morozov@itseez.com> | 2014-02-24 20:49:29 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-24 17:59:52 +0100 |
commit | d0e64dcc9b64bc63786bb22db2a0b25c13c59cf0 (patch) | |
tree | 5dbf09481c65e0725d2c6e91662668a8d0075308 /video | |
parent | 701c8c8254c22b2def38515a1d09dcdd94fea3d3 (diff) |
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; } |