summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-15 12:31:07 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-16 01:21:59 +0300
commitf9bcb5c42c9a3adb54179ef154300734911ea2b5 (patch)
treed3a0701ed4ea3e43cf5364e5e3ee6934ba4a0c02 /player/client.c
parent7bfb240309225fa6fb4e51a0deda8fd8e34953e0 (diff)
downloadmpv-f9bcb5c42c9a3adb54179ef154300734911ea2b5.tar.bz2
mpv-f9bcb5c42c9a3adb54179ef154300734911ea2b5.tar.xz
client API: clarify that Display pointers etc. need to stay valid
Normally, MPV_RENDER_PARAM* arguments are copied, unless documented otherwise. Of course we can't copy X11 Display or Wayland wl_display types, but for arguments that are "summarized" in a struct (like MPV_RENDER_PARAM_OPENGL_FBO), a copy is expected. Also add some unused infrastructure to make this explicit, and to make it easier to add parameter types that require a copy. Untested.
Diffstat (limited to 'player/client.c')
0 files changed, 0 insertions, 0 deletions