From 5bd47c4206e6cfabc67ded7e8a46034441a1b2ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 3 May 2008 14:16:05 +0200 Subject: Remove xine_register_log_cb and xine_trick_mode, which are both not implemented. --- include/xine.h | 21 --------------------- src/xine-engine/xine.c | 12 ------------ 2 files changed, 33 deletions(-) diff --git a/include/xine.h b/include/xine.h index dc9d16833..b349c8c4e 100644 --- a/include/xine.h +++ b/include/xine.h @@ -236,22 +236,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; -- cgit v1.2.3