summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-15 01:07:56 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-15 01:07:56 +0000
commit8db062d68341cef08aa3b05fe74735bcab86f3b2 (patch)
tree0e7548c6f5396e82b02885ff69de18a51100121e /mplayer.c
parent2d6d93d83db25ad4dbf596a72479d4bf1cb4d54c (diff)
downloadmpv-8db062d68341cef08aa3b05fe74735bcab86f3b2.tar.bz2
mpv-8db062d68341cef08aa3b05fe74735bcab86f3b2.tar.xz
Remove the pause filter and the cmd queue hack, to know the mplayer going to
pause by checking mpctx directly. If there's any video update before the pause then capture the frame or fallback to use last captured frame as pausing frame. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25054 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 69168855b8..4f3c507227 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -402,6 +402,11 @@ 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 int is_valid_metadata_type (metadata_t type) {
switch (type)
{