diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-10 10:35:17 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-10 10:35:17 +0200 |
commit | 7b993c4a516f9eb94f72f86831eef2fdd8524ba5 (patch) | |
tree | 8ec292ebd388e8af1e8892ae5fd4cb2e849a9c56 /libavfilter/vf_tile.c | |
parent | 4adf5dfadb9ae310199bb0dc77481c233342d977 (diff) | |
download | ffmpeg-7b993c4a516f9eb94f72f86831eef2fdd8524ba5.tar.gz |
vf_tile: set frame_rate.
Diffstat (limited to 'libavfilter/vf_tile.c')
-rw-r--r-- | libavfilter/vf_tile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c index 031757a120..c4d5f9c2c9 100644 --- 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 }); |