From 6aa4efd1e3205c9b1385865df1b5b09646d2160c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Feb 2017 08:39:55 +0100 Subject: vd_lavc, vaapi: move hw device creation to generic code hw_vaapi.c didn't do much interesting anymore. Other than the function to create a device for decoding with vaapi-copy, everything can be done by generic code. Other libavcodec hwaccels are planned to provide the same API as vaapi. It will be possible to drop the other hw_ files in the future. They will use this generic code instead. --- video/hwdec.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/hwdec.c') diff --git a/video/hwdec.c b/video/hwdec.c index 6db8d57869..371c368fa3 100644 --- a/video/hwdec.c +++ b/video/hwdec.c @@ -72,8 +72,6 @@ void hwdec_devices_set_loader(struct mp_hwdec_devices *devs, devs->load_api_ctx = load_api_ctx; } -// Cause VO to lazily load the requested device, and will block until this is -// done (even if not available). void hwdec_devices_request(struct mp_hwdec_devices *devs, enum hwdec_type type) { if (devs->load_api && !hwdec_devices_get_first(devs)) -- cgit v1.2.3