« Previous | Next » 

Revision 3fd62c6e

ID3fd62c6e247468d792ce8f1d3c458017d1ea9eb5
Parent 2b95602e
Child 0b4949b5

Added by Stefano Sabatini about 9 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
selected.

Also simplify.

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences