[FFmpeg-devel] [PATCH] [PATCH] avcodec: Fix h264_videotoolbox writing b-frames (fix ticket #8353)

Nomis101 Nomis101 at web.de
Wed Mar 18 18:32:25 EET 2020


Am 29.02.20 um 02:39 schrieb Nomis101:
> From: Damiano Galassi <damiog at gmail.com>
>
> Signed-off-by: Nomis101 <Nomis101 at web.de>
> ---
>  libavcodec/videotoolboxenc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
> index cc08cf6a50..32d893e485 100644
> --- a/libavcodec/videotoolboxenc.c
> +++ b/libavcodec/videotoolboxenc.c
> @@ -1355,6 +1355,7 @@ static int vtenc_configure_encoder(AVCodecContext *avctx)
>          vtctx->get_param_set_func = compat_keys.CMVideoFormatDescriptionGetHEVCParameterSetAtIndex;
>          if (!vtctx->get_param_set_func) return AVERROR(EINVAL);
>          if (!get_vt_hevc_profile_level(avctx, &profile_level)) return AVERROR(EINVAL);
> +        vtctx->has_b_frames = avctx->max_b_frames > 0;
>      }
>
>      enc_info = CFDictionaryCreateMutable(
> --
> 2.21.1 (Apple Git-122.3)
>


What do I need to do to get this reviewed? Its just a one-liner.


More information about the ffmpeg-devel mailing list