From d48204243d348b9a1619a03c60f8d7f91c70d78c Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 5 May 2003 16:22:08 +0000 Subject: add new event for pausing pvr the engine must be paused "from inside", otherwise, fifos might be full and pvr plugin read function would never be called anymore. CVS patchset: 4772 CVS date: 2003/05/05 16:22:08 --- include/xine.h.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xine.h.in b/include/xine.h.in index ee75f45ca..3e9c890f4 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.80 2003/05/04 01:35:05 hadess Exp $ + * $Id: xine.h.in,v 1.81 2003/05/05 16:22:08 miguelfreitas Exp $ * * public xine-lib (libxine) interface and documentation * @@ -1242,6 +1242,7 @@ void xine_config_reset (xine_t *self); #define XINE_EVENT_PVR_SAVE 201 #define XINE_EVENT_PVR_REPORT_NAME 202 #define XINE_EVENT_PVR_REALTIME 203 +#define XINE_EVENT_PVR_PAUSE 204 /* * xine event struct @@ -1402,6 +1403,14 @@ typedef struct { int mode; } xine_pvr_realtime_t; +typedef struct { + /* mode values: + * 0 = playing + * 1 = paused + */ + int mode; +} xine_pvr_pause_t; + #endif /* -- cgit v1.2.3