diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-01-09 19:27:43 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-01-09 19:27:43 +0200 |
commit | 245773e56954a926033293210c781e5fb71eb651 (patch) | |
tree | ce9baa72a51140899e676cd172974a2d36b818f0 | |
parent | 62e38774173972acab91e116f01050ef5cc0149f (diff) | |
download | mpv-245773e56954a926033293210c781e5fb71eb651.tar.bz2 mpv-245773e56954a926033293210c781e5fb71eb651.tar.xz |
cleanup: remove left over access_mpcontext.h (from GUI)
access_mpcontext.h and the declared functions in mplayer.c were only
used by the now deleted internal GUI. Remove the unused header and
functions.
-rw-r--r-- | access_mpcontext.h | 30 | ||||
-rw-r--r-- | mplayer.c | 31 |
2 files changed, 0 insertions, 61 deletions
diff --git a/access_mpcontext.h b/access_mpcontext.h deleted file mode 100644 index 4b866f255f..0000000000 --- a/access_mpcontext.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * 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_ACCESS_MPCONTEXT_H -#define MPLAYER_ACCESS_MPCONTEXT_H - -struct MPContext; -void *mpctx_get_video_out(struct MPContext *mpctx); -void *mpctx_get_demuxer(struct MPContext *mpctx); -void *mpctx_get_playtree_iter(struct MPContext *mpctx); -void *mpctx_get_mixer(struct MPContext *mpctx); -int mpctx_get_global_sub_size(struct MPContext *mpctx); -int mpctx_get_osd_function(struct MPContext *mpctx); - -#endif /* MPLAYER_ACCESS_MPCONTEXT_H */ @@ -62,7 +62,6 @@ #include "m_option.h" #include "m_config.h" #include "mplayer.h" -#include "access_mpcontext.h" #include "m_property.h" #include "libavutil/avstring.h" @@ -348,36 +347,6 @@ int use_filename_title; #include "metadata.h" -void *mpctx_get_video_out(MPContext *mpctx) -{ - return mpctx->video_out; -} - -void *mpctx_get_demuxer(MPContext *mpctx) -{ - return mpctx->demuxer; -} - -void *mpctx_get_playtree_iter(MPContext *mpctx) -{ - return mpctx->playtree_iter; -} - -void *mpctx_get_mixer(MPContext *mpctx) -{ - return &mpctx->mixer; -} - -int mpctx_get_global_sub_size(MPContext *mpctx) -{ - return mpctx->global_sub_size; -} - -int mpctx_get_osd_function(MPContext *mpctx) -{ - return mpctx->osd_function; -} - static float get_relative_time(struct MPContext *mpctx) { unsigned int new_time = GetTimer(); |