summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 6ce7b8bf9..764683574 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_decoder.c,v 1.13 2001/06/03 20:16:33 guenter Exp $
+ * $Id: audio_decoder.c,v 1.14 2001/06/04 17:01:47 f1rmb Exp $
*
*
* functions that implement audio decoding
@@ -45,6 +45,16 @@ void *audio_decoder_loop (void *this_gen) {
this->cur_input_pos = buf->input_pos;
+ /*
+ * Call update status callback function if
+ * there is no video decoder initialized, like
+ * in .mp3 playback.
+ */
+ if(this->cur_video_decoder_plugin == NULL) {
+ if(this->status == XINE_PLAY)
+ this->status_callback (this->status);
+ }
+
switch (buf->type) {
case BUF_CONTROL_START: