« Previous | Next » 

Revision f5a669c2

IDf5a669c229425cdac828c230addf10d6d9cbe3a7
Parent 566666ca
Child 70c24b21

Added by Stefano Sabatini about 9 years ago

ffmpeg: simplify mid-stream reconfiguration when libavfilter is disabled

Implement lazy initialization of the image resample context, so that
the initialization code does not need to be duplicated.

Also manage the case in which resample/size change mid-stream. For
each packet the code computes if resampling is needed.

Previously the resample check was done only at the initialization, in
case size/format changed and no resample was detected at the init
stage ffmpeg was silently exiting.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences