summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-03 14:49:48 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:18 +0900
commitcb9b59858d1fb9b6e670f42082e7880c6bdb080f (patch)
treefc78211657b3f7f3414eb648590f23bf28eb80bf
parent3f85092ffe977fa5f0e729b2924d24bbf8c4e221 (diff)
downloadmpv-cb9b59858d1fb9b6e670f42082e7880c6bdb080f.tar.bz2
mpv-cb9b59858d1fb9b6e670f42082e7880c6bdb080f.tar.xz
TOOLS/lua/observe-all: add a warning
This is just natural, but it's also not that obvious.
-rw-r--r--TOOLS/lua/observe-all.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/TOOLS/lua/observe-all.lua b/TOOLS/lua/observe-all.lua
index 9bfdf44992..be9f7270e4 100644
--- a/TOOLS/lua/observe-all.lua
+++ b/TOOLS/lua/observe-all.lua
@@ -1,4 +1,8 @@
-- Test script for property change notification mechanism.
+-- Note that watching/reading some properties can be very expensive, or
+-- require the player to synchronously wait on network (when playing
+-- remote files), so you should in general only watch properties you
+-- are interested in.
local utils = require("mp.utils")