diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-02 09:35:38 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-07 12:03:58 +0200 |
commit | f5a669c229425cdac828c230addf10d6d9cbe3a7 (patch) | |
tree | 1b5316ff693492059237401d0b7013851e227dcf /libavformat/sox.h | |
parent | 566666caf3a09d6254edaa99d222eddb6fe2986b (diff) | |
download | ffmpeg-f5a669c229425cdac828c230addf10d6d9cbe3a7.tar.gz |
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.
Diffstat (limited to 'libavformat/sox.h')
0 files changed, 0 insertions, 0 deletions