summaryrefslogtreecommitdiffstats
path: root/video/out/osx_common.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-01-16 00:42:07 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-01-16 22:27:04 +0100
commit89a49ffd74f8be4ff36b0e6500e7b4434944c7fa (patch)
tree7d65e2c29b0984ac3c62d77510c433d22559b69b /video/out/osx_common.h
parent60755108a61d7ce2f5ff07226a689bde552be008 (diff)
downloadmpv-89a49ffd74f8be4ff36b0e6500e7b4434944c7fa.tar.bz2
mpv-89a49ffd74f8be4ff36b0e6500e7b4434944c7fa.tar.xz
osxbundle: cocoa_common: change playlist on fileopen events
When opening new files in Finder when `mpv` is running from an application bundle, the new files will now replace the current playlist. Fixes #14
Diffstat (limited to 'video/out/osx_common.h')
-rw-r--r--video/out/osx_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/osx_common.h b/video/out/osx_common.h
index ae31a6353d..8d2d70edc4 100644
--- a/video/out/osx_common.h
+++ b/video/out/osx_common.h
@@ -23,5 +23,6 @@ struct vo;
int convert_key(unsigned key, unsigned charcode);
int is_osx_version_at_least(int majorv, int minorv, int bugfixv);
+NSString *escape_loadfile_name(NSString *input);
#endif /* MPLAYER_OSX_COMMON_H */