mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-11 15:24:05 +09:00
fixing another stupid bug
This commit is contained in:
@@ -1925,6 +1925,11 @@ static int get_video_metadata(tev_encoder_t *config) {
|
|||||||
inputFramerate = config->fps * 1.f;
|
inputFramerate = config->fps * 1.f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if output FPS is unspecified, use the input rate
|
||||||
|
if (config->output_fps == 0) {
|
||||||
|
config->output_fps = config->fps;
|
||||||
|
}
|
||||||
|
|
||||||
// Frame count will be determined during encoding
|
// Frame count will be determined during encoding
|
||||||
config->total_frames = 0;
|
config->total_frames = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user