Sam Hocevar [Thu, 3 Oct 2002 13:21:55 +0000 (13:21 +0000)]
* ./src/libvlc.c, ./include/main.h: the root of all objects is now
p_libvlc, and each p_vlc is a child of p_libvlc. Reasons for this are:
o the module bank and the message bank only need to be initialized once,
which gives faster loads when multiple instances of libvlc are used,
o we allow the possibility of different p_vlc sharing objects, for
instance the audio output,
o the CPU detection is only done once.
This patch is not polished yet, but I cannot do any intensive tests for
the moment because of a bug somewhere that leaves audio output objects
lying here and there which needs to be investigated first. The current
major issue is that the module bank is no longer freed.
kde.cpp: subscribe and unsubscribe messages
interface.cpp, interface.h: create a messages window, and add menu iten to
show it
Modules.as: build messages window
ui.rc: menuitem to show messages
preferences.cpp: fixed typo in comment
Sam Hocevar [Wed, 2 Oct 2002 16:02:43 +0000 (16:02 +0000)]
* ./bootstrap: added a check for automake bug #326. No easy workaround is
really possible other than patching/upgrading automake. This happens for
automake 1.6.0 and automake 1.6.1.
Sam Hocevar [Mon, 30 Sep 2002 15:46:47 +0000 (15:46 +0000)]
* ./debian/rules: moved the gtk_main and gnome_main plugins to the gvlc
and gnome-vlc packages.
* ALL: updated .cvsignore files to properly ignore automake files.
Sam Hocevar [Mon, 30 Sep 2002 11:05:42 +0000 (11:05 +0000)]
* ALL: the build mechanism now uses automake. See HACKING for more details.
* ./mozilla/vlcplugin.cpp: javascript support for the Mozilla plugin.
* debian/rules: the A52 module is now in a separate package.
Sam Hocevar [Sun, 29 Sep 2002 18:19:53 +0000 (18:19 +0000)]
* ./src/playlist/playlist.c: don't run the playlist by default.
* ./src/libvlc.c: if items are specified in the commandline, run the playlist.
* ./src/vlc.c: don't rely on internal vlc types (mtime_t).
* New --vlc-backwards-compat option, to go back to the old behavior with old
VLS's.
* Fixed a bug with non-ASCII characters in the OS X playlist.
* Fixed a warning on start-up.
* Fixed miscellaneous cosmetic issues with lpcm and s16tofloat32swab modules.
* First hooks for changing the audio output plug-in and its parameters
on-the-fly.
* Audio volume management now works properly. See src/audio_output/intf.c
for information on how to use it in your interface plug-ins. In the
SDL vout, b and n are mapped to sound down/sound up.
* Fixed a major in the mad plug-in with wrong dates.
* Fixed a compilation bug.
Sam Hocevar [Tue, 17 Sep 2002 14:56:13 +0000 (14:56 +0000)]
* ./src/libvlc.c: switched the position of msg_Create() and system_Init()
because the BeOS system_Init spawns a thread, which makes use of msg_*
functions.
* ./src/misc/threads.c, ./src/misc/win32_specific.c: put the detection
of SignalObjectAndWait in the thread system initialization because
system_Init() now happens after msg_Create().
* configure.in: Fixed detection of Qt-embedded.
* modules/codec/a52.c: Fixed detection of A/52 sound.
* modules/audio_filter/converter/a52tofloat32.c: Fixed a bug related to
downmixing.
* ALL: Added hooks for audio volume management.
Jean-Paul Saman [Sun, 15 Sep 2002 20:54:12 +0000 (20:54 +0000)]
Configure option --enable-qte works now (default is disabled).
Porting video out plugin/builtin for Qt Embedded to CVS is not complete. (Please do not use it.)
The liba52 "codec" is now an audio filter. It means we are now able to
autodetect S/PDIF hardware support and the audio output plug-in chooses
the best one. Of course it probably breaks existing output modules, see
oss.c for hints :).
Also include minor tweaks which will entitle us to decode and output 5.1
audio. It may break existing plug-ins, too. See
audio_output.c:aout_FormatNbChannels for hints.
aout3 API change :
pf_setformat disappears (it was never called independantly of Open). If
the format needs to be changed, we will have Close/Open. This is much
simpler than before. Please check that I didn't break some plug-ins.
* demuxes: Worked around a bug in old VLC and VLS by changing TS stream types
(see my last mail).
* aout: Rewrote our whole lock policy. The output thread now doesn't require
the mixer_lock, which might avoid delays. We will also be able to change
the filter pipelines at runtime.
Sam Hocevar [Fri, 30 Aug 2002 12:23:23 +0000 (12:23 +0000)]
* ./configure.in: do not try to link with -lrt if not using pthreads. This
might break the HP/UX or Solaris ports, please check if possible.
* ./src/misc/threads.c: fixed syntax in the st and pth implementations.
* ./bootstrap : Fixed an issue with old shell versions
* ALL : Added a priority argument to vlc_thread_create(), so that audio
and input threads can run with a higher real-time priority, on systems
allowing you to use priorities.
Sam Hocevar [Tue, 27 Aug 2002 14:15:24 +0000 (14:15 +0000)]
* ./HACKING: we can now use automake-1.5 instead of automake-1.6. But now
we _really_ depend on it.
* ./bootstrap: we don't use touch to create a file, because it doesn't seem
to work everywhere.
Sam Hocevar [Mon, 26 Aug 2002 23:36:20 +0000 (23:36 +0000)]
* ./bootstrap: we touch m4/Makefile.am so that configure doesn't complain
about a missing m4/Makefile.in.
* ./include/vlc_common.h: workaround for Borland's redefinition of PACKAGE.
* Miscellaneous S/PDIF fixes.
* New NextPTS() function, to replace CurrentPTS() (gives the PTS which will
be valid for NEXT byte).
* Fixed mono mode in the builtin mpeg audio decoder.
* Various fixes related to PTS calculation in audio decoders.
Sam Hocevar [Mon, 26 Aug 2002 20:49:50 +0000 (20:49 +0000)]
* ./configure.in: we now require autoconf 2.5x because previous versions
don't seem to work very well if you are using autopoint, although
gettext 0.11.5 claims to be fully backwards compatible. Welcome to
automake hell.
* ./bootstrap: workaround which uses gettextize if you do not have
autopoint. We'll probably stay like this for a while, until gettext
0.11.x (which replaces gettextize with autopoint) becomes more
widespread. Currently this workaround seems to work, but don't expect
a clean tarball if you make dist without having used autopoint. Welcome
to automake hell.
Sam Hocevar [Mon, 26 Aug 2002 09:12:46 +0000 (09:12 +0000)]
(A few minor pending patches I had around)
* ./debian/control: gnome-vlc recommends vlc-plugin-esd, and kvlc recommends
vlc-plugin-arts.
* ./src/misc/messages.c: message queue now prints the current object type.
* ./modules/*: cosmetic fixes for the --long-help output.
Sam Hocevar [Sun, 25 Aug 2002 23:18:05 +0000 (23:18 +0000)]
* ALL: started the slow move to automake. For the moment, the changes are
unnoticeable apart from the extra dependency on autoconf, automake and
gettextize. See the new HACKING file for some information, especially if
you don't run Linux.
The current strategy is to have the configure script generate a nice
automake Makefile from Makefile.am, and then clobber it with our good
old dirty Makefile. Muahaha :-)