diff options
author | Cœur <coeur@gmx.fr> | 2022-04-25 19:27:18 +0800 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2022-04-25 09:07:18 -0400 |
commit | bb5b4b1ba61b67da40c85c34376aced9383fc366 (patch) | |
tree | b917b0ad45f31c1187c47424de4159cc28aa730f /filters | |
parent | 6407095871b8f177996a6ec3ee9a8c4f06bd63ee (diff) | |
download | mpv-bb5b4b1ba61b67da40c85c34376aced9383fc366.tar.bz2 mpv-bb5b4b1ba61b67da40c85c34376aced9383fc366.tar.xz |
various: fix typos
Diffstat (limited to 'filters')
-rw-r--r-- | filters/f_utils.h | 6 | ||||
-rw-r--r-- | filters/filter.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/filters/f_utils.h b/filters/f_utils.h index 76f85baca6..05c5c8e651 100644 --- a/filters/f_utils.h +++ b/filters/f_utils.h @@ -10,7 +10,7 @@ struct mp_filter *mp_compute_frame_duration_create(struct mp_filter *parent); // Given the filters[0..num_filters] array, connect in with the input of the // first filter, connect the output of the first filter to the input to the -// second filter, etc., until out. All filters are assumed to be bidrectional, +// second filter, etc., until out. All filters are assumed to be bidirectional, // with input on pin 0 and output on pin 1. NULL entries are skipped. void mp_chain_filters(struct mp_pin *in, struct mp_pin *out, struct mp_filter **filters, int num_filters); @@ -68,10 +68,10 @@ void mp_subfilter_destroy(struct mp_subfilter *sub); // The filter is destroyed with talloc_free(sub->filter). bool mp_subfilter_drain_destroy(struct mp_subfilter *sub); -// A bidrectional filter which passes through all data. +// A bidirectional filter which passes through all data. struct mp_filter *mp_bidir_nop_filter_create(struct mp_filter *parent); -// A bidrectional filter which does not connect its pins. Instead, the user is, +// A bidirectional filter which does not connect its pins. Instead, the user is, // by convention, allowed to access the filter's private pins, and use them // freely. (This is sometimes convenient, such as when you need to pass a single // filter instance to other code, and you don't need a full "proper" filter.) diff --git a/filters/filter.c b/filters/filter.c index d52c46c185..d4a0dd6a0b 100644 --- a/filters/filter.c +++ b/filters/filter.c @@ -400,7 +400,7 @@ static void init_connection(struct mp_pin *p) if (out->manual_connection) assert(out->manual_connection->in->runner == runner); - // Logicaly, the ends are always manual connections. A pin chain without + // Logically, the ends are always manual connections. A pin chain without // manual connections at the ends is still disconnected (or if this // attempted to extend an existing connection, becomes dangling and gets // disconnected). |