[FFmpeg-devel] [PATCH] lavfi: add debug trace when processing events

Stefano Sabatini stefasab at gmail.com
Sat Sep 24 15:04:59 CEST 2011


---
 libavfilter/avfilter.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 78ae434..937c38d 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -572,6 +572,9 @@ void avfilter_start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
         link->cur_buf = picref;
 
     while(cmd && cmd->time <= picref->pts * av_q2d(link->time_base)){
+        av_log(link->dst, AV_LOG_DEBUG,
+               "Processing command time:%f verb:%s arg:%s\n",
+               cmd->time, cmd->verb, cmd->arg);
         avfilter_process_command(link->dst, cmd->verb, cmd->arg, 0, 0, cmd->flags);
         command_queue_pop(link->dst);
         cmd= link->dst->command_queue;
-- 
1.7.2.5



More information about the ffmpeg-devel mailing list