From a0d9e15342ad48f51841d4fbfe3ae47e10e45592 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Dec 2017 08:01:08 +0100 Subject: video: refactor hw device creation for hwdec copy modes Lots of shit code for nothing. We probably could just use libavutil's code for all of this. But for now go with this, since it tends to prevent stupid terminal messages during probing (libavutil has no mechanism to selectively suppress errors specifically during probing). Ignores the "emulated" API flag (for avoiding vaapi/vdpau wrappers), but it doesn't matter that much for -copy anyway. --- video/vaapi.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'video/vaapi.h') diff --git a/video/vaapi.h b/video/vaapi.h index 41c9f7c1cb..b2c31d8a74 100644 --- a/video/vaapi.h +++ b/video/vaapi.h @@ -49,8 +49,4 @@ VASurfaceID va_surface_id(struct mp_image *mpi); bool va_guess_if_emulated(struct mp_vaapi_ctx *ctx); -struct mpv_global; -struct mp_hwdec_ctx *va_create_standalone(struct mpv_global *global, - struct mp_log *plog, bool probing); - #endif -- cgit v1.2.3