aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_frei0r.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-17 14:46:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-17 14:46:21 +0100
commit353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e (patch)
treeb0f09fad04b11d94ee04499b6bcc15727d14244d /libavfilter/vf_frei0r.c
parentf8ff76199c380146299b434fb56f51d49be90b1f (diff)
downloadffmpeg-353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e.tar.gz
avfilter/vf_frei0r: also set AVFilterLink.frame_rate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_frei0r.c')
-rw-r--r--libavfilter/vf_frei0r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 9f868383ee..8dcb177f56 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -471,6 +471,7 @@ static int source_config_props(AVFilterLink *outlink)
outlink->w = s->w;
outlink->h = s->h;
outlink->time_base = s->time_base;
+ outlink->frame_rate = av_inv_q(s->time_base);
outlink->sample_aspect_ratio = (AVRational){1,1};
if (s->destruct && s->instance)