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:
4adf5df
)
vf_tile: set frame_rate.
author
Nicolas George
<nicolas.george@normalesup.org>
Sun, 10 Jun 2012 08:35:17 +0000
(10:35 +0200)
committer
Nicolas George
<nicolas.george@normalesup.org>
Sun, 10 Jun 2012 08:35:17 +0000
(10:35 +0200)
libavfilter/vf_tile.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_tile.c
b/libavfilter/vf_tile.c
index
031757a
..
c4d5f9c
100644
(file)
--- a/
libavfilter/vf_tile.c
+++ b/
libavfilter/vf_tile.c
@@
-80,6
+80,8
@@
static int config_props(AVFilterLink *outlink)
outlink->w = tile->w * inlink->w;
outlink->h = tile->h * inlink->h;
outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
+ outlink->frame_rate = av_mul_q(inlink->frame_rate,
+ (AVRational){ 1, tile->w * tile->h });
ff_draw_init(&tile->draw, inlink->format, 0);
/* TODO make the color an option, or find an unified way of choosing it */
ff_draw_color(&tile->draw, &tile->blank, (uint8_t[]){ 0, 0, 0, -1 });