[vlc-devel] [PATCH 03/26] decoder: get the decoder device from the vout
Steve Lhomme
robux4 at ycbcr.xyz
Mon Sep 23 15:49:14 CEST 2019
On 2019-09-23 15:29, Thomas Guillem wrote:
>
>
> On Fri, Sep 20, 2019, at 16:28, Steve Lhomme wrote:
>> diff --git a/src/input/resource.h b/src/input/resource.h
>> index a13ca0dc85c..ab456d7ce5d 100644
>> --- a/src/input/resource.h
>> +++ b/src/input/resource.h
>> @@ -37,9 +37,10 @@ void input_resource_SetInput( input_resource_t *,
>> input_thread_t * );
>> */
>> sout_instance_t *input_resource_RequestSout( input_resource_t *,
>> sout_instance_t *, const char *psz_sout );
>>
>> -vout_thread_t *input_resource_GetVout(input_resource_t *,
>> +vout_thread_t *input_resource_GetVoutHoldDevice(input_resource_t *,
>
> Is the rename needed ?
Yes, it's important to tell the returned device hold a reference that
will need to be freed.
More information about the vlc-devel
mailing list