[FFmpeg-devel] [PATCH 2/2] avisynth: fix Planar RGB output

Stephen Hutchinson qyot27 at gmail.com
Sat Oct 22 05:26:11 EEST 2016


On 8/30/2016 8:26 PM, Stephen Hutchinson wrote:
> ---
>  libavformat/avisynth.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
> index 1fe8e08..1acc44f 100644
> --- a/libavformat/avisynth.c
> +++ b/libavformat/avisynth.c
> @@ -690,8 +690,10 @@ static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt,
>  #ifdef USING_AVISYNTH
>          /* Flip Planar RGB video. */
>          if (avsplus && (avs_library.avs_is_planar_rgb(avs->vi) ||
> -                        avs_library.avs_is_planar_rgba(avs->vi)))
> +                        avs_library.avs_is_planar_rgba(avs->vi))) {
> +            src_p = src_p + (planeheight - 1) * pitch;
>              pitch = -pitch;
> +        }
>  #endif
>
>          avs_library.avs_bit_blt(avs->env, dst_p, rowsize, src_p, pitch,
>

Ping attempt #2.  As I mentioned, this needs to go in before 3.2 is
split off, and there haven't been any objections raised in the three
weeks since the patchwork stuff was suggested.


More information about the ffmpeg-devel mailing list