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

Nicolas George george at nsup.org
Thu Sep 7 18:13:24 EEST 2017


Le primidi 21 fructidor, an CCXXV, Paul B Mahol a écrit :
> 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?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170907/11d71b67/attachment.sig>


More information about the ffmpeg-devel mailing list