[11/12] vsrc_color: set frame rate

Message ID 1445978420-17559-7-git-send-email-stebbins@jetheaddev.com
State New
Headers show

Commit Message

John Stebbins Oct. 27, 2015, 8:40 p.m.
---
 libavfilter/vsrc_color.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/libavfilter/vsrc_color.c b/libavfilter/vsrc_color.c
index 3b506ec..644fd8b 100644
--- a/libavfilter/vsrc_color.c
+++ b/libavfilter/vsrc_color.c
@@ -138,6 +138,7 @@  static int color_config_props(AVFilterLink *inlink)
     inlink->w = color->w;
     inlink->h = color->h;
     inlink->time_base = color->time_base;
+    inlink->frame_rate = av_inv_q(color->time_base);
 
     return 0;
 }