mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-15 16:07:45 +01:00
Do not add input rate arg if the specified rate is 0
This commit is contained in:
@@ -47,9 +47,12 @@ namespace Flowframes.Media
|
||||
public static async Task<string> GetFfmpegExportArgsIn(Fraction fps, float itsScale, int rotation = 0)
|
||||
{
|
||||
var args = new List<string>();
|
||||
|
||||
fps = fps / new Fraction(itsScale);
|
||||
args.Add($"-r {fps}");
|
||||
|
||||
if(fps > 0.1f)
|
||||
{
|
||||
args.Add($"-r {fps}");
|
||||
}
|
||||
|
||||
if(rotation != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user