diff options
author | wm4 <wm4@nowhere> | 2016-01-11 20:30:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-11 20:30:36 +0100 |
commit | 453ea2cb6c4be5142987e218cee609cca22e48f5 (patch) | |
tree | d365031a9577d01f84ca28e005a1f172b5201499 /video/out | |
parent | 9fee7077d483154e7c2ad9442d9e49bb5e7ad2bb (diff) | |
download | mpv-453ea2cb6c4be5142987e218cee609cca22e48f5.tar.bz2 mpv-453ea2cb6c4be5142987e218cee609cca22e48f5.tar.xz |
vaapi: replace VA_STR_FOURCC
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/hwdec_vaegl.c | 4 | ||||
-rw-r--r-- | video/out/vo_vaapi.c | 2 |
2 files changed, 3 insertions, 3 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; } diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index 2bb9d800cd..5275d4d28d 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -615,7 +615,7 @@ static int preinit(struct vo *vo) for (int i = 0; i < p->va_num_subpic_formats; i++) { MP_VERBOSE(vo, " %s, flags 0x%x\n", - VA_STR_FOURCC(p->va_subpic_formats[i].fourcc), + mp_tag_str(p->va_subpic_formats[i].fourcc), p->va_subpic_flags[i]); if (p->va_subpic_formats[i].fourcc == OSD_VA_FORMAT) { p->osd_format = p->va_subpic_formats[i]; |