[FFmpeg-devel] [PATCH] ffmpeg: call pre_process_video_frame() only if decoding is needed
Stefano Sabatini
stefano.sabatini-lala at poste.it
Thu Apr 21 12:38:25 CEST 2011
On date Wednesday 2011-04-20 23:52:28 +0200, Michael Niedermayer encoded:
> On Wed, Apr 20, 2011 at 02:04:52PM +0200, Stefano Sabatini wrote:
> > In output_packet(), move the pre_process_video_frame() inside the if
> > (ist->decoding_needed) { } block. This way pre_process_video_frame()
> > is not called when stream-copy has been selected.
> >
> > Also simplify.
> >
> > Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > ---
> > ffmpeg.c | 10 +++-------
> > 1 files changed, 3 insertions(+), 7 deletions(-)
>
> should be ok
Applied.
--
FFmpeg = Funny and Faithful Mournful Perennial Enhancing Guide
More information about the ffmpeg-devel
mailing list