summaryrefslogtreecommitdiffstats
path: root/video/decode/vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vdpau.c')
-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;
}