summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-03 14:16:05 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-03 14:16:05 +0200
commit5bd47c4206e6cfabc67ded7e8a46034441a1b2ba (patch)
tree1c3bdd7901ddb2088f2b16b05927bd7553a2ec55
parent1d976093b3411bb9a36ae2021ae5c1b11430e851 (diff)
downloadxine-lib-5bd47c4206e6cfabc67ded7e8a46034441a1b2ba.tar.gz
xine-lib-5bd47c4206e6cfabc67ded7e8a46034441a1b2ba.tar.bz2
Remove xine_register_log_cb and xine_trick_mode, which are both not implemented.
-rw-r--r--include/xine.h21
-rw-r--r--src/xine-engine/xine.c12
2 files changed, 0 insertions, 33 deletions
diff --git a/include/xine.h b/include/xine.h
index dc9d16833..b349c8c4e 100644
--- a/include/xine.h
+++ b/include/xine.h
@@ -237,22 +237,6 @@ int xine_open (xine_stream_t *stream, const char *mrl) XINE_PROTECTED;
int xine_play (xine_stream_t *stream, int start_pos, int start_time) XINE_PROTECTED;
/*
- * set xine to a trick mode for fast forward, backwards playback,
- * low latency seeking. Please note that this works only with some
- * input plugins. mode constants see below.
- *
- * returns 1 if OK, 0 on error (use xine_get_error for details)
- */
-int xine_trick_mode (xine_stream_t *stream, int mode, int value) XINE_PROTECTED;
-
-/* trick modes */
-#define XINE_TRICK_MODE_OFF 0
-#define XINE_TRICK_MODE_SEEK_TO_POSITION 1
-#define XINE_TRICK_MODE_SEEK_TO_TIME 2
-#define XINE_TRICK_MODE_FAST_FORWARD 3
-#define XINE_TRICK_MODE_FAST_REWIND 4
-
-/*
* stop stream playback
* xine_stream_t stays valid for new xine_open or xine_play
*/
@@ -792,11 +776,6 @@ void xine_vlog(xine_t *self, int buf,
/* get log messages of specified section */
char *const *xine_get_log (xine_t *self, int buf) XINE_PROTECTED;
-/* log callback will be called whenever something is logged */
-typedef void (*xine_log_cb_t) (void *user_data, int section);
-void xine_register_log_cb (xine_t *self, xine_log_cb_t cb,
- void *user_data) XINE_PROTECTED;
-
/*
* error handling / engine status
*/
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 6269e537e..3bdc68566 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -2239,22 +2239,10 @@ char *const *xine_get_log (xine_t *this, int buf) {
return NULL;
}
-void xine_register_log_cb (xine_t *this, xine_log_cb_t cb, void *user_data) {
-
- printf ("xine: xine_register_log_cb: not implemented yet.\n");
- _x_abort();
-}
-
-
int xine_get_error (xine_stream_t *stream) {
return stream->err;
}
-int xine_trick_mode (xine_stream_t *stream, int mode, int value) {
- printf ("xine: xine_trick_mode not implemented yet.\n");
- _x_abort ();
-}
-
int xine_stream_master_slave(xine_stream_t *master, xine_stream_t *slave,
int affection) {
master->slave = slave;