[FFmpeg-devel] [PATCH 2/2] vf_paletteuse: Don't free the second frame from ff_framesync_dualinput_get_writable on error

Nicolas George george at nsup.org
Wed Jan 3 17:28:06 EET 2018

Clement Boesch (2018-01-02):
> That's some weird ownership semantic for the error-path, but Nicolas knows
> better this API so I'll trust him on this one.

I agree it is not the most obvious behaviour, but it is the most
convenient with the logic of dualinput (which you introduced, IIRC,
based on the workings of overlay): the first input is considered the
main input, the frames on it are the frames that are actually filtered,
while the second input only provides read-only reference material.

If you have a look at the documentation patch I sent yesterday, I can
push soon.


  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/20180103/1c65c46d/attachment.sig>

More information about the ffmpeg-devel mailing list