changeset 1164:1f3c936b4e0b trunk

[svn] - make wma plugin work again.
author yaz
date Wed, 06 Jun 2007 21:44:52 -0700
parents b5a61440bfe8
children 5f3b30860b48
files ChangeLog src/wma/wma.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 06 21:35:26 2007 -0700
+++ b/ChangeLog	Wed Jun 06 21:44:52 2007 -0700
@@ -1,3 +1,11 @@
+2007-06-07 04:35:26 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2492]
+  - make aac plugin work again.
+  
+  trunk/src/aac/src/libmp4.c |    2 ++
+  1 file changed, 2 insertions(+)
+
+
 2007-06-04 14:46:52 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2490]
   - revise bitrate calculation with xing header. if number of bytes and number of frames are available in xing header, fast play time calculation yields almost appropriate duration upon a vbr file.
--- a/src/wma/wma.c	Wed Jun 06 21:35:26 2007 -0700
+++ b/src/wma/wma.c	Wed Jun 06 21:44:52 2007 -0700
@@ -455,12 +455,14 @@
 
     wma_seekpos = -1;
     wma_decode = 1;
+    playback->playing = 1; //XXX should acquire lock?
     wma_decode_thread = g_thread_create((GThreadFunc)wma_play_loop, playback, TRUE, NULL);
 }
 
 static void wma_stop(InputPlayback *playback) 
 {
     wma_decode = 0;
+    playback->playing = 0; //XXX should acquire lock?
     if(wma_pause) wma_do_pause(playback, 0);
     g_thread_join(wma_decode_thread);
     playback->output->close_audio();