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

Stefano Sabatini git at videolan.org
Sun Sep 25 22:47:27 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Sep 24 13:58:45 2011 +0200| [dd91499b6645e0c185b4156d07849b0e0735312f] | committer: Stefano Sabatini

lavfi: add debug trace when processing events

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dd91499b6645e0c185b4156d07849b0e0735312f
---

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

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 783fda5..63085dc 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 command:%s arg:%s\n",
+               cmd->time, cmd->command, cmd->arg);
         avfilter_process_command(link->dst, cmd->command, cmd->arg, 0, 0, cmd->flags);
         command_queue_pop(link->dst);
         cmd= link->dst->command_queue;



More information about the ffmpeg-cvslog mailing list