[FFmpeg-devel] [PATCH] ffmpeg.c: disable av_vsrc_buffer_add_frame() when buffer filter is disabled
Måns Rullgård
mans
Sun May 30 03:46:40 CEST 2010
Peter Ross <pross at xvid.org> writes:
> $subject
>
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
>
> diff --git a/ffmpeg.c b/ffmpeg.c
> index 63f0e6b..b0dfcff 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -1651,7 +1651,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
> &buffer_to_free);
> }
>
> -#if CONFIG_AVFILTER
> +#if CONFIG_AVFILTER && CONFIG_BUFFER_FILTER
> if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && ist->input_video_filter) {
> // add it to be filtered
> av_vsrc_buffer_add_frame(ist->input_video_filter, &picture,
This doesn't work.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list