SVN commit 628958 by metz: Fix crash when setting volume before xine stream has been initialized. This can happen when AbstractMediaProducer has not initialized its xine stream yet (delayedInit() not yet called) M +2 -1 audiooutput.cpp --- trunk/KDE/kdemultimedia/phonon-xine/audiooutput.cpp #628957:628958 @@ -82,7 +82,8 @@ } foreach( xine_stream_t* stream, streams ) { - xine_set_param( stream, XINE_PARAM_AUDIO_AMP_LEVEL, xinevolume ); + if( stream ) // avoid xine crash when passing a null-pointer + xine_set_param( stream, XINE_PARAM_AUDIO_AMP_LEVEL, xinevolume ); } emit volumeChanged( m_volume );