summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_eawve.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-10 11:57:15 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-10 11:57:15 +0000
commit4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7 (patch)
tree36073c846d54ce98a71d255651e78abe69dc2035 /src/demuxers/demux_eawve.c
parenta4318a6700f307c76487a66a196860986bd1b781 (diff)
downloadxine-lib-4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7.tar.gz
xine-lib-4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7.tar.bz2
internal input_time is miliseconds now
CVS patchset: 3851 CVS date: 2003/01/10 11:57:15
Diffstat (limited to 'src/demuxers/demux_eawve.c')
-rw-r--r--src/demuxers/demux_eawve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_eawve.c b/src/demuxers/demux_eawve.c
index 01d0e6a55..f9fdb414a 100644
--- a/src/demuxers/demux_eawve.c
+++ b/src/demuxers/demux_eawve.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: demux_eawve.c,v 1.13 2003/01/04 14:48:11 miguelfreitas Exp $
+ * $Id: demux_eawve.c,v 1.14 2003/01/10 11:57:16 miguelfreitas Exp $
*
* demux_eawve.c, Demuxer plugin for Electronic Arts' WVE file format
*
@@ -233,7 +233,7 @@ static int demux_eawve_send_chunk(demux_eawve_t *this)
buf = this->audio_fifo->buffer_pool_alloc(this->audio_fifo);
buf->type = BUF_AUDIO_EA_ADPCM;
buf->extra_info->input_pos = this->input->get_current_pos(this->input);
- buf->extra_info->input_time = this->sample_counter / 22050;
+ buf->extra_info->input_time = this->sample_counter * 1000 / 22050;
buf->pts = this->sample_counter;
buf->pts *= 90000;
buf->pts /= 22050;