Skip to content

Commit 0c31705

Browse files
committed
Update README.md
1 parent e7e6f6c commit 0c31705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Please note that using videos from URLs requires ensuring that you have the righ
4242
| `unloop` | Command to disable looping of the video playback. This command will only take effect if the video is currently being looped. |
4343
| `brightness(Float)` | Command to adjust the brightness of the video playback. The `brightness` parameter is a `Float` value typically ranging from -1.0 (darkest) to 1.0 (brightest). Values outside this range will be clamped to the nearest valid value. |
4444
| `contrast(Float)` | Command to adjust the contrast of the video playback. The `contrast` parameter is a `Float` value typically ranging from 0.0 (no contrast) to 4.0 (high contrast). Values outside this range will be clamped to the nearest valid value. |
45-
| `filter(CIFilter)` | Applies a specific Core Image filter to the video. When applying filters, each new filter is added to a stack, building on the effects of those previously applied. If a newly applied filter should replace, rather than accumulate with, the existing ones, you must manually remove the previous filters from the stack before applying the new one. |
45+
| `filter(CIFilter, clear: Bool)` | Applies a specific Core Image filter to the video. If `clear` is true, any existing filters on the stack are removed before applying the new filter; otherwise, the new filter is added to the existing stack. |
4646
| `removeAllFilters` | Command to remove all applied filters from the video playback. |
4747
| `audioTrack(String)` | Command to select a specific audio track based on language code. The `languageCode` parameter specifies the desired audio track's language (e.g., "en" for English). |
4848

0 commit comments

Comments
 (0)