diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-29 11:08:11 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-29 11:08:11 +0000 |
commit | aa531ef1fc9c69a8468746d1c5d2e8c6aab2d03a (patch) | |
tree | f38e2e81f25fd1e78fdf185c8c68ae39ffdf6693 /src/input | |
parent | 6c0bb1e1bd0284b9aab7beebaad6f0dc167e2bd4 (diff) | |
download | xine-lib-aa531ef1fc9c69a8468746d1c5d2e8c6aab2d03a.tar.gz xine-lib-aa531ef1fc9c69a8468746d1c5d2e8c6aab2d03a.tar.bz2 |
percent should not be more than 100
CVS patchset: 4035
CVS date: 2003/01/29 11:08:11
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/net_buf_ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c index 141fca768..27c19d5ff 100644 --- a/src/input/net_buf_ctrl.c +++ b/src/input/net_buf_ctrl.c @@ -53,7 +53,7 @@ static void report_progress (xine_stream_t *stream, int p) { xine_progress_data_t prg; prg.description = _("Buffering..."); - prg.percent = p; + prg.percent = (p>100)?100:p; event.type = XINE_EVENT_PROGRESS; event.data = &prg; |