diff options
author | wm4 <wm4@nowhere> | 2013-01-23 10:56:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-23 10:56:11 +0100 |
commit | 4c56baba4048f8a881253d4fe2f49c2715c77376 (patch) | |
tree | d75891df8cd30c404072f9b67b6da21188b79ba8 /video/out/geometry.h | |
parent | f2dcdca0c2dc5f904323659b65b29a2b6f00fd88 (diff) | |
download | mpv-4c56baba4048f8a881253d4fe2f49c2715c77376.tar.bz2 mpv-4c56baba4048f8a881253d4fe2f49c2715c77376.tar.xz |
options: move -geometry parsing to m_option.c
This also means the option is verified on program start, not when the VO
is created. The actual code becomes a bit more complex, because the
screen width/height is not available at program start.
The actual parsing code is still the same, with its unusual sscanf()
usage.
Diffstat (limited to 'video/out/geometry.h')
-rw-r--r-- | video/out/geometry.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/video/out/geometry.h b/video/out/geometry.h deleted file mode 100644 index 77868a5aad..0000000000 --- a/video/out/geometry.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * copyright (C) 2002 Mark Zealey <mark@zealos.org> - * - * This file is part of MPlayer. - * - * MPlayer is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * MPlayer is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with MPlayer; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef MPLAYER_GEOMETRY_H -#define MPLAYER_GEOMETRY_H - -extern char *vo_geometry; -extern int geometry_wh_changed; -extern int geometry_xy_changed; -int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); - -#endif /* MPLAYER_GEOMETRY_H */ |