summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas F <ovdev@fratti.ch>2022-12-21 13:53:51 +0100
committersfan5 <sfan5@live.de>2023-01-24 15:56:56 +0100
commitdaf9a3c971a1655dd0d9b11fe82d2782e25eb18d (patch)
tree3c7672bfe4e57aa5f55dd6711198c4a0a6058a7d
parentb960de5fe31d40a119306284b7da5a7e30fbccb0 (diff)
downloadmpv-daf9a3c971a1655dd0d9b11fe82d2782e25eb18d.tar.bz2
mpv-daf9a3c971a1655dd0d9b11fe82d2782e25eb18d.tar.xz
external_files: set log level for potential files to trace
We ask users to freely share log files with us, which is usually okay, unless a user has some unrelated and potentially embarrassing files in their working directory. These would show up in the debug level message output that --log-file enables. Change the listing of potential external files to trace log level, to save the users and the developers the embarrassment.
-rw-r--r--player/external_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/external_files.c b/player/external_files.c
index d1bc4e53df..031b118f4c 100644
--- a/player/external_files.c
+++ b/player/external_files.c
@@ -254,7 +254,7 @@ static void append_dir_subtitles(struct mpv_global *global, struct MPOpts *opts,
if (!limit_fuzziness && fuzz >= 2)
prio |= 1;
- mp_dbg(log, "Potential external file: \"%s\" Priority: %d\n",
+ mp_trace(log, "Potential external file: \"%s\" Priority: %d\n",
de->d_name, prio);
if (prio) {