[FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_zoompan: fix specific corner case when no frame was ever requested from input

Paul B Mahol onemda at gmail.com
Thu Sep 7 18:19:00 EEST 2017


On 9/7/17, Nicolas George <george at nsup.org> wrote:
> Le primidi 21 fructidor, an CCXXV, Paul B Mahol a ecrit :
>> What it should be?
>
> It should look like it does look after this patch. Maybe the change
> breaks something I did not notice, but the general logic should be what
> I wrote.
>
> The things that are wrong in the current state of code: checking
> ff_outlink_frame_wanted(), duplication of the output_single_frame() call
> block, impossible condition about ret < 0, duplicate semantic of the
> "finished" variable, useless conditions that mask the logic of the flow.
>
> Could you show an actual example that works with your current version
> and that does not work with the modified code?

Take single image as input, and example as listed in documentation of zoompan:

zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'


More information about the ffmpeg-devel mailing list