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
14 14
15 15
16API changes, most recent first:16API changes, most recent first:
17
182015-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
172015-12-17 - lavc 57.18.100 / 57.11.0 - avcodec.h dirac.h232015-12-17 - lavc 57.18.100 / 57.11.0 - avcodec.h dirac.h
18 xxxxxxx - Add av_packet_add_side_data().24 xxxxxxx - Add av_packet_add_side_data().
19 xxxxxxx - Add AVCodecContext.coded_side_data.25 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
546 546
547/**547/**
548 * Set the closed field of a link.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 */
552attribute_deprecated
550void avfilter_link_set_closed(AVFilterLink *link, int closed);553void avfilter_link_set_closed(AVFilterLink *link, int closed);
551 554
552/**555/**
libavfilter/version.h+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
31 31
32#define LIBAVFILTER_VERSION_MAJOR 632#define LIBAVFILTER_VERSION_MAJOR 6
33#define LIBAVFILTER_VERSION_MINOR 2133#define LIBAVFILTER_VERSION_MINOR 21
34#define LIBAVFILTER_VERSION_MICRO 10034#define LIBAVFILTER_VERSION_MICRO 101
35 35
36#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \36#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
37 LIBAVFILTER_VERSION_MINOR, \37 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