ff-save: make fractional fps possible

parent 9e1b6130
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment