⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 input_notify.diff

📁 Last change: 2008-02-03 This is the source code of KCeasy。
💻 DIFF
字号:
Index: src/input/input.c
===================================================================
--- src/input/input.c	(revision 9350)
+++ src/input/input.c	(working copy)
@@ -318,6 +318,9 @@
         /* If we failed, wait before we are killed, and exit */
         p_input->b_error = VLC_TRUE;
 
+        /* Give interface a chance to detect that we failed */
+        var_SetBool( p_input, "intf-change", VLC_TRUE );
+
         Error( p_input );
 
         /* Tell we're dead */
@@ -934,6 +937,9 @@
     val.i_int = END_S;
     var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL );
 
+    /* Tell interface that we have finished */
+    var_SetBool( p_input, "intf-change", VLC_TRUE );
+
     /* Clean control variables */
     input_ControlVarClean( p_input );
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -