1. 06 Nov, 2004 1 commit
  2. 16 Jul, 2004 1 commit
  3. 31 Mar, 2004 1 commit
    • gbazin's avatar
      * src/input/control.c: added INPUT_ADD_INFO/INPUT_SET_NAME to input_Control(). · 562ab59b
      gbazin authored
      * src/input/input.c:
         + introduced input_item_t that is shared between the playlist/vlm and the input thread (contains input name, options, infos, etc...).
         + changed prototype of input_CreateThread() to input_thread_t *input_CreateThread( vlc_object_t *, input_item_t * ).
      * ALL: use input_item_t and INPUT_ADD_INFO when necessary.
      562ab59b
  4. 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
  5. 25 Jan, 2004 1 commit
  6. 23 Jan, 2004 1 commit
  7. 11 Jan, 2004 1 commit
    • zorglub's avatar
      * configure.ac : Added new folders · 5dc722b5
      zorglub authored
      * New playlist import/export system:
         -export plugin in misc/playlist (contains one module for each file type)
         -open plugin = special demuxer2, that can be opened from the command
          line or the graphical interface.
        NB: the demuxer "playlist" is forced to earn speed, but this does not
        work yet, as we have a demux2
      
      * modules/gui/wxwindows: use the new import/export.
      
      * src/playlist/group.c : fixed boundary check
      
      * src/playlist/item-ext.c: correctly reset stuff when clearing the playlist
      5dc722b5
  8. 10 Jan, 2004 2 commits
  9. 06 Jan, 2004 2 commits
  10. 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
  11. 03 Dec, 2003 1 commit
    • sigmunau's avatar
      all: · ddc23167
      sigmunau authored
       * in vlc, times are stored in microseconds. playlist_item_t::i_duration
         shouldn't be an exception
      modules/gui/wxwindows/playlist.cpp:
       * fixed indentation
      ddc23167
  12. 26 Nov, 2003 1 commit
  13. 12 Nov, 2003 1 commit
  14. 29 Oct, 2003 1 commit
    • zorglub's avatar
      * src/playlist/* && Makefile.am · 84b846bf
      zorglub authored
         - splitted the enormous playlist.c file
         - implemented a better item group system: groups have a name
           and must be created before use by
            playlist_CreateGroup( p_playlist, "newgroupname")
      
      * modules/misc/sap.c
         - Create our own playlist group ("SAP") and use it
      
      * modules/access/slp.c
         - Create our own playlist group ("SLP") and use it
      
      * modules/demux/util/id3tag.c
         - Trigger playlist update when we have parsed our tag
      
      * modules/gui/wxwindows/interface.cpp
         - Fixed the about box by using vlc_wraptext
         - Added the simple open and the streaming wizard icons
                 *** Icons need to be changed ! ***
         - Added the visualization to the extended gui
      
      * modules/gui/wxwindows/preferences.cpp && include/vlc_help.h
         - Enlarged the window to fit the wrapped text
         - Added help for audio encoders
      
      * modules/gui/wxwindows/stream.cpp  & open.cpp & include/vlc_interface.h
         - Created a "streaming wizard" window (3-step streaming)
      
      * modules/gui/wxwindows/iteminfo.cpp:
         - Group change is now based on the name
      
      * modules/gui/wxwindows/playlist.cpp
         - Added author and group columns to the listview
         - Redesigned the window
         - Added the Sort menu with several criteria (title, author, group)
         - Added up/down buttons to move an item in the playlist
         - Added the group menu to enable/disable a group in an understandable way
      
      
      TODO:
      -----
      
      * playlist core :
         - Implement advanced sort capabilities  (multi-criteria)
         - File format to save the new features
         - export playlist (to M3U, eg)
         - more robust group creation (duplicates check, ...)
      
      * wxWindows playlist:
         The idea of a treeview seems impossible, because of wxWindow's treeview,
         that don't allow multi-selection, and, as far as I know, multi-columns.
         - Provide a frontend to advanced sort (when it's done :-) )
         - Allow moving items by drag & drop (well, if possible, haven't checked yet)
         - Allow moving several items at once
         - Customizable listview (ability to remove/move columns)
         - Find a solution to the focus problem
           (when you change track, the selected one scrolls at the
            bottom of the visible screen)
      
      * wxWindows interface:
         - New icons, our icons begin to get old and not so pretty
         - Find a solution for the volume bar (nobody understands what it is)
      84b846bf
  15. 06 Oct, 2003 1 commit
    • zorglub's avatar
      * include/vlc_playlist.h · 12cbd4c8
      zorglub authored
        src/playlist/playlist.c:
           * Implemented a boolean b_enabled to disable a playlist item
           * Implemented the idea of group (p_item->i_group), that allows
             to enable/disable and to sort some series of items
           * Implemented an unused (at the moment), psz_author field
           * Started to implement a new playlist format to store all of these
      
      * modules/gui/wxwindows/interface.cpp:
           Added a hiddeable panel to put some important options.
           (Menu Preferences->Extra GUI)
           At the moment, we put the adjust filter and aspect ratio, and must
           decide what options we want here
      
      * modules/gui/wxwindows/playlist.cpp
        modules/gui/wxwindows/iteminfo.cpp:
           Added "Enable/disable group button", options to enable/disable selection
           Added an item info dialog box
      
      * modules/misc/sap.c :
           Added a sap-group-id option: the SAP playlist items are in a separate group
           (defaults to 42)
      
      * modules/visualization/visual/effects.c:
           Minor coding style fixes
      
      Todo:
      -----
      
      * Advanced sort (alphabetical and/or by group)
      * Ability to load 0_6 playlists
      * Really use the libid3tag
      12cbd4c8
  16. 08 Sep, 2003 1 commit
    • zorglub's avatar
      * src/playlist/playlist.c · 8f02c035
      zorglub authored
             include/playlist.h: playlist sorting
       		(function playlist_Sort( playlist_t * , int type)
      
      * modules/gui/wxwindows/playlist.cpp
        modules/gui/wxwindows/wxwindows.h :
      	* Implement playlist sorting & reverse sorting
      	* Playlist search
      8f02c035
  17. 14 Aug, 2003 1 commit
    • sigmunau's avatar
      vlc_playlist.h: · 92c1ab4e
      sigmunau authored
         * added a duration field to the playlist item struct
      vlc_playlist.h, playlist.c:
         * turned playlist_AddName into playlist_AddExt and made it take an extra
         argument( the duration )
         * doxygenize comments
      modules/demux/m3u.c, modules/gui/macosx/playlist.m:
         * use playlist_AddExt
      92c1ab4e
  18. 23 Jul, 2003 1 commit
    • gbazin's avatar
      · eb505a2f
      gbazin authored
      * ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input.
      * src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value.
      * src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options.
      * src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'.
      
      All these changes allow you to specify input specific options.
      eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg
      Here the ":sout" option will only apply to yourvideo.mpeg.
      "--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg.
      
      TODO: - the interfaces need t...
      eb505a2f
  19. 27 Jun, 2003 1 commit
    • zorglub's avatar
      · 8f9ee6fd
      zorglub authored
      * modules/demux/m3u.c :
          Added name support. Only implemented for M3U and B4S playlists at the moment
      
      * src/playlist/playlist.c
        include/vlc_playlist.h   : Added the playlist_AddName function to add an item with its name without filling an item structure.
      8f9ee6fd
  20. 17 Mar, 2003 1 commit
    • hartman's avatar
      * src/playlist/playlist.c: · 7314de69
      hartman authored
        - added playlist_Move to move an item in our playlist before the position
          of a previous item (or end) of our playlist. Keeps index at it's current
          item.
      * modules/gui/macosx/playlist.?:
        - Now a reorderable playlist. Thanks to Andrew Stone for example code.
          This fixes #349 (Finally ;)
        - True alternating colors in the playlistview. Thanks to Apple Computer
          for the example code.
      7314de69
  21. 29 Jan, 2003 1 commit
  22. 13 Dec, 2002 1 commit
    • 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
  23. 03 Dec, 2002 1 commit
    • Arnaud Schauly's avatar
      * src/playlist/playlist.c : Added playlist_AddItem (enqueues · 923da588
      Arnaud Schauly authored
      playlist_item_t instead of psz_target ). Now playlist_Add uses
      playlist_AddItem to enqueue.
      * include/vlc_playlist.h : Added a psz_uri field in the playlist_item_t
      structure.
      * src/input/input.c : takes item->psz_uri  argument to start playing an
      item.
      923da588
  24. 12 Nov, 2002 1 commit
    • 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
  25. 31 Jul, 2002 1 commit
  26. 20 Jul, 2002 1 commit
  27. 03 Jul, 2002 1 commit
  28. 07 Jun, 2002 3 commits
  29. 04 Jun, 2002 1 commit
    • Sam Hocevar's avatar
      (new in MAIN) · 7291e0a7
      Sam Hocevar authored
        * ./src/interface/interface.c: interfaces are no longer attached only to
          p_vlc.
        * ./src/libvlc.c, ./src/misc/modules.c, ./src/playlist/playlist.c,
          ./src/input/input.c: improvements in the playlist handling (not quite that
          yet though).
      (ported from v0_4_1_branch)
        * ./configure.in, ./plugins/mpeg_system/mpeg_ts.c: fixed libdvbpsi handling.
        * ./src/misc/configuration.c: fixed the --nofoo option handling.
        * ./src/interface/main.c: fixed two compilation warnings under Solaris.
      7291e0a7
  30. 01 Jun, 2002 2 commits
    • Sam Hocevar's avatar
    • Sam Hocevar's avatar
      * ALL: the first libvlc commit. · 9e3ab283
      Sam Hocevar authored
         As for video output 4, this breaks almost everything, but I'll slowly
        do what remains to be fixed during the weekend.
      
         Changes in vlc:
         ===============
      
        * vlc is now a very small program (20 lines) which uses the libvlc API;
         it is quite simple for the moment but can be extended in the future.
      
        * interfaces, decoders, video outputs, etc. are now almost the same
         objects (yes, I know, this is C++ redone in C) and are structured in
         a tree. More about this later, but basically it allows the following
         nice features:
          - several interfaces
          - several playlists with several outputs
          - input plugins spawning helper interfaces (will be used for DVD menus)
          - anything spawning anything; I swear there are useful uses for this!
      
        * libvlc can be used in other programs; I'm currently writing a Mozilla
         plugin for my employer.
      
         Things currently broken:
         ========================
      
        * most interfaces, most ports
        * the playlist handling (almost finished rewriting this though). This means
         no file can be played from the GUI, you need to use the commandline. This
         also means it segfaults at EOF, when exiting the program, and it sometimes
         refuses to open a file when asked to.
      9e3ab283
  31. 24 Apr, 2002 1 commit
  32. 30 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · cc0f0bb6
      Sam Hocevar authored
      Some heavy changes today:
        * Removed duplicate function checks from configure.in.
        * Added extra magic to Makefile.modules so that the module Makefiles
          are now ridiculously simple. And I mean *simple*. Check it! This will
          make a possible switch to full autoconf/automake a lot easier.
        * Added the vlc version name to the plugin symbols, to be sure we only load
          plugins with the same version number. A nasty consequence is that you
          need to rebuild your tree after midnight if you are using a CVS tree :-)
        * Got rid of modules_export.h by #defining exported functions in the same
          header as their prototype.
        * Added modules_inner.h and other commonly used .h files to common.h so
          there are less and less files to include, and renamed common.h to
          <videolan/vlc.h>.
        * First modifications to the module handling system towards my ultimate
          goal to get rid of the *_Probe functions. Got rid of TestMethod and
          TestCPU, as well as src/misc/tests.c.
        * Wrote the chroma plugin handling functions. No YUV functions have been
          ported yet because it'ls a lot of work, but the core system works, I
          tried it with a naive yv12->rgb16 plugin (which will disappear when the
          real functions are ready).
        * Made a lot of functions in dvd_summary.c one-liners to avoid wasting
          too many output lines.
        * Fixed a segfault in input_dvd.c:DVDInit.
        * Added a fixfiles.sh script in plugins/gtk to be run after Glade has
          generated its C files.
        * Did some work on the KDE interface to make it suck a bit less. It still
          segfaults, but at least it runs and it looks less ugly.
        * RGB SDL rendering works again, though in 16bpp only.
        * Made plugins/vcd/linux_cdrom_tools.c independent of any vlc structure
          so that it'll be easily put in a library. Maybe libdvdcss?
        * Fixed VCD date display.
        * Merged vout_xvideo.c, vout_x11.c and vout_common.c into xcommon.c.
        * Wrote non-Shm XVideo output.
        * Made X11 output work again. Still pretty unstable, only works for 16bpp.
        * Additional french translation in po/fr.po. Any taker for the rest?
        * Fixed a segfault in video_output.c when the allocated pictures were
          not direct buffers.
        * If $DISPLAY isn't set, don't try to run the Gtk+ interface.
        * Replaced 48x48 .xpm images with 32x32 ones to conform to Debian policy
          (Closes Debian bug #126939).
        * Removed the automatic ./configure launch when running `make all' for
          the first time.
      
      Stuff currently more broken than it ought to be:
        * The wall filter. Being fixed.
        * x11 and sdl plugins for depth != 16bpp.
        * Software YUV.
        * gvlc, gnome-vlc, kvlc shortcuts. Use --intf instead for the moment.
      cc0f0bb6
  33. 30 May, 2001 1 commit
    • Sam Hocevar's avatar
      · 440f9992
      Sam Hocevar authored
        * Fixed the BeOS compile typo.
        * The ALSA plugin is back.
        * A gift for Gildas: plugins don't rely on backlinking any more. The
          drawback is the dirty magic in include/modules_export.h which has to
          be included whenever a module needs one of the functions in it. But
           a) we should less and less rely on those functions
           b) no plugin code modification was needed
      
         The BeOS and MacOS X modules may be broken when compiled as plugins,
         I'll check this later when I can reboot under BeOS.
      440f9992
  34. 15 May, 2001 1 commit
    • Stéphane Borel's avatar
      *initialization bugfixes in input_dvd · 9530fc9f
      Stéphane Borel authored
      *added a b_stopped flag to interface playlist to have a stop function in
      interface plugins. As a consequence, the playlist no longer loops on end
      but wait for the user to press 'play' or to add another item (gtk/gnome
      interface). I think that other plugins are broken but it shouldn't be
      difficult to repair: just add a 'p_main->p_playlist->b_stopped = 0' in
      play functions and 'p_main->p_playlist->b_stopped = 1' when you have to
      stop.
      
      *Updated gtk interface so that it has the same features as gnome. I
      think I will merge the code so that we don't have to copy and paste each
      change. Only the .glade file would be different.
      9530fc9f
  35. 21 Mar, 2001 1 commit
    • Sam Hocevar's avatar
      · 4f551c2b
      Sam Hocevar authored
        * Header cleaning: filled all empty authors fields, added CVS $Id stuff.
        * Fixes to aout_darwin.c by Colin Delacroix <colin@zoy.org>.
        * Fixes to configure.in, Makefile.in and main.c (Altivec detection)
          by Eugenio Jarosiewicz <ej0@cise.ufl.edu>.
        * Added Colin and Eugenio to the AUTHORS file.
      4f551c2b