OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6014c
)
buffersrc: Improve initialization log message
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Thu, 10 Sep 2015 15:05:54 +0000
(17:05 +0200)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sun, 13 Sep 2015 15:34:45 +0000
(17:34 +0200)
Add timebase and aspect ratio information.
libavfilter/buffersrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/buffersrc.c
b/libavfilter/buffersrc.c
index
651f2ec
..
a9b893c
100644
(file)
--- a/
libavfilter/buffersrc.c
+++ b/
libavfilter/buffersrc.c
@@
-166,7
+166,10
@@
static av_cold int init_video(AVFilterContext *ctx)
if (!(c->fifo = av_fifo_alloc(sizeof(AVFrame*))))
return AVERROR(ENOMEM);
- av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d pixfmt:%s\n", c->w, c->h, av_get_pix_fmt_name(c->pix_fmt));
+ av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d pixfmt:%s tb:%d/%d sar:%d/%d\n",
+ c->w, c->h, av_get_pix_fmt_name(c->pix_fmt),
+ c->time_base.num, c->time_base.den,
+ c->pixel_aspect.num, c->pixel_aspect.den);
return 0;
}