]> granicus.if.org Git - libvpx/commit
Return VPX_CODEC_INCAPABLE on capability failure
authorWan-Teh Chang <wtc@google.com>
Fri, 3 Apr 2020 03:49:47 +0000 (20:49 -0700)
committerWan-Teh Chang <wtc@google.com>
Fri, 3 Apr 2020 03:56:52 +0000 (20:56 -0700)
commit676c936ed3f832d9e3a70314b59c12d93e8b51d5
tree7c396022493704b2d0c947d62e307673d42b82a0
parente8be64983a9a12acbf23d1d8f78a261bc23d8765
Return VPX_CODEC_INCAPABLE on capability failure

All decoder functions should return the VPX_CODEC_INCAPABLE error code
if the algorithm does not have the requested capability.

Move the definitions of VPX_CODEC_CAP_FRAME_THREADING and
VPX_CODEC_CAP_EXTERNAL_FRAME_BUFFER to the VPX_CODEC_CAP_* section.

Change "PUT_SLICE and PUT_FRAME events are posted" to "put_slice and
put_frame callbacks are invoked".

Also fix some other minor comment errors.

This carries back to libvpx the following libaom CL:
https://aomedia-review.googlesource.com/c/aom/+/108405

Change-Id: If67a271c9abbb3eebc2359719cc7d9f235b690d2
vpx/internal/vpx_codec_internal.h
vpx/src/vpx_decoder.c
vpx/vpx_decoder.h