summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mplayer.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/mplayer.c b/mplayer.c
index f27551cd1b..0bf52dc9ab 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1340,22 +1340,6 @@ void rm_osd_msg(struct MPContext *mpctx, int id)
}
/**
- * \brief Remove all messages from the OSD stack
- *
- */
-
-static void clear_osd_msgs(struct MPContext *mpctx)
-{
- mp_osd_msg_t *msg = mpctx->osd_msg_stack, *prev = NULL;
- while (msg) {
- prev = msg->prev;
- talloc_free(msg);
- msg = prev;
- }
- mpctx->osd_msg_stack = NULL;
-}
-
-/**
* \brief Get the current message from the OSD stack.
*
* This function decrements the message timer and destroys the old ones.
@@ -3877,9 +3861,6 @@ goto_enable_cache:
if (verbose)
opts->term_osd = 0;
- // Make sure old OSD does not stay around
- clear_osd_msgs(mpctx);
-
//================ SETUP STREAMS ==========================
if (mpctx->sh_video) {