summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-08 16:11:11 +0200
committerwm4 <wm4@nowhere>2014-06-08 16:11:11 +0200
commit51834592fc59325d6276feb4f35a373985fc7fdd (patch)
tree40c9e64389757e4c3f791fa29bc3dcea55aebe41 /libmpv
parentf118d2af6a132487580160e16035f47072dbbac1 (diff)
downloadmpv-51834592fc59325d6276feb4f35a373985fc7fdd.tar.bz2
mpv-51834592fc59325d6276feb4f35a373985fc7fdd.tar.xz
client API: trigger wakeup when creating wakeup pipe/callback
Since redundant wakeups are avoided now, it's easy to miss a wakeup when creating/setting the pipe/callback after the client API was signalled. If the client API is signalled, need_wakeup is set to true, and wakeup_client skips writing to the pipe or calling the client API. That this can happen is not very obvious to the client API, so trigger a wakeup right on start in order to remove this special case.
Diffstat (limited to 'libmpv')
0 files changed, 0 insertions, 0 deletions