avfiltergraph: add a debug message on EOF.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 17 Jul 2012 15:47:50 +0000 (17:47 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 17 Jul 2012 21:46:26 +0000 (23:46 +0200)
libavfilter/avfiltergraph.c

index 7530b6b..ccd5ff9 100644 (file)
@@ -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],