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

Unified · Split

3 files
  1. doc/APIchanges +6 −0
  2. libavfilter/avfilter.h +3 −0
  3. libavfilter/version.h +1 −1
doc/APIchanges+6−0
@@ -14,6 +14,12 @@ libavutil: 2015-08-28 · 13 unmodified lines
1414
1515
1616 API changes, most recent first:
17+
18+2015-12-22 - xxxxxxx - lavfi 6.21.101 - avfilter.h
19+ Deprecate avfilter_link_set_closed().
20+ Applications are not supposed to mess with links,
21+ they should close the sinks.
22+
1723 2015-12-17 - lavc 57.18.100 / 57.11.0 - avcodec.h dirac.h
1824 xxxxxxx - Add av_packet_add_side_data().
1925 xxxxxxx - Add AVCodecContext.coded_side_data.
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 /**
libavfilter/version.h+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
3131
3232 #define LIBAVFILTER_VERSION_MAJOR 6
3333 #define LIBAVFILTER_VERSION_MINOR 21
34−#define LIBAVFILTER_VERSION_MICRO 100
34+#define LIBAVFILTER_VERSION_MICRO 101
3535
3636 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
3737 LIBAVFILTER_VERSION_MINOR, \

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