summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-03 14:49:48 +0100
committerwm4 <wm4@nowhere>2015-01-03 14:49:48 +0100
commit411109f484e7c8537540df414e92015d94a7ca98 (patch)
tree6a3463e789e6259f5486d831af4d6f5cbfc75800 /TOOLS
parent44c077024731a7bfb6897c3d5cb8462cdcc99e24 (diff)
downloadmpv-411109f484e7c8537540df414e92015d94a7ca98.tar.bz2
mpv-411109f484e7c8537540df414e92015d94a7ca98.tar.xz
TOOLS/lua/observe-all: add a warning
This is just natural, but it's also not that obvious.
Diffstat (limited to 'TOOLS')
-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")