diff options
author | wm4 <wm4@nowhere> | 2017-12-01 06:47:37 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-12-01 08:01:41 +0100 |
commit | c5fac0c2b048b695bf217ae77530269605eebfb9 (patch) | |
tree | e2ce5d58346a93173b1e1ee4d1fda152261a54b8 /video/decode/lavc.h | |
parent | 643a1fc7de84b234d5a4723fa0ec31f9351e770b (diff) | |
download | mpv-c5fac0c2b048b695bf217ae77530269605eebfb9.tar.bz2 mpv-c5fac0c2b048b695bf217ae77530269605eebfb9.tar.xz |
vd_lavc: move entrypoint for hwframes_refine
The idea is to get rid of vd_lavc_hwdec, so special functionality like
this has to go somewhere else. At this point, hwframes_refine is only
needed for d3d11, and it doesn't do much, so for now the new callback
has no context. In can be made more fancy if really needed.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r-- | video/decode/lavc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index caa6200121..b427ae17a2 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -101,8 +101,6 @@ struct vd_lavc_hwdec { // The returned device will be freed with mp_hwdec_ctx->destroy. struct mp_hwdec_ctx *(*create_dev)(struct mpv_global *global, struct mp_log *log, bool probing); - // Optional. Fill in special hwaccel- and codec-specific requirements. - void (*hwframes_refine)(struct lavc_ctx *ctx, AVBufferRef *hw_frames_ctx); // Suffix for libavcodec decoder. If non-NULL, the codec is overridden // with hwdec_find_decoder. // Intuitively, this will force the corresponding wrapper decoder. |