mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-11 07:14:04 +09:00
fixing another stupid bug
This commit is contained in:
@@ -1924,7 +1924,12 @@ static int get_video_metadata(tev_encoder_t *config) {
|
|||||||
} else {
|
} else {
|
||||||
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