[FFmpeg-devel] [PATCH] avcodec/openh264enc.c: generate IDR frame in response to I frame pict_type

Valery Kot valery.kot at gmail.com
Mon Mar 12 23:46:04 EET 2018


Got it. Do I have to post an updated patch as a reply to this thread?

Valery
_____________________________
From: Lou Logan <lou at lrcd.com>
Sent: Monday, March 12, 2018 10:20 PM
Subject: Re: [FFmpeg-devel] [PATCH] avcodec/openh264enc.c: generate IDR frame in response to I frame pict_type
To: <ffmpeg-devel at ffmpeg.org>


On Mon, 5 Mar 2018 15:01:16 +0100
Valery Kot <valery.kot at gmail.com> wrote:

> From f95943165c91dac13a644365f775aff3dd9edb11 Mon Sep 17 00:00:00 2001
> From: vkot <valery.kot at 4cinsights.com>
> Date: Mon, 5 Mar 2018 13:51:51 +0100
> Subject: [PATCH 3/3] avcodec/openh264enc.c: generate IDR frame in response to
> I frame pict_type
>
> ---
> libavcodec/libopenh264enc.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
> index fdadb101f5..12e9ad49ed 100644
> --- a/libavcodec/libopenh264enc.c
> +++ b/libavcodec/libopenh264enc.c
> @@ -245,6 +245,10 @@ static int svc_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
> }
> sp.iPicWidth = avctx->width;
> sp.iPicHeight = avctx->height;
> +

The above line has trailing whitespace which should be avoided. You can
use tools/patcheck to check, and git should provide a warning when
applying the patch.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list