diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-06-04 17:01:47 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-06-04 17:01:47 +0000 |
commit | 4aa1174b670a1a177ac736ff6fcdae39ef5ba5f5 (patch) | |
tree | 08a9f4003495de01c1c81cf3b6ae9978ec2bd08d /src/xine-engine/audio_decoder.c | |
parent | ae617ad279bdb2e40ad9f2c8a17959248811bc75 (diff) | |
download | xine-lib-4aa1174b670a1a177ac736ff6fcdae39ef5ba5f5.tar.gz xine-lib-4aa1174b670a1a177ac736ff6fcdae39ef5ba5f5.tar.bz2 |
Fixed status callback function call on audio w/o video.
CVS patchset: 122
CVS date: 2001/06/04 17:01:47
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r-- | src/xine-engine/audio_decoder.c | 12 |
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: |