Skip to content

Commit 4b05c48

Browse files
committed
feat: slightly increase default quality for h264 and h265
1 parent 767e75f commit 4b05c48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gatsby-transformer-video/src/gatsby-node.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ exports.createResolvers = async (
216216
type: `GatsbyVideo`,
217217
args: {
218218
...DEFAULT_ARGS,
219-
crf: { type: GraphQLInt, defaultValue: 31 },
219+
crf: { type: GraphQLInt, defaultValue: 28 },
220220
preset: { type: GraphQLString, defaultValue: `medium` },
221221
maxRate: { type: GraphQLString },
222222
bufSize: { type: GraphQLString },
@@ -229,7 +229,7 @@ exports.createResolvers = async (
229229
type: `GatsbyVideo`,
230230
args: {
231231
...DEFAULT_ARGS,
232-
crf: { type: GraphQLInt, defaultValue: 36 },
232+
crf: { type: GraphQLInt, defaultValue: 31 },
233233
preset: { type: GraphQLString, defaultValue: `medium` },
234234
maxRate: { type: GraphQLInt },
235235
bufSize: { type: GraphQLInt },

0 commit comments

Comments
 (0)