[FFmpeg-devel] [PATCH] ffmpeg: call pre_process_video_frame() only if decoding is needed
Michael Niedermayer
michaelni at gmx.at
Wed Apr 20 23:52:28 CEST 2011
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110420/69d88a81/attachment.asc>
More information about the ffmpeg-devel
mailing list