1. 18 Dec, 2002 1 commit
  2. 15 Dec, 2002 1 commit
    • gbazin's avatar
      · bd92601c
      gbazin authored
      * include/vlc/vlc.h: added a new pi_types field to vlc_list_t. This field will be used
      later on by the object variables functions. I'm adding it now because it also happens to
      solve a binary compatibility problem between gcc and bcc. (depending on compilers,
      structs of 32 < size <= 64 bits can be returned either in a register or in the stack).
      bd92601c
  3. 14 Dec, 2002 2 commits
    • Laurent Aimar's avatar
      f8bf106d
    • gbazin's avatar
      · 215c1a85
      gbazin authored
      * src/misc/objects.c: implemented the FIND_CHILD mode for vlc_list_find().
         vlc_object_get() now increments the refcount of the object so you'll need to release
      the object at some point.
      * src/misc/variables.c, ALL: var_Change() with VLC_VAR_GETLIST now returns a vlc_value_t
      which points to a vlc_list_t.
      215c1a85
  4. 13 Dec, 2002 2 commits
    • Boris Dorès's avatar
      - vlc_playlist.h, playlist.c: added the ability to save a playlist to · 4552cb1e
      Boris Dorès authored
        and restore it from a file chosen by the user.
      
      - win32/*:
      
        - implementation of the previous feature in the win32 interface
      >   -> what the other interfaces need to do to support it is simply to
      >      call the two following functions:
      >       int playlist_LoadFile(playlist_t *p_playlist,const char *psz_filename);
      >       int playlist_SaveFile(playlist_t *p_playlist,const char *psz_filename);
      >      where psz_filename is the name of the destination/source file.
      
        - ability to open several files at a time
      4552cb1e
    • gbazin's avatar
      · a71b1c8c
      gbazin authored
      * ALL: added a new vlc_list_t common type. vlc_list_find() and vlc_list_release() have been modified
      to use this new type.
      a71b1c8c
  5. 12 Dec, 2002 1 commit
    • gbazin's avatar
      · bd369da1
      gbazin authored
      * src/input/input_clock.c, include/input_ext-intf.h: introduced an i_pts_delay field in
      input_thread_t (initialised to DEFAULT_PTS_DELAY).
      * modules/access/*: i_pts_delay is now configurable on an access module basis. The pts
      delay for http and mms have been raised to 4 * DEFAULT_PTS_DELAY, which is about 1.2
      seconds worth of caching.
      bd369da1
  6. 10 Dec, 2002 2 commits
  7. 09 Dec, 2002 1 commit
    • gbazin's avatar
      · 0c091c92
      gbazin authored
      * include/configuration.h: rolled back the last changes made to this file. There is no
      sense in manually initializing all the fields of module_config_t as it will be done by the
      compiler anyway. Furthermore mingw32 gcc seems to have problems optimizing code
      that manually initializes structures to 0.
      0c091c92
  8. 08 Dec, 2002 1 commit
  9. 07 Dec, 2002 2 commits
    • Christophe Massiot's avatar
      * configure.ac.in: Disabled -Wtraditional as it produces much more bogus · ec518727
      Christophe Massiot authored
        warnings than real ones.
      * audio output: New intf-change variable to know when audio-channels
        and audio-device have changed.
      * video output: New intf-change variable and vout_VarCallback, to know
        when video-device has changed (OS X port).
      * modules/gui/macosx/*: Menus for audio channels, implemented volume
        management, added a menu for screen selection.
      ec518727
    • gbazin's avatar
      · 0d62cd7d
      gbazin authored
      * ALL: a few updates to the variables API:
        - got rid of the VLC_VAR_COMMAND variable type and introduced the VLC_VAR_ISCOMMAND flag
      instead. This simplifies things and avoid the strange command variables behaviour. Command
      variables will now trigger their callback on var_Set() like any other variables (look in
      modules/control/rc/rc.c for an example).
        - Renamed the VLC_VAR_ISLIST flag into VLC_VAR_HASCHOICE.
        - Added a new VLC_VAR_VOID variable type. This can be useful in conjunction with
      VLC_VAR_ISCOMMAND for instance.
      0d62cd7d
  10. 06 Dec, 2002 2 commits
  11. 03 Dec, 2002 3 commits
  12. 28 Nov, 2002 2 commits
  13. 25 Nov, 2002 2 commits
  14. 24 Nov, 2002 1 commit
  15. 20 Nov, 2002 2 commits
  16. 19 Nov, 2002 1 commit
    • gbazin's avatar
      · a2acda80
      gbazin authored
      * include/video.h, include/vlc_config.h, src/video_output/*: changed the
         picture buffer allocation scheme to allocate pictures from the render
         heap in a clockwise fashion instead of always picking the first available
         one from the start of the heap.
         This allows us to benefit from ffmpeg's macro-block skipping feature.
         As a side effect, we also have less chance of reusing a refrence picture
         buffer when we can't link/unlink them.
      
      * modules/codec/ffmpeg/video.c: modified the direct rendering code to benefit
         from the macro-block skipping algorithm.
         A new flag has also been introduced in the video_output's render heap to
         forbid modifications to the render picture buffers (for instance to overlay
         subtitles).
      a2acda80
  17. 18 Nov, 2002 1 commit
  18. 14 Nov, 2002 1 commit
    • 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
  19. 13 Nov, 2002 2 commits
  20. 12 Nov, 2002 2 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
  21. 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
  22. 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
  23. 09 Nov, 2002 2 commits
  24. 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