summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_internal.h
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-08-17 16:15:36 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-08-17 16:15:36 +0000
commit31f9517d0a924c20dae8b9c6d5cc839c48b0311a (patch)
treec145ac68c73ccf9c2b2ea212177aa10a4d05bd93 /src/xine-engine/xine_internal.h
parente48313f4507bd8c37b31ac0ccd7fe74128c7b6ed (diff)
downloadxine-lib-31f9517d0a924c20dae8b9c6d5cc839c48b0311a.tar.gz
xine-lib-31f9517d0a924c20dae8b9c6d5cc839c48b0311a.tar.bz2
Add xine_seek() and friends.
CVS patchset: 446 CVS date: 2001/08/17 16:15:36
Diffstat (limited to 'src/xine-engine/xine_internal.h')
-rw-r--r--src/xine-engine/xine_internal.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h
index 0833438c5..13fc9803b 100644
--- a/src/xine-engine/xine_internal.h
+++ b/src/xine-engine/xine_internal.h
@@ -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_internal.h,v 1.37 2001/08/13 12:52:33 ehasenle Exp $
+ * $Id: xine_internal.h,v 1.38 2001/08/17 16:15:37 f1rmb Exp $
*
*/
@@ -120,7 +120,8 @@ typedef void (*gui_stream_end_cb_t)(int nStatus);
#define XINE_STOP 0
#define XINE_PLAY 1
#define XINE_PAUSE 2
-#define XINE_QUIT 3
+#define XINE_SEEK 3
+#define XINE_QUIT 4
typedef struct xine_s xine_t;
@@ -218,6 +219,16 @@ void xine_play (xine_t *this, char *MRL, int pos);
/*
+ * seek the stream to pos, and play it
+ *
+ * name : mrl to open
+ * pos : start position 0..65535
+ *
+ */
+void xine_seek (xine_t *this, char *MRL, int pos);
+
+
+/*
* toggle pause mode
*/
void xine_pause (xine_t *this);