From 7e3d8e7134096972989c8fae636e29af10ccaa79 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Apr 2016 12:09:09 +0200 Subject: vd_lavc: simplify RPI and Mediacodec wrappers Use the recently added lavc_suffix mechanism to select the wrapper decoder. With all hwdec callbacks being optional, and RPI/Mediacodec having only dummy callbacks, all the callbacks can be removed as well. The result is that the vd_lavc_hwdec struct for both of them is tiny. It's better to move them to vd_lavc.c directly, because they are so trivial and small. --- wscript_build.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index f996a6e57b..7dd28c31bb 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -294,12 +294,10 @@ def build(ctx): ( "video/decode/dxva2.c", "dxva2-hwaccel" ), ( "video/decode/d3d11va.c", "d3d11va-hwaccel" ), ( "video/decode/d3d.c", "d3d-hwaccel" ), - ( "video/decode/rpi.c", "rpi" ), ( "video/decode/vaapi.c", "vaapi-hwaccel" ), ( "video/decode/vd_lavc.c" ), ( "video/decode/videotoolbox.c", "videotoolbox-hwaccel" ), ( "video/decode/vdpau.c", "vdpau-hwaccel" ), - ( "video/decode/mediacodec.c", "android" ), ( "video/filter/vf.c" ), ( "video/filter/vf_buffer.c" ), ( "video/filter/vf_crop.c" ), -- cgit v1.2.3