changeset 5212:716e143af3c0 libavformat

Print at debug level the score with which probing succeeded.
author michael
date Wed, 16 Sep 2009 20:23:04 +0000
parents 78065d4a5ae1
children d7558c9ed907
files utils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Wed Sep 16 20:06:48 2009 +0000
+++ b/utils.c	Wed Sep 16 20:23:04 2009 +0000
@@ -474,6 +474,8 @@
             }
             /* guess file format */
             fmt = av_probe_input_format2(pd, 1, &score);
+            if(fmt)
+                av_log(*ic_ptr, AV_LOG_DEBUG, "Probe with size=%d detected %s with score=%d\n", probe_size, fmt->name, score);
         }
         av_freep(&pd->buf);
     }