1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00
Commit Graph

118 Commits

Author SHA1 Message Date
Gildas Bazin
2328faeb74 * configure.ac.in: fix for the mingw32 build. The gtk plugin may also need mingwex.
* modules/demux/mpeg/ts.c: added an #include <stdint.h> to make mingw32 happy when
   compiled with libdvbpsi.
* Makefile.am: fixed dependency problem with share/vlc_win32_rc.rc.
2002-10-12 21:31:56 +00:00
Gildas Bazin
afc5d20972 * configure.ac.in: fix for the mingw32 build. We check if we need to explicitly
link with the mingwex library (needed for dirent support with new mingw32
   runtimes).
2002-10-12 20:09:13 +00:00
Eric Petit
02e29e1c11 Rewritten BeOS audio output for audio output 3. It now "pulls" the data.
Sound is yet choppy (I don't know why).
2002-10-12 12:24:52 +00:00
Sam Hocevar
464bd2e5b4 Changes to the libvlc API:
* ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
    exported functions start with VLC_ instead of vlc_ to avoid conflicts.
  * ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
    and vlc_t types; they are now internal types only.
  * ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
    calls. In non-reentrant mode, we just use 0 as the first argument. In
    reentrant mode, we use an object's ID. (see below)

Internal changes:
  * ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
    pointers, we manipulate their i_object_id. When needed, an object is
    retrieved using vlc_object_get (I hope the lookup isn't too expensive,
    that's why I designed the pp_objects layout to allow log2(n) seeks).
  * ./src/misc/objects.c: activated the per-object variable storage. Unused
    yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
  * ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions
    here.

Misc:
  * ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
    code portions not part of libvlc; it was just required for the
    COPYRIGHT_MESSAGE string which is now available from VLC_Version().
2002-10-11 22:32:56 +00:00
Gildas Bazin
cc5919ade4 * src/misc/modules.c: fixed a memory leak with the "plugin-path" config option.
* modules/audio_output/directx.c, modules/audio_output/waveout.c: ported the directx
   and waveout audio plugins to the new changes in the audio output layer.
* configure.ac.in: fixes for cygwin compilation, and the gtk plugin under mingw32.
2002-10-11 10:08:06 +00:00
Sam Hocevar
546fb578b5 * ./configure.ac.in: dropped the use of typeset in favor of eval to
set variable values (ash doesn't have typeset).
2002-10-10 17:25:28 +00:00
Gildas Bazin
eddf123620 * configure.ac.in: vlc can now be built under cygwin with or without the
unix emulation layer (without if you use CC="gcc -mno-cygwin").
* INSTALL.win32: doc update for cygwin build.
* modules/video_output/directx/events.c, modules/video_output/directx/directx.c,
   modules/audio_output/directx.c: compilation fixes for cygwin.
2002-10-06 19:28:28 +00:00
Gildas Bazin
94b1b1ac67 * ALL: Splitted the directx plugin into an audio and video module. 2002-10-05 17:29:50 +00:00
Sam Hocevar
89987e1109 * ./configure.ac.in: removed now unnecessary --force-exe-suffix flag.
* ./src/misc/objects.c: structure_lock is now local.
  * ./src/misc/threads.c: implemented named mutexes which provide a handy
    way to protect data across plugins which might be sharing the same
    resources. Thread-unsafe libraries come to mind, but we can imagine
    using a named mutex for configuration files, or special devices.
  * ./include/main.h: removed global_lock because of vlc_mutex_need, removed
    p_global_data because it was never used, removed structure_lock because
    it did not belong here.
2002-10-04 18:07:22 +00:00
Sam Hocevar
2b0b78882c * ./bootstrap: we use the proper linker for plugin compilation.
* ./modules/misc/testsuite/*: moved the null module into three test modules
    that are only built when --enable-testsuite is activated. This directory
    can be a good place for compilation tests or performance benchmarks.
2002-10-04 13:13:54 +00:00
Gildas Bazin
80b15699ea * src/misc/threads.c, src/misc/win32_specific.c, include/interface.h: fixed typos.
* configure.ac.in, modules/gui/gtk/gtk.c: Added a NEED_GTK_MAIN macro to the compiler
   flags for the gtk module. When this macro isn't defined, then the gtk module
   doesn't make use of the gtk_main module. I had to do this change because the
   gtk_main trick can't work on win32 and render the whole gtk interface unusable.
2002-10-04 12:01:40 +00:00
Sam Hocevar
f501554a39 * ./configure.ac.in: duplicated arguments to AM_INIT_AUTOMAKE to fix
locales breakage.
  * ./src/libvlc.c: libvlc understands the VLC_VERBOSE environment variable,
    to be set between 0 and 4. Default value is 0 for a program using libvlc,
    but vlc sets it to 1 by default.
  * ./src/misc/configuration.c: -v now works the old way (-v, -vv, -vvv) as
    well as the new way (-v0, -v1, -v4). -v1 is the same as -v, and -v0 is
    the same as -q (quiet). Hope it's all understandable.
2002-10-03 18:56:10 +00:00
Gildas Bazin
6dafa41984 * FAQ: updated FAQ with config file issues.
* configure.ac.in: use -mms-bitfields instead of -fnative-struct for
   mingw32 gcc-3.x.
* include/interface.h, modules/misc/dummy/interface.c, modules/misc/logger/logger.c,
   modules/control/rc/rc.c: Display message on Win32 explaining how to get
   back to the GUI mode.
* src/misc/threads.c, include/vlc_threads_funcs.h: ignore the
   win9x-cv-method config option on WinNT when fast-mutex is not enabled.
2002-10-03 17:01:59 +00:00
Sam Hocevar
5c05d0564d * ./Makefile.am: another workaround for an old automake 1.5 bug (bug #279). 2002-10-02 13:26:14 +00:00
Sam Hocevar
106497cdb1 * ./bootstrap, ./Makefile.am: workarounds for automake 1.5. 2002-10-02 12:59:59 +00:00
Sam Hocevar
24a7d9c8b0 * ./configure.ac.in: --enable-a52 activates a52tofloat32, not a52.
(always re-run bootstrap when configure.ac.in has changed).
2002-10-02 09:15:06 +00:00
Eric Petit
bf2f5b0081 Attempt to port new BeOS features from the stable branch.
Playlist is yet broken (maybe others things too)
2002-09-30 18:30:28 +00:00
Sam Hocevar
2799d36bc8 * 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.
2002-09-30 11:05:42 +00:00