History

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.

Nicolas George committed 11 years ago

Commit 39a09e91 parent b8b7d5a3 files · +10 −1Browse files

Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all

Unified · Split

libavfilter/avfilter.h+3−0
@@ -546,7 +546,10 @@ int avfilter_link_get_channels(AVFilterLink *link); · 545 unmodified lines
546546
547547 /**
548548 * Set the closed field of a link.
549+ * @deprecated applications are not supposed to mess with links, they should
550+ * close the sinks.
549551 */
552+attribute_deprecated
550553 void avfilter_link_set_closed(AVFilterLink *link, int closed);
551554
552555 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t