diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-21 16:13:43 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-21 16:13:43 +0000 |
commit | 802b0c315ee5f387347c586009c4142cf658350e (patch) | |
tree | bfa4b06d002ea08bac9ccac9f7b25748b0dee0bd /src/xine-engine/audio_decoder.c | |
parent | 79a12c84509bc784703a711ad1e515b61bb24a95 (diff) | |
download | xine-lib-802b0c315ee5f387347c586009c4142cf658350e.tar.gz xine-lib-802b0c315ee5f387347c586009c4142cf658350e.tar.bz2 |
xine_get_pos_length should return zero if current position is unknown. this
prevents the gui from drawing slider at wrong positions during seek.
CVS patchset: 3609
CVS date: 2002/12/21 16:13:43
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r-- | src/xine-engine/audio_decoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 50d1e47a9..844643b0a 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.93 2002/12/21 12:56:51 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.94 2002/12/21 16:13:43 miguelfreitas Exp $ * * * functions that implement audio decoding @@ -66,6 +66,7 @@ void *audio_decoder_loop (void *stream_gen) { #endif extra_info_merge( stream->audio_decoder_extra_info, buf->extra_info ); + stream->audio_decoder_extra_info->seek_count = stream->video_seek_count; switch (buf->type) { |