Skip to content
Snippets Groups Projects
Commit 5030e385 authored by wm4's avatar wm4 Committed by Luca Barbato
Browse files

dxva: support DXGI_FORMAT_420_OPAQUE decoding


Some devices (some phones, apparently) will support only this opaque
format. Of course this won't work with CLI, because copying data
directly is not supported.

Automatic frame allocation (setting AVCodecContext.hw_device_ctx) does
not support this mode, even if it's the only supported mode. But since
opaque surfaces are generally less useful, that's probably ok.

Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent 98d73e41
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment