diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-26 16:22:48 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-26 16:22:48 +0300 |
commit | ef438b3a6b5bc714d521dd46d3ccb798ecd31eed (patch) | |
tree | e49a2530f6d19b658babc751c787f2c6df71534b | |
parent | 7e63b068bde3da966c2d1bf3e1b5f124ec008dea (diff) | |
download | mpv-ef438b3a6b5bc714d521dd46d3ccb798ecd31eed.tar.bz2 mpv-ef438b3a6b5bc714d521dd46d3ccb798ecd31eed.tar.xz |
osx_common.c: Fix compilation
This file should have been fixed when merging it from svn. Broke
compilation with OS X-specific VOs enabled.
-rw-r--r-- | libvo/osx_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/osx_common.c b/libvo/osx_common.c index 97651f9f04..377460346a 100644 --- a/libvo/osx_common.c +++ b/libvo/osx_common.c @@ -20,6 +20,7 @@ // only to get keycode definitions from HIToolbox/Events.h #include <Carbon/Carbon.h> #include "osx_common.h" +#include "old_vo_defines.h" #include "video_out.h" #include "osdep/keycodes.h" #include "input/input.h" @@ -76,7 +77,7 @@ void change_movie_aspect(float new_aspect) new_aspect = old_movie_aspect; our_aspect_change = 1; snprintf(cmd_str, sizeof(cmd_str), "switch_ratio %f", new_aspect); - mp_input_queue_cmd(mp_input_parse_cmd(cmd_str)); + mp_input_queue_cmd(global_vo->input_ctx, mp_input_parse_cmd(cmd_str)); } /** |