diff options
author | wm4 <nfxjfg@googlemail.com> | 2018-01-13 07:05:09 +0100 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2018-01-15 12:37:30 +0100 |
commit | cbbb2067341d7c2d98f560f81c6fb103af33a490 (patch) | |
tree | 295515241c45e81941e93092070d15e8e6d8d0f6 /libavcodec/aactab.h | |
parent | 43e1ccfea186080b1c4cb4cd1e59ac1a3c3dc446 (diff) | |
download | ffmpeg-cbbb2067341d7c2d98f560f81c6fb103af33a490.tar.gz |
hwcontext_vdpau: implement av_hwdevice_get_hwframe_constraints()
In addition, this does not allow creating frames contexts with sw_format
for which no known transfer formats exist. In theory, we should check
whether the chroma format (i.e. the sw_format) is supported at all by
the vdpau driver, but checking for transfer formats has the same effect.
Note that the pre-existing code adds 1 to priv->nb_pix_fmts[i] for
unknown reason, and some checks need to account for that to check for
empty lists. They are not off-by-one errors.
Diffstat (limited to 'libavcodec/aactab.h')
0 files changed, 0 insertions, 0 deletions