mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
lavfi: deprecate avfilter_link_set_closed().
Applications are not supposed to mess with links, they should close the sinks. Furthermore, this function does not distinguish what end of the link caused the close and does not have a timestamp.
This commit is contained in:
@@ -546,7 +546,10 @@ int avfilter_link_get_channels(AVFilterLink *link);
|
||||
|
||||
/**
|
||||
* Set the closed field of a link.
|
||||
* @deprecated applications are not supposed to mess with links, they should
|
||||
* close the sinks.
|
||||
*/
|
||||
attribute_deprecated
|
||||
void avfilter_link_set_closed(AVFilterLink *link, int closed);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user