« Previous | Next » 

Revision 3fd62c6e

Parent 2b95602e
Child 0b4949b5

Added by Stefano Sabatini about 10 years ago

ffmpeg: call pre_process_video_frame() only if decoding is needed

In output_packet(), move the pre_process_video_frame() call inside the
if (ist->decoding_needed) { } block. This way
pre_process_video_frame() is not called when stream-copy has been

Also simplify.

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences