diff options
author | Kelvie Wong <kelvie@ieee.org> | 2009-12-11 19:28:37 -0800 |
---|---|---|
committer | Kelvie Wong <kelvie@ieee.org> | 2009-12-11 19:28:37 -0800 |
commit | 49e7fb6bf0115e2895bd2234eabb271b35a923a6 (patch) | |
tree | 932014b28fe12dc5400379c202aaf24ae0c87b39 /src | |
parent | 38bb6ceabb38fd8dbcac974be9a1aa3a1a74c4fe (diff) | |
download | xine-lib-49e7fb6bf0115e2895bd2234eabb271b35a923a6.tar.gz xine-lib-49e7fb6bf0115e2895bd2234eabb271b35a923a6.tar.bz2 |
TTA demux: fix buffer->extra_info->total_time
Supposed to be in milliseconds; totalframes is only approx. total seconds.
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_tta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_tta.c b/src/demuxers/demux_tta.c index ebb51b100..1b50edcd4 100644 --- a/src/demuxers/demux_tta.c +++ b/src/demuxers/demux_tta.c @@ -130,7 +130,7 @@ static int demux_tta_send_chunk(demux_plugin_t *this_gen) { buf = this->audio_fifo->buffer_pool_alloc(this->audio_fifo); buf->type = BUF_AUDIO_TTA; buf->pts = 0; - buf->extra_info->total_time = this->totalframes; + buf->extra_info->total_time = (int)(FRAME_TIME * this->totalframes)*1000; buf->decoder_flags = 0; /* Set normalised position */ |