[vlc-devel] [PATCH] avcodec: reuse hw acceleration if possible

Steve Lhomme robux4 at videolabs.io
Tue Apr 21 11:32:48 CEST 2015


On Tue, Apr 21, 2015 at 10:47 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-04-21 11:23, Steve Lhomme a écrit :
>>
>> On Tue, Apr 21, 2015 at 10:05 AM, Rémi Denis-Courmont
>> <remi at remlab.net> wrote:
>>>
>>> Le 2015-04-21 10:47, Steve Lhomme a écrit :
>>>>
>>>>
>>>> --
>>>> this avoid a whole decoding restart after seeking
>>>
>>>
>>>
>>> This violates the semantics of the get_format callback and breaks VDPAU
>>> as a
>>> consequence.
>>
>>
>>
>> What semantic ?
>
>
> Change of output chroma, change of resolution, change of profile...


There's indeed an issue when the profile changes. The resolution and
chroma changes are already handled in the vlc_va_Setup() callback for
DXVA and VDPAU. Checking the profile should be added to both,
regardless of this patch.



More information about the vlc-devel mailing list