summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-17 17:47:50 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-07-17 23:46:26 +0200
commitf98d814bb6d061150fd782fe75c61f8e1baf9996 (patch)
tree793e9255036283c2e53020b4d118d860391dcedc /libavfilter/avfiltergraph.c
parentd06bfda07eab95318e6586ea37110ee99f02c97a (diff)
downloadffmpeg-f98d814bb6d061150fd782fe75c61f8e1baf9996.tar.gz
avfiltergraph: add a debug message on EOF.
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 7530b6b99d..ccd5ff90f8 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -983,6 +983,9 @@ int avfilter_graph_request_oldest(AVFilterGraph *graph)
int r = ff_request_frame(oldest);
if (r != AVERROR_EOF)
return r;
+ av_log(oldest->dst, AV_LOG_DEBUG, "EOF on sink link %s:%s.\n",
+ oldest->dst ? oldest->dst->name : "unknown",
+ oldest->dstpad ? oldest->dstpad->name : "unknown");
/* EOF: remove the link from the heap */
if (oldest->age_index < --graph->sink_links_count)
heap_bubble_down(graph, graph->sink_links[graph->sink_links_count],