1. 29 May, 2004 1 commit
  2. 29 Apr, 2004 1 commit
  3. 18 Apr, 2004 1 commit
    • zorglub's avatar
      * ALL: Better announce system · fab59c05
      zorglub authored
        - The SAP handler now runs in a separate thread.
        - RTP sessions can be announced with sap (sdp=sap://,name=...)
      	TODO: Make this more configurable
        - Better SDP generation (the timestamp problem is not resolved)
      	About this, there is a problem : as, for a RTP session, the URI
              is the complete SDP, if the session is recreated, as the URI has 
              changed, a new item is added to the playlist
        - Experimental flow control algorithm :
             It does not follow the "Recommended" implementation, as it needs
             to count the sessions (to achieve this, we should make this work
             together with the SAP listener)
             It is disabled by default (use --sap-flow-control to enable).
             When it is disabled, sap announcement interval is set by --sap-interval
      
      * src/misc/net.c : created net_ReadNonBlock
      * sap.c : Fixed memory problem
      
      
      
      fab59c05
  4. 21 Mar, 2004 1 commit
  5. 03 Mar, 2004 1 commit
  6. 25 Jan, 2004 1 commit
  7. 06 Jan, 2004 1 commit
  8. 24 Nov, 2003 1 commit
  9. 14 Oct, 2003 1 commit
    • gbazin's avatar
      · 3a5ec777
      gbazin authored
      * modules/gui/wxwindows/*: don't forget to delete the timer.
         Use wxApp::OnExit() to cleanup the dialogs provider.
         Added a "Miscellaneous" section to the menu. Added a "Switch interface" and "Add interface" entries to this menu.
      * modules/gui/skins/src/*: dialog providers have object types of VLC_OBJECT_DIALOGS.
         Don't forget to attach/detach the dialogs provider to its parent intf.
         Work around a bug in imlib2 when we close the plugin.
      * src/misc/objects.c, include/vlc_objects.h: added VLC_OBJECT_DIALOGS for dialogs providers.
      * src/interface/interface.c, include/vlc_interface.h: added 2 object variables to switch/add interfaces on the fly (intf-switch and intf-add).
      3a5ec777
  10. 08 Oct, 2003 1 commit
    • gbazin's avatar
      · d44f9d26
      gbazin authored
      * include/vlc_codec.h: defines decoders/encoders related structures here.
      * include/vlc_video.h: new video_frame_format_t structure which defines the properties of a video frame.
      * include/vlc/decoder.h: include vlc_codec.h
      * src/misc/objects.c: added VLC_OBJECT_PACKETIZER and VLC_OBJECT_ENCODER object types.
      * modules/stream_out/transcode.c, modules/codec/theora.c: experimental theora video encoder.
      * src/input/*: some cleanup.
      d44f9d26
  11. 19 Sep, 2003 1 commit
    • Laurent Aimar's avatar
      * src/misc/objects.c: change the way that FIND_ANYWHERE work. Now we · b1fa3292
      Laurent Aimar authored
       first search  the root of  the object  using p_parent and  not directly
       using p_vlc. If this first search  failed then we search using p_vlc if
       it wasn't the  case. (I'm not sure  it's harmless but I  think it's the
       correct behavour for FIND_ANYWHERE)
      
       * src/video_output/video_output.c  : we could now  use FIND_ANYWHERE to
       catch the  playlist (even when the  vlc is exiting. (Hehe, now visual
       effects won't reopen the vout every playlist item.)
      b1fa3292
  12. 18 Sep, 2003 1 commit
  13. 02 Sep, 2003 1 commit
    • gbazin's avatar
      · 7bb574fd
      gbazin authored
      * ALL: Introduction of a new api for decoders.
         The final aim of this new api is to make it possible to use the decoders from other modules like the transcoder for instance.
         Only a few decoders have been ported to the new api (a52, libmpeg2, dts, vorbis, theora) so the old api is still supported.
      
         Don't hold your breath, there is still much work to do before we reach this goal.
      
      * modules/codec/a52.c, libmpeg2., dts.c, vorbis.c, theora.c:
         Converted to the new api.
         Merged the a52 and vorbis packetizers in their respective decoders (removes a lot of code duplication).
         New dts and theora packetizers (merged in their respective decoders).
      7bb574fd
  14. 26 Jun, 2003 1 commit
  15. 24 Jun, 2003 1 commit
  16. 23 Feb, 2003 1 commit
  17. 27 Jan, 2003 1 commit
    • ipkiss's avatar
      * src/misc/objects.c: vlc_list_find now returns a (vlc_list_t *) · f716766a
      ipkiss authored
         instead of a (vlc_list_t); this modification was needed because BCB
         doesn't like at all when a function (compiled with mingw32) returns
         a struct...
       * ALL: modified the files to take this change into account
       * modules/gui/win32/menu.cpp: enabled the "Add interface" command
      f716766a
  18. 14 Dec, 2002 1 commit
    • 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
  19. 13 Dec, 2002 1 commit
    • 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
  20. 07 Dec, 2002 1 commit
    • 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
  21. 06 Dec, 2002 1 commit
  22. 17 Nov, 2002 1 commit
  23. 09 Nov, 2002 1 commit
  24. 29 Oct, 2002 1 commit
  25. 17 Oct, 2002 1 commit
    • 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
  26. 14 Oct, 2002 1 commit
    • 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
  27. 11 Oct, 2002 1 commit
    • 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
  28. 04 Oct, 2002 1 commit
    • 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
  29. 03 Oct, 2002 2 commits
    • 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
    • Sam Hocevar's avatar
      * ./src/libvlc.c, ./include/main.h: the root of all objects is now · 145b1961
      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.
      145b1961
  30. 24 Aug, 2002 1 commit
    • gbazin's avatar
      · a60541d1
      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).
      a60541d1
  31. 15 Aug, 2002 1 commit
  32. 14 Aug, 2002 2 commits
    • Sam Hocevar's avatar
      * ./src/misc/objects.c: implemented vlc_list_find() which works like · 005be138
      Sam Hocevar authored
          vlc_object_find() but returns a list of _all_ the matching objects. Only
          works with FIND_ANYWHERE at the moment.
        * ./modules/gui/gtk/preferences.c, ./modules/gui/kde/preferences.cpp,
          ./modules/gui/win32/preferences.cpp: the module lists in the preferences
          menus work again.
        * ./src/misc/objects.c: added a missing sizeof that caused crashes because
          the reindexing of the global object array was incomplete.
        * ./include/modules_inner.h: propagated the module long description to its
          submodules.
      005be138
    • Sam Hocevar's avatar
      * ./modules/control/rc/rc.c: 'l' outputs a list of all allocated objects, · c250844e
      Sam Hocevar authored
          just as 'd' displayed a tree of attached objects.
        * ./src/misc/modules.c: added a missing header.
      c250844e
  33. 12 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/misc/objects.c: two big changes in the object API: now objects can · 6e8f9504
      Sam Hocevar authored
          only have one parent, because I don't want to deal with cycles, and each
          created object is indexed in a global array. This feature is unused yet,
          but it will speed up vlc_object_find(FIND_ANYWHERE).
        * ./debian/rules: activated the faad codec.
        * ./doc/fortunes.txt: new fortune cookies.
        * ./modules/codec/mpeg_video/headers.c: reduced the use of attach/detach.
        * ./modules/audio_output/oss.c: fixed two compilation warnings.
      6e8f9504
  34. 08 Aug, 2002 1 commit
  35. 07 Aug, 2002 1 commit
  36. 04 Aug, 2002 1 commit
  37. 31 Jul, 2002 1 commit
  38. 08 Jun, 2002 1 commit