summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-01-09 19:27:43 +0200
committerUoti Urpala <uau@mplayer2.org>2012-01-09 19:27:43 +0200
commit245773e56954a926033293210c781e5fb71eb651 (patch)
treece9baa72a51140899e676cd172974a2d36b818f0 /mplayer.c
parent62e38774173972acab91e116f01050ef5cc0149f (diff)
downloadmpv-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.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/mplayer.c b/mplayer.c
index 78199499e8..44c980f6f8 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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();