summaryrefslogtreecommitdiffstats
path: root/libvo/osx_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-07 01:13:25 +0200
committerwm4 <wm4@nowhere>2012-08-07 01:13:25 +0200
commitf3bb6692c728bd05f567fe1ca53902ec41bec235 (patch)
tree4e24574d2bb54036d4e142b375c0b71e5e3a3b3f /libvo/osx_common.h
parent1602bb5a4616b35cddbefc950eec404cc5110dc4 (diff)
downloadmpv-f3bb6692c728bd05f567fe1ca53902ec41bec235.tar.bz2
mpv-f3bb6692c728bd05f567fe1ca53902ec41bec235.tar.xz
osx_common: remove old VO include, modify change_movie_aspect()
The only reason the old VO related header old_vo_defines.h was included was probably to gain access to the current VO struct in the function change_movie_aspect(). Make that function take a parameter instead. This function seems to be unused.
Diffstat (limited to 'libvo/osx_common.h')
-rw-r--r--libvo/osx_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/osx_common.h b/libvo/osx_common.h
index 21bb3d8548..43d9d07c99 100644
--- a/libvo/osx_common.h
+++ b/libvo/osx_common.h
@@ -19,8 +19,10 @@
#ifndef MPLAYER_OSX_COMMON_H
#define MPLAYER_OSX_COMMON_H
+struct vo;
+
int convert_key(unsigned key, unsigned charcode);
-void change_movie_aspect(float new_aspect);
+void change_movie_aspect(struct vo *vo, float new_aspect);
void config_movie_aspect(float config_aspect);
void osx_foreground_hack(void);