aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-12 14:17:26 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-12 14:17:26 +0000
commit750f0e1f8b6c04ca4562a64fd1049f322ba05aa8 (patch)
tree7aa6d486cf256887b2590a004bfde0179749a9d8 /ffmpeg.c
parent318c5e052415aada4036c382cb0ef243113f667a (diff)
downloadffmpeg-750f0e1f8b6c04ca4562a64fd1049f322ba05aa8.tar.gz
Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf(). Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 48a77e844b..24777deaff 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1878,7 +1878,7 @@ static int av_encode(AVFormatContext **output_files,
}
if (do_pkt_dump) {
- av_pkt_dump(stdout, &pkt, do_hex_dump);
+ av_pkt_dump_log(NULL, AV_LOG_DEBUG, &pkt, do_hex_dump);
}
/* the following test is needed in case new streams appear
dynamically in stream : we ignore them */