[FFmpeg-devel] [PATCH 2/2] vf_paletteuse: Don't free the second frame from ff_framesync_dualinput_get_writable on error
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel