[FFmpeg-devel] [PATCH v1] avcodec/av1dec: check if hwaccel is specificed

Hendrik Leppkes h.leppkes at gmail.com
Mon Aug 30 11:39:11 EEST 2021


On Mon, Aug 30, 2021 at 3:56 AM Wang, Fei W <fei.w.wang at intel.com> wrote:
>
> If so, the only way to fix is keep previous check with avctx->hwaccel
> but change its log context like "The AV1 decoder requires a hw acceleration to be specified or the specified hw doesn't support AV1 decoding."
>

That sounds right, you can change the message of course, but I don't
think you can necessarily change the logic.

> Btw, just for curious, which hwaccel are you using that doesn't set up
> the hw_device_ctx?
>

I'm using DXVA2 that way, but also VA-API, VDPAU and VideoToolbox are
all setup to use the old hwaccel initialization.

- Hendrik


More information about the ffmpeg-devel mailing list