diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-15 01:07:56 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-15 01:07:56 +0000 |
commit | 8db062d68341cef08aa3b05fe74735bcab86f3b2 (patch) | |
tree | 0e7548c6f5396e82b02885ff69de18a51100121e /mplayer.c | |
parent | 2d6d93d83db25ad4dbf596a72479d4bf1cb4d54c (diff) | |
download | mpv-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |