Fix T52811: At any framerate selected, video exported with 1000fps

This commit is contained in:
Sergey Sharybin 2017-09-19 11:30:37 +05:00
parent 36f5972ed0
commit 7177e0ac3e
Notes: blender-bot 2023-02-14 09:17:57 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #52811, At any framerate selected, video exported with 1000fps
1 changed files with 1 additions and 0 deletions

View File

@ -681,6 +681,7 @@ static AVStream *alloc_video_stream(FFMpegContext *context, RenderData *rd, int
/* xasp & yasp got float lately... */
st->sample_aspect_ratio = c->sample_aspect_ratio = av_d2q(((double) rd->xasp / (double) rd->yasp), 255);
st->avg_frame_rate = av_inv_q(c->time_base);
set_ffmpeg_properties(rd, c, "video", &opts);