diff options
author | wm4 <wm4@nowhere> | 2020-02-23 19:48:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-23 19:48:25 +0100 |
commit | 0ec036bfd8b82339ea65278302a3b771648d7aff (patch) | |
tree | 737802d581fddef6f8c3a75318caf98c875f2bab /player | |
parent | 758082a1f20c130ae3babdc7bc68abc2f4b9f8df (diff) | |
download | mpv-0ec036bfd8b82339ea65278302a3b771648d7aff.tar.bz2 mpv-0ec036bfd8b82339ea65278302a3b771648d7aff.tar.xz |
ta: remove two pointless wrappers
Diffstat (limited to 'player')
-rw-r--r-- | player/client.c | 2 | ||||
-rw-r--r-- | player/command.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/player/client.c b/player/client.c index 67087eac42..3122b880df 100644 --- a/player/client.c +++ b/player/client.c @@ -1141,7 +1141,7 @@ static void async_cmd_fn(void *data) struct async_cmd_request *req = data; struct mp_cmd *cmd = req->cmd; - ta_xset_parent(cmd, NULL); + ta_set_parent(cmd, NULL); req->cmd = NULL; struct mp_abort_entry *abort = NULL; diff --git a/player/command.c b/player/command.c index 37ace97ba6..a66c7bdf2f 100644 --- a/player/command.c +++ b/player/command.c @@ -4284,7 +4284,7 @@ static void continue_cmd_list(struct cmd_list_ctx *list) struct mp_cmd *sub = list->parent->args[0].v.p; list->parent->args[0].v.p = sub->queue_next; - ta_xset_parent(sub, NULL); + ta_set_parent(sub, NULL); if (sub->flags & MP_ASYNC_CMD) { // We run it "detached" (fire & forget) |