Skip to content

Commit

Permalink
scripting: add 'script' to messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 authored and Dudemanguy committed Oct 27, 2023
1 parent 6bb3e05 commit bc3e850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions player/scripting.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void run_script(struct mp_script_args *arg)
talloc_free(name);

if (arg->backend->load(arg) < 0)
MP_ERR(arg, "Could not load %s %s\n", arg->backend->name, arg->filename);
MP_ERR(arg, "Could not load %s script %s\n", arg->backend->name, arg->filename);

mpv_destroy(arg->client);
talloc_free(arg);
Expand Down Expand Up @@ -188,7 +188,7 @@ static int64_t mp_load_script(struct MPContext *mpctx, const char *fname)
arg->log = mp_client_get_log(arg->client);
int64_t id = mpv_client_id(arg->client);

MP_DBG(arg, "Loading %s %s...\n", backend->name, arg->filename);
MP_DBG(arg, "Loading %s script %s...\n", backend->name, arg->filename);

if (backend->no_thread) {
run_script(arg);
Expand Down

0 comments on commit bc3e850

Please sign in to comment.