[FFmpeg-devel] [PATCH] lavc/mediacodecdec: set codec profile and level from extradata for H264+HEVC
Jan Ekström
jeebjp at gmail.com
Thu Dec 30 19:31:11 EET 2021
On Mon, Dec 13, 2021 at 10:56 PM sfan5 <sfan5 at live.de> wrote:
>
> This value is later passed to MediaCodec and checked at decoder init.
> Notably decoding of 10-bit streams before this commit would "work" without
> returning errors but only return garbage output (on most Android devices).
Applied as b32b32ba89b564e33c6ee0d7a17b80b5e56b6b73 to master after
checking that libavcodec/{hevc_parser,hevcdec} utilize the same logic
for avctx->profile.
Jan
More information about the ffmpeg-devel
mailing list