From 1ca29905fbcf88f948f06337734acaf01a624b26 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 24 Aug 2002 01:03:49 +0000 Subject: make it work without audio CVS patchset: 2505 CVS date: 2002/08/24 01:03:49 --- src/input/net_buf_ctrl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c index 896fa5d6b..a3e7a9b78 100644 --- a/src/input/net_buf_ctrl.c +++ b/src/input/net_buf_ctrl.c @@ -81,13 +81,15 @@ void nbc_check_buffers (nbc_t *this) { this->xine->metronom->set_speed (this->xine->metronom, SPEED_PAUSE); this->xine->metronom->set_option (this->xine->metronom, METRONOM_SCR_ADJUSTABLE, 0); - this->xine->audio_out->audio_paused = 2; + if (this->xine->audio_out) + this->xine->audio_out->audio_paused = 2; this->buffering = 1; } else if ( (fifo_fill>this->high_water_mark) && (this->buffering)) { this->xine->metronom->set_speed (this->xine->metronom, SPEED_NORMAL); this->xine->metronom->set_option (this->xine->metronom, METRONOM_SCR_ADJUSTABLE, 1); - this->xine->audio_out->audio_paused = 0; + if (this->xine->audio_out) + this->xine->audio_out->audio_paused = 0; this->buffering = 0; this->xine->osd_renderer->hide (this->xine->osd, 0); -- cgit v1.2.3