1. 11 Nov, 2002 1 commit
  2. 10 Nov, 2002 3 commits
    • Sam Hocevar's avatar
      * ALL: libvlc now compiles and run under WinCE. I haven't ported any modules · 77c667f4
      Sam Hocevar authored
          yet so there's little that can be tested, but threads work at least.
        * ./src/extras/libc.c: renamed strndup.c to libc.c because a few other
          libc functions were added (strcasecmp, atof, getenv...).
      77c667f4
    • Sam Hocevar's avatar
      * ALL: WinCE compilation fixes (mostly nonexistent headers). A lot of · be8ca6e9
      Sam Hocevar authored
          work is still needed for missing functions. I only touched libvlc for
          the moment, plugins will come in a long long while.
        * ./bootstrap: moved MSVC project files generation here; use --update-msvc.
      be8ca6e9
    • Gildas Bazin's avatar
      · b4f932ad
      Gildas Bazin authored
      * src/audio_output/output.c: fixed another quality affecting bug.
      
      * include/aout_internal.h src/audio_output/input.c: major change to the
         resampling algorithm. When resampling is requested to keep the audio stream
         synchronised to the main clock, we trigger it but we change the resampling
         rate only progressively so it doesn't get noticed too much by the listener.
      b4f932ad
  3. 09 Nov, 2002 2 commits
  4. 08 Nov, 2002 1 commit
    • Gildas Bazin's avatar
      · d532cf3c
      Gildas Bazin authored
      * ALL: using "%ll" in printf format strings is not portable (notably on win32) so
         we now use the I64Fx familly of macros to print 64 bits numbers (x being
         replaced by d,i,o,u,x or X).
         eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );
      
      * src/misc/messages.c: got rid of ConvertPrintfFormatString().
      d532cf3c
  5. 07 Nov, 2002 2 commits
    • Sam Hocevar's avatar
      f01f0a38
    • Gildas Bazin's avatar
      · d472b3e2
      Gildas Bazin authored
      * INSTALL.win32, include/vlc_config.h, src/libvlc.h: changes to reflect the
         fact that libdvdcss now needs a colon after the DVD drive letter (on Win32).
      
      * src/misc/messages.c: on Win32 only use fflush() if in debug mode.
      
      * src/misc/win32_specific.c: try to raise the our process priority slightly
         above normal. This prevent us from suffering too much from normal activity
         of the OS.
      d472b3e2
  6. 06 Nov, 2002 1 commit
  7. 03 Nov, 2002 1 commit
    • Gildas Bazin's avatar
      · c0a5c212
      Gildas Bazin authored
      * include/codecs.h: new header file to store information shared by decoders
         and demuxers, like the BITMAPINFOHEADER structure for instance.
      * modules/demux/ogg.c: the ogg demuxer should now work nicely with ogm files
         (including for the video). It has only been tested with a few streams
         produced with dvd::rip and ogmmerge though.
      c0a5c212
  8. 01 Nov, 2002 1 commit
    • Gildas Bazin's avatar
      · 95efa086
      Gildas Bazin authored
      * src/audio_output/common.c, include/aout_internal.h: added a new function
         aout_FifoFirstDate() that allows the aout plugin to schedule the first
         play.
      * src/audio_output/output.c: fixed another problem affecting the audio quality.
      * modules/audio_output/directx.c: improvements. The buffering scheme has been
         changed to be less affected by temporary starving. We also schedule the first   sample to play.
      95efa086
  9. 29 Oct, 2002 1 commit
  10. 28 Oct, 2002 3 commits
  11. 27 Oct, 2002 2 commits
    • Eric Petit's avatar
      vlc_threads_func.h : skip a useless BeOS warning · 3a68b7ea
      Eric Petit authored
      faad/decoder.c : minor compile fix
      3a68b7ea
    • Gildas Bazin's avatar
      · 6d6601ea
      Gildas Bazin authored
      * ALL: removed GetPES and NextPES, we now use input_ExtractPES everywhere instead
         of these. The bitstream facility has also been changed to use input_ExtractPES
         and now stores the current PES in its structure.
         Introduced input_FlushPESFifo() and CloseBitstream().
      6d6601ea
  12. 25 Oct, 2002 2 commits
  13. 24 Oct, 2002 1 commit
    • Gildas Bazin's avatar
      · 2175bb5b
      Gildas Bazin authored
      * src/input/input_ext-dec.c, include/input_ext-dec.h, modules/codec/araw.c:
         renamed input_NextPES into input_ExtractPES and factorised its code.
      * modules/codec/ffmpeg/ffmpeg.c, modules/codec/faad/decoder.c,
         modules/codec/cinepak/cinepak.c: make use of NextPES and GetPES from
         src/input/input_ext-dec.c.
      * modules/codec/a52.c: fixed uninitialized variable.
      2175bb5b
  14. 23 Oct, 2002 1 commit
    • Gildas Bazin's avatar
      · bfc4f0f5
      Gildas Bazin authored
      * ALL: New ogg demux and vorbis codec modules for preliminary support of
         ogg/vorbis streams.
      bfc4f0f5
  15. 22 Oct, 2002 1 commit
  16. 21 Oct, 2002 2 commits
  17. 20 Oct, 2002 1 commit
  18. 17 Oct, 2002 2 commits
    • Sam Hocevar's avatar
      * ./src/video_output/video_output.c: mouse coordinates are now variables. · 0a47ec01
      Sam Hocevar authored
        * ./modules/access/dvdplay/intf.c: instead of probing the mouse on each
          loop iteration, we set a callback on the corresponding variables.
      0a47ec01
    • Sam Hocevar's avatar
      * ./src/misc/variables.c: callback loops are now detected; this means you · ce7d29b2
      Sam Hocevar authored
          can now use var_* functions from within your callback, they can even
          trigger callback themselves, to any level. The main restriction is that
          you shouldn't meddle with a variable that is already being triggered by
          the current thread (other threads will just wait).
        * ./src/misc/objects.c: fixed a deadlock in the "tree" command.
        * ./modules/misc/testsuite/test4.c: added a "callback-test" command to the
          rc interface to test callback loop detection and concurrent triggers.
      ce7d29b2
  19. 16 Oct, 2002 2 commits
  20. 15 Oct, 2002 1 commit
  21. 14 Oct, 2002 3 commits
    • Sam Hocevar's avatar
      * ./modules/misc/testsuite/test4.c: made the 4th test less CPU intensive · 2f278849
      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.
      2f278849
    • Sam Hocevar's avatar
      * ./include/vlc/vlc.h, ./src/libvlc.c: added VLC_Error() to the libvlc API. · bf7985b7
      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.
      bf7985b7
    • Sam Hocevar's avatar
  22. 11 Oct, 2002 2 commits
    • Sam Hocevar's avatar
      Changes to the libvlc API: · 464bd2e5
      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().
      464bd2e5
    • Sam Hocevar's avatar
      * ./src/misc/variables.c, ./include/variables.h: a few functions for · f78e5583
      Sam Hocevar authored
          in-object variable storage. Unused yet (not even compiled).
      f78e5583
  23. 08 Oct, 2002 1 commit
  24. 04 Oct, 2002 2 commits
    • Sam Hocevar's avatar
      * ./configure.ac.in: removed now unnecessary --force-exe-suffix flag. · 89987e11
      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.
      89987e11
    • Gildas Bazin's avatar
      · 80b15699
      Gildas Bazin 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.
      80b15699
  25. 03 Oct, 2002 1 commit
    • Sam Hocevar's avatar
      * ./configure.ac.in: duplicated arguments to AM_INIT_AUTOMAKE to fix · f501554a
      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.
      f501554a