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.
Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all
Unified · Split
| @@ -546,7 +546,10 @@ int avfilter_link_get_channels(AVFilterLink *link); · 545 unmodified lines | ||
| 546 | 546 | |
| 547 | 547 | /** |
| 548 | 548 | * Set the closed field of a link. |
| 549 | + * @deprecated applications are not supposed to mess with links, they should | |
| 550 | + * close the sinks. | |
| 549 | 551 | */ |
| 552 | +attribute_deprecated | |
| 550 | 553 | void avfilter_link_set_closed(AVFilterLink *link, int closed); |
| 551 | 554 | |
| 552 | 555 | /** |