1 bug #09/11/2001-1: (FIXED 20/11/2001, by JP Saman)
2 Makefile.opts.in and Makefile.opts static libmad.a library is not filled in automatically by configure.
3 It should say in Makefile.opts LIB_MAD=lib/libmad.a
5 bug #09/11/2001-2: (FIXED december 2001)
6 Libmad is not included in the vlc source code. It is assumed that the library is already available on the machine
7 where the plugin is compiled on. The configure option --with-libmad tells the script where libmad.a or libmad.so library
8 and mad.h include file are installed. E.g. if libmad.a is in /usr/lib and mad.h is in /usr/include then the configure
9 option should be --with-libmad=/usr
11 bug #12/11/2001-1 (FIXED january 2002)
12 smoothen out audio in libmad_output callback function, by optimizing conversion routines. After investigation
13 and experimenting I found out that my input routine and output routine were not balanced correctly with
14 respect to buffer sizes. A lot of data got lost. I fixed that, but still need a bater scaling/smoothing routine
16 I tried a simpler audio scale function, but it did not improve the audio much. Not even on Intel machine, so I suspect the audio
17 decoding to need a bit too much time. The next thing to try is to steer the decoding process by hand (going to a lower level API).
18 Rewriting mad plugin to use a lower level API was not needed. I found the problem by reviewing libmad example code madlld and bbplay.
19 This resulted in a partial rewrite a some parts and a lot of testing. There are still some issues when trying on different CPU's
20 but this will sort itself gradually.
22 bug #20/11/2001-1 (FIXED 25/11/2001, by JP Saman)
23 synchronization between audio and video output is lost. In libmad_output a timestamp is set on the audio data, but
24 it points to a later video frame, then when the audio data was read. How can I set the correct timestamp on the
25 audio fifo at the time it was read from the bitstream, so that it matches the video frame it belongs to?
26 Solution: Do it in two steps, in the input function save i_pts of fifo and in output function pass saved i_pts to