Skip to content

Commit 6445037

Browse files
committed
Fix GIF not being set as fixed format and having wrong default quality value
1 parent 9a226c1 commit 6445037

File tree

1 file changed

+3
-3
lines changed
  • ff-utils-winforms/Data/Codecs/Video

1 file changed

+3
-3
lines changed

ff-utils-winforms/Data/Codecs/Video/Gif.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ class Gif : IEncoder
1414
public string[] ColorFormats { get; } = new string[] { };
1515
public int ColorFormatDefault { get; }
1616
public int QMin { get; } = 0;
17-
public int QMax { get; } = 50;
18-
public int QDefault { get; } = 24;
17+
public int QMax { get; } = 256;
18+
public int QDefault { get; } = 128;
1919
public string QInfo { get; } = "Color Palette Size (Higher is better)";
2020
public string PresetInfo { get; } = "Higher = Better compression";
2121

2222
public bool SupportsTwoPass { get; } = false;
2323
public bool DoesNotEncode { get; } = false;
24-
public bool IsFixedFormat { get; } = false;
24+
public bool IsFixedFormat { get; } = true;
2525
public bool IsSequence { get; } = false;
2626

2727
public CodecArgs GetArgs(Dictionary<string, string> encArgs = null, MediaFile mediaFile = null, Pass pass = Pass.OneOfOne)

0 commit comments

Comments
 (0)