projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184582d
)
print start_time patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen...
author
Wolfram Gloger
<wmglo@dent.med.uni-muenchen.de>
Mon, 11 Oct 2004 17:12:52 +0000
(17:12 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Oct 2004 17:12:52 +0000
(17:12 +0000)
Originally committed as revision 3580 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
331f42c
..
f8a00f2
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2224,6
+2224,14
@@
void dump_format(AVFormatContext *ic,
} else {
av_log(NULL, AV_LOG_DEBUG, "N/A");
}
+ if (ic->start_time != AV_NOPTS_VALUE) {
+ int secs, us;
+ av_log(NULL, AV_LOG_DEBUG, ", start: ");
+ secs = ic->start_time / AV_TIME_BASE;
+ us = ic->start_time % AV_TIME_BASE;
+ av_log(NULL, AV_LOG_DEBUG, "%d.%06d",
+ secs, (int)av_rescale(us, 1000000, AV_TIME_BASE));
+ }
av_log(NULL, AV_LOG_DEBUG, ", bitrate: ");
if (ic->bit_rate) {
av_log(NULL, AV_LOG_DEBUG,"%d kb/s", ic->bit_rate / 1000);