1. 06 Mar, 2004 1 commit
  2. 05 Mar, 2004 1 commit
  3. 03 Mar, 2004 2 commits
    • gbazin's avatar
      · c87d50dd
      gbazin authored
      * ALL: changed the prototype of module_Need() to accept a "strict" boolean argument.
      If "strict" is true and a module name is provided then module_Need() will only look for the specified module
      If "strict" is false, then module_Need() will first look for the specified module and if it wasn't found, will continue with the other modules with the same "capability".
      c87d50dd
    • Laurent Aimar's avatar
      * input.c: add Duration to input infos. · 028552b9
      Laurent Aimar authored
      028552b9
  4. 16 Feb, 2004 1 commit
  5. 11 Feb, 2004 1 commit
  6. 08 Feb, 2004 1 commit
  7. 06 Feb, 2004 1 commit
    • gbazin's avatar
      · 4ca92c14
      gbazin authored
      * modules/mux/avi.c, modules/mux/ogg.c: use SetDWLE() from vlc_common.h.
      * src/input/input.c: fixed memleak.
      * modules/demux/ogg.c: fixed another timing bug.
      4ca92c14
  8. 02 Feb, 2004 1 commit
  9. 31 Jan, 2004 1 commit
  10. 29 Jan, 2004 1 commit
    • zorglub's avatar
      Options as infos were bad in several ways: it broke PLAYLIST_GO, used · 499a3845
      zorglub authored
      much memory, and was inconsistent, especially with input_CreateThread
      taking an array of options
      
      * Revert to using array of options
      
      * To add an item with options:
          - either use playlist_ItemNew, ItemAddOption, and then AddItem
            (useful if you don't have all your options in an array)
          - either use playlist_AddExt (use this if all your options are
            already in an array)
      
      * To add an item without options: use playlist_Add
      
      You can still add options after an item has been added by using either
      playlist_AddOption or playlist_ItemAddOption
      
      * Attempt to improve API and solve thread safety issues.
        - playlist_Item* functions allow to touch items only.
          p_item->lock must be used when needed
          (playlist_ItemNew, playlist_ItemDelete, playlist_Item*Info,
           playlist_ItemSet* )
      
        - playlist_ItemGetById and ItemGetByPos give you playlist_items
          for GetByPos, you should have the playlist lock
      
      At the moment, the playlist_Set* and playlist_*Info functions are kept (they work with position) but should be avoided.
      499a3845
  11. 26 Jan, 2004 6 commits
  12. 25 Jan, 2004 1 commit
  13. 15 Jan, 2004 1 commit
    • gbazin's avatar
      · 97c19f23
      gbazin authored
      * src/input/input.c: fixed memleaks.
      * src/input/input_info.c: small bug fix.
      * modules/stream_out/standard.c: fixed memleaks.
      97c19f23
  14. 10 Jan, 2004 1 commit
  15. 07 Jan, 2004 1 commit
  16. 06 Jan, 2004 1 commit
  17. 05 Jan, 2004 1 commit
    • zorglub's avatar
      * Makefile.am : Added src/playlist/item-ext.c and src/playlist/info.c · 17557ea6
      zorglub authored
      * src/playlist/item.c
        src/playlist/info.c
        src/playlist/item-ext.c
        src/playlist/group.c
        src/playlist/sort.c
        src/playlist/loadsave.c
        include/vlc_playlist.h
            - New playlist_info structures and accessors
              It works pretty like the old input_info (with categories)
              It provides modularity to the playlist
            - Removed ppsz_options and i_options from playlist_item
              (we use the special category Options)
            - Added a unique id to each playlist_item to be able to track the
              items accross playlist reorders
            - Simplified adding of items.
                 - playlist_AddExt is removed
                 - playlist_AddItem is still here and exported but should not be used
                 - use playlist_Add( p_playlist, uri, name, duration, mode, pos )
                   and use the accessors for all other things
            - Added setters for fields of the playlist_item structure
            - Introduced "item-change" and "playlist-current" playlist variables
              to give more flexibility than only intf-change
      
            At the moment, duration is still in the structure (easier to use, IMHO)
      
      * src/input/input.c
        src/libvlc.c :
              playlist item options parsing changed
      
      * include/vlc_common.h : added playlist_info structures
      17557ea6
  18. 03 Dec, 2003 1 commit
    • sigmunau's avatar
      src/input/input.c: · 8cedcb3c
      sigmunau authored
       * fill in the duration field of the playlist item when starting playback of
         a file, if the demuxer supports it.
      8cedcb3c
  19. 02 Dec, 2003 1 commit
  20. 30 Nov, 2003 1 commit
  21. 29 Nov, 2003 1 commit
  22. 28 Nov, 2003 1 commit
  23. 27 Nov, 2003 2 commits
  24. 26 Nov, 2003 1 commit
    • gbazin's avatar
      · f78aa8ea
      gbazin authored
      * src/input/input.c: fixed a whole load of mem leaks when the input is closed before the initialisation is complete (inexistant input, etc...).
      f78aa8ea
  25. 24 Nov, 2003 3 commits
  26. 22 Nov, 2003 2 commits
    • gbazin's avatar
      · bfa286d3
      gbazin authored
      * src/input/input.c: fixed previous fix (sout needs to be destroyed after the ES).
      bfa286d3
    • gbazin's avatar
      · 6ae3f4f4
      gbazin authored
      * src/input/input.c: don't free the ES twice.
      * modules/demux/ogg.c: ported to the es_out_*() api and fixed flac support.
      * modules/codec/flac.c: couple of fixes.
      6ae3f4f4
  27. 21 Nov, 2003 1 commit
    • gbazin's avatar
      · 231d0470
      gbazin authored
      * include/vlc_common.h: include stdlib.h
      * include/ninput.h, src/input/stream.c, src/input/input.c:
          new stream_Block() function to read a block_t from the input.
          es_out_Send() takes a block_t as input, for PES (deprecated) use es_out_SendPES().
      * modules/demux/*: changed to new es_out_Send(). asf.c and avi.c still use es_out_SendPES() though.
      231d0470
  28. 20 Nov, 2003 1 commit
  29. 16 Nov, 2003 2 commits
    • gbazin's avatar
      · aed1e85b
      gbazin authored
      * ALL: moved i_bitrate out of audio_format_t into es_format_t
      aed1e85b
    • gbazin's avatar
      · 1e9f16e2
      gbazin authored
      * ALL: final improvements to the decoders/packetizers api.
         (There are still a few decoders/packetizers left to be converted but this shouldn't take too long).
      * ALL: small improvements to the encoders api.
      1e9f16e2