summaryrefslogtreecommitdiff
path: root/include/xine.h.in
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2003-05-04 01:35:04 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2003-05-04 01:35:04 +0000
commit8e2df27969adca164df2ab27bcebe6e026e8ee52 (patch)
tree7a4adc8bc030a9c18694690c3554bb5d0225d9a4 /include/xine.h.in
parentb2a9904e0e49b5c96c01e506dc950e40436b5032 (diff)
downloadxine-lib-8e2df27969adca164df2ab27bcebe6e026e8ee52.tar.gz
xine-lib-8e2df27969adca164df2ab27bcebe6e026e8ee52.tar.bz2
- plenty of nvtv updates by Mattias Eriksson <snaggen@acc.umu.se>, see the changes to xine.h.in for the API updates, and the mailing list (dated May 3rd 2003)
CVS patchset: 4760 CVS date: 2003/05/04 01:35:04
Diffstat (limited to 'include/xine.h.in')
-rw-r--r--include/xine.h.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/xine.h.in b/include/xine.h.in
index 001b49412..ee75f45ca 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.79 2003/04/25 15:34:44 mroi Exp $
+ * $Id: xine.h.in,v 1.80 2003/05/04 01:35:05 hadess Exp $
*
* public xine-lib (libxine) interface and documentation
*
@@ -1560,9 +1560,20 @@ void xine_osd_get_palette (xine_osd_t *self, uint32_t *color,
/*********************************************************************
* TV-mode API, to make it possible to use nvtvd to view movies *
*********************************************************************/
+typedef enum {
+ XINE_TVSYSTEM_PAL = 0,
+ XINE_TVSYSTEM_NTSC = 1,
+} xine_tvsystem;
+
/* connect to nvtvd server and save current TV and X settings */
-void xine_tvmode_init (xine_t *self);
+int xine_tvmode_init (xine_t *self);
+
+/* Turn tvmode on/off (1/0)*/
+int xine_tvmode_use(xine_t *self, int use_tvmode);
+
+/* Set which tv system to use: XINE_TVSYSTEM_PAL or XINE_TVSYSTEM_NTSC */
+void xine_tvmode_set_tvsystem(xine_t *self, xine_tvsystem system);
/* try to change TV state if enabled
* type select 'regular' (0) or 'TV' (1) state