1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 11:42:04 +00:00
mpv/player
wm4 7f4a09bb85 sub: uglify OSD code path with locking
Do two things:
1. add locking to struct osd_state
2. make struct osd_state opaque

While 1. is somewhat simple, 2. is quite horrible. Lots of code accesses
lots of osd_state (and osd_object) members. To make sure everything is
accessed synchronously, I prefer making osd_state opaque, even if it
means adding pretty dumb accessors.

All of this is meant to allow running VO in their own threads.
Eventually, VOs will request OSD on their own, which means osd_state
will be accessed from foreign threads.
2014-01-18 01:27:43 +01:00
..
lua lua: use core log level names 2014-01-16 23:06:41 +01:00
timeline
audio.c Fix audio delay inversion 2014-01-06 18:40:31 +01:00
command.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
command.h
configfiles.c player: load encoding-profiles.conf before the main config 2014-01-01 19:25:52 +01:00
core.h sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
dvdnav.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
loadfile.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
lua.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
lua.h
main.c msg: move special declarations to msg_control.h 2014-01-16 23:06:40 +01:00
misc.c player: redo terminal OSD and status line handling 2014-01-13 20:08:13 +01:00
osd.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
playloop.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
screenshot.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
screenshot.h
sub.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
video.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00