diff mplayer.c @ 25026:afead6ecb8ba

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.
author ulion
date Thu, 15 Nov 2007 01:07:56 +0000
parents 5d338b18763d
children 80804f0631f4
line wrap: on
line diff
--- a/mplayer.c	Wed Nov 14 22:26:14 2007 +0000
+++ b/mplayer.c	Thu Nov 15 01:07:56 2007 +0000
@@ -402,6 +402,11 @@
     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)
   {