]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_fps.c
configure: Simplify nvenc check (and move it to the correct spot)
[ffmpeg] / libavfilter / vf_fps.c
index ea22d37b54c1ab4f25648d9f7ee65313a6bd7643..e5562c85176587e7fa20f71acc7755ccdc29175e 100644 (file)
@@ -116,9 +116,10 @@ static int config_props(AVFilterLink* link)
 {
     FPSContext   *s = link->src->priv;
 
-    link->time_base = (AVRational){ s->framerate.den, s->framerate.num };
-    link->w         = link->src->inputs[0]->w;
-    link->h         = link->src->inputs[0]->h;
+    link->time_base  = (AVRational){ s->framerate.den, s->framerate.num };
+    link->frame_rate = s->framerate;
+    link->w          = link->src->inputs[0]->w;
+    link->h          = link->src->inputs[0]->h;
 
     return 0;
 }