summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-14 19:34:53 +0200
committerwm4 <wm4@nowhere>2014-08-14 19:40:43 +0200
commita7107686d74250d4e4966b661c0e41994df71952 (patch)
tree4dfe0adb03c43389ac7888ad38f77a6e6c89f5bd /player/sub.c
parent8f77d9df4aac53830ae45d64ad0ddfe2970a658a (diff)
downloadmpv-a7107686d74250d4e4966b661c0e41994df71952.tar.bz2
mpv-a7107686d74250d4e4966b661c0e41994df71952.tar.xz
client API: directly lock playloop
Until recently, vo_opengl could be accessed from a single thread only, due to the OpenGL API context being thread-specific. This issue doesn't exist anymore, because VOs run on their own thread. This means we can simply lock/unlock the playloop instead of doing something complicated to get the playloop thread to execute our code.
Diffstat (limited to 'player/sub.c')
0 files changed, 0 insertions, 0 deletions