- 14 Oct, 2002 3 commits
-
-
Sam Hocevar authored
by making the spawned threads wait a bit longer. * ./src/misc/variables.c: added a usage count to the variables; trying to create a variable with the same name only increments its refcount.
-
Sam Hocevar authored
* ./include/main.h: removed p_vlc->i_status because it was not sufficient to represent all the possible states of p_vlc; each part should be tested separately upon destruction. * ./src/misc/objects.c: fixed a signed/unsigned bug that prevented creation of VLC_OBJECT_GENERIC objects. * ./src/misc/variables.c: added the VLC_VAR_COMMAND type which is simply a variable that stores a function pointer, and calls it when var_Get is called for it. The function argument is taken in val.psz_string. * ./src/misc/objects.c: vlc_dumpstructure and vlc_liststructure are no longer exported to the rest of the program; instead, they're VLC_VAR_COMMAND vars ("tree" and "list"). * ./modules/control/rc/rc.c: moved a few commands to VLC_VAR_COMMAND vars.
-
Sam Hocevar authored
-
- 11 Oct, 2002 3 commits
-
-
Sam Hocevar authored
* ./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().
-
Sam Hocevar authored
in-object variable storage. Unused yet (not even compiled).
-
gbazin authored
* 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.
-
- 10 Oct, 2002 1 commit
-
-
Christophe Massiot authored
lame...).
-
- 09 Oct, 2002 1 commit
-
-
Eric Petit authored
-
- 08 Oct, 2002 1 commit
-
-
Sam Hocevar authored
only two levels of -v are now possible: -v for warnings, -vv for debug messages (-q for no output at all).
-
- 05 Oct, 2002 1 commit
-
-
Jon Lech Johansen authored
./src/libvlc.h: Default to en0 instead of eth0 under Darwin
-
- 04 Oct, 2002 2 commits
-
-
Sam Hocevar authored
* ./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.
-
gbazin authored
* 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.
-
- 03 Oct, 2002 3 commits
-
-
Sam Hocevar authored
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.
-
gbazin authored
* 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.
-
Sam Hocevar authored
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.
-
- 30 Sep, 2002 3 commits
-
-
Eric Petit authored
Playlist is yet broken (maybe others things too)
-
Sam Hocevar authored
and gnome-vlc packages. * ALL: updated .cvsignore files to properly ignore automake files.
-
Sam Hocevar authored
* ./mozilla/vlcplugin.cpp: javascript support for the Mozilla plugin. * debian/rules: the A52 module is now in a separate package.
-
- 29 Sep, 2002 2 commits
-
-
Sam Hocevar authored
* ./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).
-
Sam Hocevar authored
-
- 26 Sep, 2002 1 commit
-
-
Christophe Massiot authored
* Fixed a compile issue in s16tofloat32swab. * Fixed a typo in demux/mpeg/ts.c.
-
- 18 Sep, 2002 1 commit
-
-
Christophe Massiot authored
* configure.in: Fixed a typo.
-
- 17 Sep, 2002 1 commit
-
-
Sam Hocevar authored
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().
-
- 02 Sep, 2002 1 commit
-
-
Christophe Massiot authored
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.
-
- 30 Aug, 2002 2 commits
-
-
Christophe Massiot authored
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.
-
Sam Hocevar authored
might break the HP/UX or Solaris ports, please check if possible. * ./src/misc/threads.c: fixed syntax in the st and pth implementations.
-
- 29 Aug, 2002 1 commit
-
-
Christophe Massiot authored
* 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.
-
- 26 Aug, 2002 2 commits
-
-
Christophe Massiot authored
* 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 authored
* ./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.
-
- 24 Aug, 2002 1 commit
-
-
gbazin authored
* modules/misc/logger/logger.c: fixed initialization bugs. * src/misc/objects.c: in vlc_object_destroy() there's no need to lock structure_lock if we are the root object (structure_lock has already been destroyed anyway).
-
- 21 Aug, 2002 5 commits
-
-
Sam Hocevar authored
-
Christophe Massiot authored
* Audio and video should now _always_ be perfectly in sync. * Changes in a52.c (end_date management) must be ported to other codecs, otherwise mixer errors will appear. * Audio output plug-in can now tell whether they can handle a little clock drift (for instance, inserting zeroes after a pause).
-
Sam Hocevar authored
won't unload it. This makes us more fault-tolerant with crap libraries that are making use of atexit(). * ./configure.in: svgalib can now be a plugin. * ./modules/misc/gtk_main.c: gtk_main doesn't need g_atexit anymore.
-
Xavier Marchesini authored
-
Xavier Marchesini authored
* modules.c : we now check the directory plugins/ to find some plugins. (this will allow us to use the packager / installer which wasn't aware of plugins -> modules :)
-
- 20 Aug, 2002 1 commit
-
-
Sam Hocevar authored
-
- 19 Aug, 2002 3 commits
-
-
Christophe Massiot authored
* 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.
-
Sam Hocevar authored
mingw32 doesn't know about sighandler_t.
-
Sam Hocevar authored
signal handler to its previous value after use. * ./src/libvlc.c: moved signal handling to vlc.c.
-
- 15 Aug, 2002 1 commit
-
-
Sam Hocevar authored
* ./modules/gui/win32/preferences.cpp: the Win32 interface doesn't use the old module linked list anymore.
-