videotoolbox: use the new push model
commit41d5af70c6dbc653fe9f430241a68671db772672
authorThomas Guillem <thomas@gllm.fr>
Wed, 8 Jan 2020 15:43:09 +0000 (8 16:43 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 10 Jan 2020 12:01:56 +0000 (10 13:01 +0100)
tree55de0c397ff31dd012d894198d8c0251f778c15e
parent91b807d10396e07b04bf203e0c72967bef17b6e6
videotoolbox: use the new push model

Deprecate the "videotoolbox" bool variable. This module should be
enabled/disabled by the "dec-dev" variable like any other hw modules.

The vt decoder device is just used to enable/disable hw decoding on Apple and
act like other hw module. Indeed, VideoToolBox doesn't need any context from
the window to initialize.
modules/codec/videotoolbox.m
modules/codec/vt_utils.c
modules/codec/vt_utils.h