Sam Hocevar [Tue, 20 Aug 2002 18:08:51 +0000 (18:08 +0000)]
* ./modules/misc/gtk_main.c: created the gtk_main module, which simply runs
gtk_main() in its own thread, and does nothing on subsequent calls. This
ensures that gtk_main is only running once.
* ./modules/gui/familiar/*, modules/gui/gtk/*: the familiar, gtk and gnome
modules are now fully reentrant thanks to their use of the gtk_main module.
* ./src/libvlc.c: implemented vlc_set(), a wrapper for config_Put* available
to external programs.
* ./src/libvlc.c: removed vlc_stop() and vlc_end(), everything is now done
by vlc_destroy().
* ./modules/control/rc/rc.c: implemented a few new functions. For instance,
run "vlc -I rc" and then type "intf gtk" or "intf gnome". You can even
launch several of them. "segfault" works, too.
* ./configure: Fixed double detection of gethostbyname.
* Major changes in the handling of dates in the audio output ; still buggy,
but differently.
* Fixed a major bug in the aout pre-filters, preventing to run any other
decoder than liba52.
* p_aout->output.pf_play now has only one argument.
* modules/audio_output/alsa.c: we now open the device in SetFormat because
it depends on the audio format. Cosmetic changes. The S/PDIF output may
work.
Sam Hocevar [Mon, 19 Aug 2002 11:13:45 +0000 (11:13 +0000)]
* ./src/misc/cpu.c: libvlc now plays nice with SIGILL and restores the
signal handler to its previous value after use.
* ./src/libvlc.c: moved signal handling to vlc.c.
Gildas Bazin [Mon, 19 Aug 2002 08:19:31 +0000 (08:19 +0000)]
* modules/video_output/x11/xcommon.c: fixed a bug related to the size of the
fullscreen window. We also unmap the current window when switching to fullscreen.
Sam Hocevar [Sun, 18 Aug 2002 13:49:20 +0000 (13:49 +0000)]
* ./src/libvlc.c: removed the simple signal handler because it's not
really needed, and we were calling pthread_mutex_lock from it.
* ./src/libvlc.c: released a vlc_list_t that caused vlc --list to hang.
modules/gui/kde/interface.cpp: made the kde interface look for the rc
file in DATA_PATH
modules/gui/kde/kde.cpp and interface.h: removed a stupid class, moved
stuff from open() to run() to make the kde interface start without
segfaults.
Sam Hocevar [Fri, 16 Aug 2002 03:07:56 +0000 (03:07 +0000)]
* ./modules/codec/spudec/*: split spudec into the parsing and the rendering
functions.
* ./modules/demux/mpeg/audio.c: at least three PS startcodes are required
before we abort the parsing and consider the input as PS instead of MP3.
Sam Hocevar [Thu, 15 Aug 2002 12:11:15 +0000 (12:11 +0000)]
* ./src/misc/modules.c: the module linked list is going bye bye. We now use
the vlc_object_* and vlc_list_* functions to manage modules. The Win32
interface doesn't build, but I'll fix this.
Jean-Paul Saman [Wed, 14 Aug 2002 21:50:01 +0000 (21:50 +0000)]
Changes in familiar interface:
- added GtkCList instead of GtkList.
- added first column sorting order by clicking on column header
- selecting item from list works
- reading entire directory list is displayed in GtkCList widget
Sam Hocevar [Wed, 14 Aug 2002 17:06:53 +0000 (17:06 +0000)]
* ./src/misc/objects.c: implemented vlc_list_find() which works like
vlc_object_find() but returns a list of _all_ the matching objects. Only
works with FIND_ANYWHERE at the moment.
* ./modules/gui/gtk/preferences.c, ./modules/gui/kde/preferences.cpp,
./modules/gui/win32/preferences.cpp: the module lists in the preferences
menus work again.
* ./src/misc/objects.c: added a missing sizeof that caused crashes because
the reindexing of the global object array was incomplete.
* ./include/modules_inner.h: propagated the module long description to its
submodules.
Sam Hocevar [Wed, 14 Aug 2002 13:10:44 +0000 (13:10 +0000)]
* ./modules/audio_output/esd.c: compilation fix (aout_FormatTo is obsolete).
* ./src/audio_output/audio_output.c, ./src/audio_output/mixer.c: fixed a
horrible sound issue by making sure internal buffers have a size multiple
of 4 bytes. Waiting for a real fix made in Meuuh, of course.
Sam Hocevar [Wed, 14 Aug 2002 08:17:24 +0000 (08:17 +0000)]
* ./modules/control/rc/rc.c: 'l' outputs a list of all allocated objects,
just as 'd' displayed a tree of attached objects.
* ./src/misc/modules.c: added a missing header.
* Added a third argument to aout_OutputNextBuffer. In case the buffer
received does not start exactly at the given date, it indicates if the
output plug-in is able to compensate for the drift (for instance on
startup, or with S/PDIF packets), or if we need the aout core to
resample the coming buffers. It is currently unimplemented.
* Changed aout_FormatTo* ; aout_FormatToSize does no longer exist.
p_buffer now has a i_nb_bytes member. It is possible to indicate for a
format its byterate (necessary for AC3 and SPDIF).
* S/PDIF output seems to be working at last (tested with the file output).
* New float32to* converter modules, courtesy of Xavier Maillard
<zedek@fxgsproject.org>.
* Fixed a bug in float32tos16, where gcc over-optimized a little and
caused problems on some platforms (eg. solaris).
Laurent Aimar [Tue, 13 Aug 2002 20:28:56 +0000 (20:28 +0000)]
* clean up some code, add "mp3" short cut.
And now if this demux has been forced it will (try) to play the whole
file even if the stream is heavily corrupted (like PS demux).
But now, it makes less assumptions on the stream, so report any
problem if it mis-recognizes others files as mpeg audio (specially PS file).
Sam Hocevar [Tue, 13 Aug 2002 16:11:15 +0000 (16:11 +0000)]
* ./modules/audio_output/arts.c: ported the aRts module to aout3.
* ./modules/audio_filter/converter/*: fixed a bug in all the converters
test routines (thx Meuuh).
Sam Hocevar [Tue, 13 Aug 2002 14:53:46 +0000 (14:53 +0000)]
* ./modules/audio_output/esd.c: we now properly use the esd_get_latency()
return value to avoid audio starvation.
* ./modules/audio_filter/converter/*: a little loop optimization trick.
* ./src/audio_output/aout_ext-dec.c: removed this deprecated file.
Sam Hocevar [Tue, 13 Aug 2002 11:59:36 +0000 (11:59 +0000)]
* ./modules/audio_output/oss.c: we spare a variable by using p_aout->b_die
instead of our own variable.
* ./modules/audio_filter/converter/a52tospdif.c, ./modules/codec/a52.c: added
<unistd.h>, required for bswap.
* ./modules/demux/mp4/libmp4.c: removed an unneccessary semicolon in a
macro definition.
* ./modules/audio_output/esd.c: first attempt at getting esd to work.
* ./modules/video_output/*: split sdl.so into a video and an audio plugin,
and removed useless subdirectories.
* ./modules/audio_output/sdl.c: compilation fix.
* Fixed a variable overflow bug in the audio output.
* Prepared for some advances in the aout3 clock management.
* Added the first stone of the forthcoming stream output.
Jean-Paul Saman [Mon, 12 Aug 2002 20:43:27 +0000 (20:43 +0000)]
- Updated configure to build fixed32tos16 and fixed32tofloat32.
Desperately need a fixed32 mixer for testing the conversions.
- Uncommented unused functions in libmad.
Laurent Aimar [Mon, 12 Aug 2002 16:59:15 +0000 (16:59 +0000)]
* all : a demux for aac stream ( raw aac with adts headers ). For now
it has a capability equal to 0 because it conflicts with PS, so you need
to force it.
Sam Hocevar [Mon, 12 Aug 2002 09:34:15 +0000 (09:34 +0000)]
* ./src/misc/objects.c: two big changes in the object API: now objects can
only have one parent, because I don't want to deal with cycles, and each
created object is indexed in a global array. This feature is unused yet,
but it will speed up vlc_object_find(FIND_ANYWHERE).
* ./debian/rules: activated the faad codec.
* ./doc/fortunes.txt: new fortune cookies.
* ./modules/codec/mpeg_video/headers.c: reduced the use of attach/detach.
* ./modules/audio_output/oss.c: fixed two compilation warnings.
Laurent Aimar [Sat, 10 Aug 2002 20:05:21 +0000 (20:05 +0000)]
* modules/codec/faad : an AAC decoder module using libfaad library
(faad2).
* modules/demux/mp4/libmp4.c : could compile without zlib.
* modules/codec/ffmpeg/* : set error resilience to -1 by default.(in
order to decode more files, but it could produce segfaults ... )
* Makefile.*, configure.in : enable mp4 by default, add faad
module (disabled by default ).
Gildas Bazin [Sat, 10 Aug 2002 18:17:06 +0000 (18:17 +0000)]
* modules/video_output/directx/aout.c: adapted the directx audio plugin to aout3.
* modules/audio_output/waveout.c: adapted the waveout audio plugin to aout3 and
decreased its score so the directx plugin is selected by default.
* configure.in: re-enabled the waveout plugin
It's really amazing how much aout3 simplifies these plugins :)
* Trivial resampler plug-in (resampling still non-functional)
* Begun writing some hooks for forthcoming S/PDIF support
* ./modules/access/vcd/cdrom.c: compile fix for Darwin
Sam Hocevar [Thu, 8 Aug 2002 22:28:23 +0000 (22:28 +0000)]
* ./include/modules_inner.h: support for several modules with the same
name but with different directory names.
* ./Makefile: plugins get installed in different directory names.
* ALL: additional -ansi -pedantic fixes.
Sam Hocevar [Wed, 7 Aug 2002 00:29:37 +0000 (00:29 +0000)]
* ./modules/demux/mpeg/system.c: added a helper plugin for MPEG-related
demux plugins (ps, ts, but also dvd*).
* ./src/input/mpeg_system.c: removed MPEG-related stuff from the vlc core.
* ./src/misc/modules.c: max recursion level is now 5.
* ./modules/access/dvdplay/es.c: fixed a buffer overflow.