diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-09-18 23:30:40 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-09-23 14:42:33 +0100 |
commit | 3b188666f19a17d15efb7eae590e988832972666 (patch) | |
tree | 9442d49ab736e26b84bf4983cf3e781cdc076a32 /libavformat/pva.c | |
parent | a00763be8861bcf499675b2af89d29e4e113cdc9 (diff) | |
download | ffmpeg-3b188666f19a17d15efb7eae590e988832972666.tar.gz |
vaapi_encode: Choose profiles dynamically
Previously there was one fixed choice for each codec (e.g. H.265 -> Main
profile), and using anything else then required an explicit option from
the user. This changes to selecting the profile based on the input format
and the set of profiles actually supported by the driver (e.g. P010 input
will choose Main 10 profile for H.265 if the driver supports it).
The entrypoint and render target format are also chosen dynamically in the
same way, removing those explicit selections from the per-codec code.
Diffstat (limited to 'libavformat/pva.c')
0 files changed, 0 insertions, 0 deletions