[gegl] ff-save: make fractional fps possible



commit 73becd94b5d84730fe608fe5412fbec3d68a265d
Author: Øyvind Kolås <pippin gimp org>
Date:   Sat Nov 28 01:06:03 2015 +0100

    ff-save: make fractional fps possible

 operations/external/ff-save.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/ff-save.c b/operations/external/ff-save.c
index 42c9350..0bd72ac 100644
--- a/operations/external/ff-save.c
+++ b/operations/external/ff-save.c
@@ -499,7 +499,7 @@ add_video_stream (GeglProperties *o, AVFormatContext * oc, int codec_id)
   c->width = p->width;
   c->height = p->height;
   /* frames per second */
-  st->time_base =(AVRational){1, o->frame_rate};
+  st->time_base =(AVRational){1000, o->frame_rate * 1000};
   c->time_base = st->time_base;
 
   c->pix_fmt = AV_PIX_FMT_YUV420P;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]