diff options
Diffstat (limited to 'support/doc/plugins/guide.md')
-rw-r--r-- | support/doc/plugins/guide.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index ea33b8d9f..e30d95fc9 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md | |||
@@ -341,9 +341,16 @@ async function register ({ | |||
341 | const streamString = streamNum ? ':' + streamNum : '' | 341 | const streamString = streamNum ? ':' + streamNum : '' |
342 | 342 | ||
343 | // You can also return a promise | 343 | // You can also return a promise |
344 | // All these options are optional and defaults to [] | 344 | // All these options are optional |
345 | return { | 345 | return { |
346 | scaleFilter: { | ||
347 | // Used to define an alternative scale filter, needed by some encoders | ||
348 | // Default to 'scale' | ||
349 | name: 'scale_vaapi' | ||
350 | }, | ||
351 | // Default to [] | ||
346 | inputOptions: [], | 352 | inputOptions: [], |
353 | // Default to [] | ||
347 | outputOptions: [ | 354 | outputOptions: [ |
348 | // Use a custom bitrate | 355 | // Use a custom bitrate |
349 | '-b' + streamString + ' 10K' | 356 | '-b' + streamString + ' 10K' |