summaryrefslogtreecommitdiffstats
path: root/m_property.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-11-04 07:33:51 +0100
committerwm4 <wm4@mplayer2.org>2012-03-17 21:05:38 +0100
commit5ee7797bf840c2ad4a4e0a864ac65a46a55978ed (patch)
treef3204edd9924d79dd2227fedb4524cb6aeb5acda /m_property.h
parent1eaf5d262607fdce6f525e0b53c5d76fb23dc84a (diff)
downloadmpv-5ee7797bf840c2ad4a4e0a864ac65a46a55978ed.tar.bz2
mpv-5ee7797bf840c2ad4a4e0a864ac65a46a55978ed.tar.xz
vo_direct3d: use new VO API, and do some minor reformatting
The minor reformats are mainly about adding more line breaks to fit a 80 column limit. Using the new VO API implies removing all non-const global variables (because that is one important goal of the new API), so do that as well. The code already had all variables in a context struct, and changing all the functions to pass this context struct along was all what had to be done. Also handle redrawing properly: if something changes that requires an immediate redrawing operation (e.g. setting video equalizers when paused or when playback is slow), vo->want_redraw should be set, instead of redrawing on your own.
Diffstat (limited to 'm_property.h')
0 files changed, 0 insertions, 0 deletions