summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_vaegl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-11 20:30:36 +0100
committerwm4 <wm4@nowhere>2016-01-11 20:30:36 +0100
commit453ea2cb6c4be5142987e218cee609cca22e48f5 (patch)
treed365031a9577d01f84ca28e005a1f172b5201499 /video/out/opengl/hwdec_vaegl.c
parent9fee7077d483154e7c2ad9442d9e49bb5e7ad2bb (diff)
downloadmpv-453ea2cb6c4be5142987e218cee609cca22e48f5.tar.bz2
mpv-453ea2cb6c4be5142987e218cee609cca22e48f5.tar.xz
vaapi: replace VA_STR_FOURCC
Diffstat (limited to 'video/out/opengl/hwdec_vaegl.c')
-rw-r--r--video/out/opengl/hwdec_vaegl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/hwdec_vaegl.c b/video/out/opengl/hwdec_vaegl.c
index 1771c74751..8b9dc93c09 100644
--- a/video/out/opengl/hwdec_vaegl.c
+++ b/video/out/opengl/hwdec_vaegl.c
@@ -283,12 +283,12 @@ static int map_image(struct gl_hwdec *hw, struct mp_image *hw_image,
int mpfmt = va_fourcc_to_imgfmt(va_image->format.fourcc);
if (mpfmt != IMGFMT_NV12 && mpfmt != IMGFMT_420P) {
MP_FATAL(p, "unsupported VA image format %s\n",
- VA_STR_FOURCC(va_image->format.fourcc));
+ mp_tag_str(va_image->format.fourcc));
goto err;
}
if (!hw->converted_imgfmt) {
- MP_VERBOSE(p, "format: %s %s\n", VA_STR_FOURCC(va_image->format.fourcc),
+ MP_VERBOSE(p, "format: %s %s\n", mp_tag_str(va_image->format.fourcc),
mp_imgfmt_to_name(mpfmt));
hw->converted_imgfmt = mpfmt;
}