[vlc-devel] [PATCH 13/31] input: resource: split the call to vout_Request()
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 9 16:25:56 CEST 2019
Le perjantaina 5. heinäkuuta 2019, 17.19.52 EEST Steve Lhomme a écrit :
> ---
> src/input/resource.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/src/input/resource.c b/src/input/resource.c
> index c0ae038c35..34b5e23f54 100644
> --- a/src/input/resource.c
> +++ b/src/input/resource.c
> @@ -426,14 +426,20 @@ vout_thread_t *input_resource_GetVout(input_resource_t
> *p_resource, }
> #endif
>
> - if (vout_Request(cfg, dec_dev, p_resource->p_input)) {
> + if (vout_RequestDevice(cfg, dec_dev)) {
> + input_resource_PutVoutLocked(p_resource, cfg->vout, false);
> + vlc_mutex_unlock(&p_resource->lock);
> + return NULL;
> + }
> +
I don't exactly follow why the device is provided by the vout here and that
will not scale up to streaming output / hardware transcoding.
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list