From: Stefan H. <ho...@us...> - 2002-12-15 16:48:59
|
Update of /cvsroot/xine/xine-lib/src/input In directory sc8-pr-cvs1:/tmp/cvs-serv29426 Modified Files: net_buf_ctrl.c net_buf_ctrl.h Log Message: these new methods nbc_set_high_water_mark nbc_set_low_water_mark gives network input plugins a bit more control over buffering. Index: net_buf_ctrl.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/net_buf_ctrl.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- net_buf_ctrl.c 20 Nov 2002 11:57:43 -0000 1.9 +++ net_buf_ctrl.c 15 Dec 2002 16:48:56 -0000 1.10 @@ -132,3 +132,10 @@ return this; } +void nbc_set_high_water_mark(nbc_t *this, int value) { + this->high_water_mark = value; +} + +void nbc_set_low_water_mark(nbc_t *this, int value) { + this->low_water_mark = value; +} Index: net_buf_ctrl.h =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/net_buf_ctrl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- net_buf_ctrl.h 20 Oct 2002 01:15:53 -0000 1.2 +++ net_buf_ctrl.h 15 Dec 2002 16:48:56 -0000 1.3 @@ -33,4 +33,8 @@ void nbc_close (nbc_t *this); +void nbc_set_high_water_mark(nbc_t *this, int value); + +void nbc_set_low_water_mark(nbc_t *this, int value); + #endif |