1. 14 Nov, 2002 3 commits
    • Christophe Massiot's avatar
      Major change of the channels management. p_format->i_channels disappeares · 8928554e
      Christophe Massiot authored
      and is replaced by two members : i_physical_channels and i_original_channels.
      i_physical_channels describes the channels which are effectively present
      in the stream (at the current point of the aout pipeline), whereas
      i_original_channels represents the channels we used to constitute the
      stream. For instance a mono stream (FRONT_CENTER) may emanate from a
      FRONT_LEFT channel of a STEREO stream.
      
      Additionally, this contains hooks to dynamically select the audio device
      and the channels configuration. In order to do that, all aout plugins,
      and all interface plug-ins need to be adapted. Currently only SDL
      (partially OSS) and the rc interface have been adapted, please use them
      as a guide. Other aout plug-ins have been temporarily disabled.
      
      IMPORTANT : if you need a working sound output, DO NOT UPDATE YOUR TREE
      for several days until we fix that.
      
      * modules/misc/network/ipv4.c: Fixed a long-standing segfault when saving
        preferences and asking for multicast.
      8928554e
    • sigmunau's avatar
    • gbazin's avatar
      · 2547dac3
      gbazin authored
      * src/audio_output/intf.c: fixed a bug affecting audio volume initialization.
      2547dac3
  2. 13 Nov, 2002 4 commits
    • Sam Hocevar's avatar
      * ./bootstrap: bootstrap now requires the --config flag. With no arguments · d1296b32
      Sam Hocevar authored
          it simply outputs a usage message.
        * ./src/*: fixed a bunch of (legitimate) warnings under VC++.
        * ./evc/*, ./msvc/*: split the workspaces into three projects (libvlc, vlc
          and plugins -- plugins doesn't build anything yet).
      d1296b32
    • Sam Hocevar's avatar
      * ./msvc/*, ./evc/*: moved eMbedded Visual Studio files to the toplevel evc/ · 5de3e045
      Sam Hocevar authored
          directory because the two project files are starting to diverge.
        * ./evc/vlc.c: created a specific vlc.c file for Windows CE.
        * ./src/misc/messages.c: as WinCE doesn't have stdout or stderr, the message
          queue outputs to a logfile (until we have a proper interface).
      5de3e045
    • gbazin's avatar
      · 4e14e85a
      gbazin authored
      * src/playlist/playlist.c: bugfix for when we delete the last playlist
         element (I'll get this one right... eventually ;).
      * modules/demux/m3u.c: allow forcing the demux to be used by specifying the
         asx or m3u demux.
      4e14e85a
    • gbazin's avatar
      · 9b11af62
      gbazin authored
      * src/playlist/playlist.c: when autodeleting an item, we don't need to skip
         to the next one.
      * modules/demux/m3u.c: added .asx support and changed the autodetection of
         file type to just probe the file extension.
      9b11af62
  3. 12 Nov, 2002 3 commits
    • gbazin's avatar
      · 35b69681
      gbazin authored
      * include/vlc_playlist.h, src/playlist/playlist.c: added a b_autodeletion
         flag to the playlist item structure. If this flag is set then the playlist
         item will be deleted automatically after it has been played.
      35b69681
    • Sam Hocevar's avatar
      * ./Makefile.am: fixed rc compilation under mingw32/cygwin. · df7cbb74
      Sam Hocevar authored
        * ./modules/access/http.c: fixed a segfault (unchecked strstr return value).
        * ./src/input/input_ext-plugins.c: removed platform-specific code and put
          it in plugins. This leads to some code duplication but I have an evil
          plan to get rid of that, too.
      df7cbb74
    • gbazin's avatar
      · a6ca37b6
      gbazin authored
      * src/extras/libc.c: fixed typo.
      * configure.ac.in: compilation fix on win32 for the mms access plugin (the
         plugin is linked with ws2_32).
      a6ca37b6
  4. 11 Nov, 2002 2 commits
    • gbazin's avatar
      · c0e8ae07
      gbazin authored
      * src/audio_output/filters.c, src/audio_output/input.c, include/aout_internal.h,
         modules/audio_filter/resampler/*: Changes that allow the resamplers to set
         the start and end date of the frame it outputs.
         This allows us for instance to output a smaller frame than what we should, and
         keep the rest of the data to compute the resampling of the next frame.
         In short, we can implement much more complex resampling algorithms than before.
      
      * modules/audio_filter/resampler/linear.c: rewrote the linear resampler. The audio
         quality doesn't seem to be better than the ugly resampler, maybe I shouldn't
         have wasted my time on this...
      c0e8ae07
    • Sam Hocevar's avatar
      * ./include/*, ./src/*: separated WIN32 #tests and UNDER_CE #tests, because · bc061e84
      Sam Hocevar authored
          WIN32 isn't always defined under WinCE, but might be. Grmbl.
        * ./include/*: changed a few u* and s* to uint*_t and int*_t.
      bc061e84
  5. 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
    • gbazin's avatar
      · b4f932ad
      gbazin 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
  6. 09 Nov, 2002 2 commits
  7. 08 Nov, 2002 1 commit
    • gbazin's avatar
      · d532cf3c
      gbazin 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
  8. 07 Nov, 2002 1 commit
    • gbazin's avatar
      · d472b3e2
      gbazin 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
  9. 06 Nov, 2002 2 commits
  10. 05 Nov, 2002 1 commit
    • gbazin's avatar
      · 51f7848f
      gbazin authored
      * All: moved the check for "video" and "audio" config variables to
         input_SelectES(). That allows --no-video and --no-audio to automagically
         work for all demuxers.
      51f7848f
  11. 02 Nov, 2002 1 commit
    • gbazin's avatar
      · 5be7af3d
      gbazin authored
      * src/video_output/video_output.c: small change to avoid using floating point
         registers in the video ouptut routines.
      5be7af3d
  12. 01 Nov, 2002 1 commit
    • gbazin's avatar
      · 95efa086
      gbazin 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
  13. 31 Oct, 2002 2 commits
    • Sam Hocevar's avatar
      * ./src/misc/variables.c: callbacks are now called after the variable has · e9364f5c
      Sam Hocevar authored
          been modified. Maybe we'll need the other type, too, but this change will
          make things simpler in aout3.
      
        * ./src/playlist/playlist.c: removed two unused variables.
        * ./src/misc/modules.c: removed a debug message I had forgotten.
        * ./src/misc/modules_plugin.h.in: fixed a typo (thanks bozo).
      e9364f5c
    • gbazin's avatar
      · cae5489a
      gbazin authored
      * modules/codec/spudec/spudec.c, modules/codec/spudec/parse.c: fixed a couple
         of problems introduced with the recent changes to the bitstream facility.
      * src/audio_output/output.c: fixed a quite annoying bug in aout3 that was
         triggering unnecessary trashing of audio frames.
      cae5489a
  14. 29 Oct, 2002 3 commits
  15. 28 Oct, 2002 3 commits
  16. 27 Oct, 2002 1 commit
    • gbazin's avatar
      · 6d6601ea
      gbazin 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
  17. 26 Oct, 2002 1 commit
    • gbazin's avatar
      · 09cbae7e
      gbazin authored
      * ALL: p_selected_area->i_tell is now update inside input_SplitBuffer instead
         of inside the pf_read functions of access plugins. That means i_tell now
         actually reflects the position of what is being decoded and furthermore it
         is updated more often.
      09cbae7e
  18. 24 Oct, 2002 2 commits
    • Laurent Aimar's avatar
      * ffmpeg : new way to gather a frame · a7fa4779
      Laurent Aimar authored
       * input_ext-dec.c : add a call to GetPES in NextPES when fifo is empty.
      a7fa4779
    • gbazin's avatar
      · 2175bb5b
      gbazin 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
  19. 23 Oct, 2002 1 commit
    • gbazin's avatar
      · bfc4f0f5
      gbazin authored
      * ALL: New ogg demux and vorbis codec modules for preliminary support of
         ogg/vorbis streams.
      bfc4f0f5
  20. 22 Oct, 2002 2 commits
  21. 21 Oct, 2002 1 commit