X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favfilter.h;h=5022036faf536fece97f3b22ae43320ed301e2f4;hb=39a09e995d32d16e4f8c87a6ff5273cb9d98146e;hp=7aac3cf93425637eb31c2769177c80480c2f6cfe;hpb=5bc9c7a6db1caaae2bbc2061f16af28695a6fdd6;p=ffmpeg diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 7aac3cf9342..5022036faf5 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -435,10 +435,16 @@ struct AVFilterLink { /** * Current timestamp of the link, as defined by the most recent - * frame(s), in AV_TIME_BASE units. + * frame(s), in link time_base units. */ int64_t current_pts; + /** + * Current timestamp of the link, as defined by the most recent + * frame(s), in AV_TIME_BASE units. + */ + int64_t current_pts_us; + /** * Index in the age array. */ @@ -509,6 +515,11 @@ struct AVFilterLink { * Number of past frames sent through the link. */ int64_t frame_count; + + /** + * A pointer to a FFVideoFramePool struct. + */ + void *video_frame_pool; }; /** @@ -535,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); /**