summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-15 00:09:29 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-15 00:09:29 +0100
commit1dde20995e9c585955bf22c8e7240514bb989ac5 (patch)
tree69bad7c8b3fb1081dab2b43acec24cb6228a15d0
parent0f2790e0acce3d7d012ed1c6abdff2d88f301454 (diff)
downloadxine-lib-1dde20995e9c585955bf22c8e7240514bb989ac5.tar.gz
xine-lib-1dde20995e9c585955bf22c8e7240514bb989ac5.tar.bz2
Backed out changeset a1dad259c8f8. In 1.1.x, deprecated functions must remain.
-rw-r--r--src/input/net_buf_ctrl.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index df7dbadce..624af4081 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -113,6 +113,10 @@ static void nbc_set_speed_normal (nbc_t *this) {
stream->xine->clock->set_option (stream->xine->clock, CLOCK_SCR_ADJUSTABLE, 1);
}
+void nbc_check_buffers (nbc_t *this) {
+ /* Deprecated */
+}
+
static void display_stats (nbc_t *this) {
const char *buffering[2] = {" ", "buf"};
const char *enabled[2] = {"off", "on "};
@@ -560,3 +564,22 @@ void nbc_close (nbc_t *this) {
free (this);
xprintf(xine, XINE_VERBOSITY_DEBUG, "\nnet_buf_ctrl: nbc_close: done\n");
}
+
+
+void nbc_set_high_water_mark(nbc_t *this, int value) {
+/*
+ Deprecated
+ this->high_water_mark = value;
+*/
+ xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG,
+ "\nnet_buf_ctrl: this method is deprecated, please fix the input plugin\n");
+}
+
+void nbc_set_low_water_mark(nbc_t *this, int value) {
+/*
+ Deprecated
+ this->low_water_mark = value;
+*/
+ xprintf(this->stream->xine, XINE_VERBOSITY_DEBUG,
+ "\nnet_buf_ctrl: this method is deprecated, please fix the input plugin\n");
+}