diff options
-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; |