changeset 1163:b5a61440bfe8 trunk

[svn] - make aac plugin work again.
author yaz
date Wed, 06 Jun 2007 21:35:26 -0700
parents 29519d604e8c
children 1f3c936b4e0b
files ChangeLog src/aac/src/libmp4.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 04 07:46:52 2007 -0700
+++ b/ChangeLog	Wed Jun 06 21:35:26 2007 -0700
@@ -1,3 +1,13 @@
+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.
+  - now fileinfo dialog shows duration in MM:SS format.
+  
+  trunk/src/madplug/decoder.c  |   47 +++++++++++++++++++++++--------------------
+  trunk/src/madplug/fileinfo.c |    6 +++--
+  2 files changed, 30 insertions(+), 23 deletions(-)
+
+
 2007-06-03 23:54:43 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [2488]
   Implicit declarations are bad, hmmkay?
--- a/src/aac/src/libmp4.c	Mon Jun 04 07:46:52 2007 -0700
+++ b/src/aac/src/libmp4.c	Wed Jun 06 21:35:26 2007 -0700
@@ -125,6 +125,7 @@
 static void mp4_play(InputPlayback *playback)
 {
     buffer_playing = TRUE;
+    playback->playing = 1; //XXX should acquire lock?
     decodeThread = g_thread_create((GThreadFunc)mp4_decode, playback, TRUE, NULL);
 }
 
@@ -133,6 +134,7 @@
     if (buffer_playing)
     {
         buffer_playing = FALSE;
+        playback->playing = 0; //XXX should acquire lock?
         g_thread_join(decodeThread);
         playback->output->close_audio();
     }