> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Mark Thompson
> Sent: Wednesday, April 10, 2019 07:20
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH, v4] lavc/vaapi_decode: find exact
> va_profile
On 09/04/2019 03:33, Linjie Fu wrote:
> Use the profile constraint flags to determine the exact va_profile for
> HEVC_REXT.
>
> Directly cast PTLCommon to H265RawProfileTierLevel,
Please don't. The two structures aren't really connected, they shouldn't be
assumed to be compatible.
>
Use the profile constraint flags to determine the exact va_profile for
HEVC_REXT.
Directly cast PTLCommon to H265RawProfileTierLevel, and use ff_h265_get_profile
to get the exact profile.
Add h265_profile_level.o to build objects for vaapi_decode to fix the compile
dependency issue.
Signed-off-b