1. 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
  2. 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 to be modified to benefit from the new playlist_Add() api.
            - only "sout", "sout-video", "sout-audio" implemented for now. To make it work with other options, we need to get rid of all the config_GetFoo() and replace them with var_Create()/var_Change()/var_Get().
      eb505a2f
  3. 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
  4. 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
  5. 29 Jan, 2003 1 commit
  6. 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
  7. 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
  8. 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
  9. 31 Jul, 2002 1 commit
  10. 20 Jul, 2002 1 commit
  11. 03 Jul, 2002 1 commit
  12. 07 Jun, 2002 3 commits
  13. 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
  14. 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
  15. 24 Apr, 2002 1 commit
  16. 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
  17. 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
  18. 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
  19. 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
  20. 15 Mar, 2001 1 commit
    • Sam Hocevar's avatar
      · a0c1805b
      Sam Hocevar authored
        * Bug fixes and enhancements in the Gtk+/Gnome interfaces.
      
         o the slider should behave correctly and stop jumping here and
           there (this bug is _not_ related to Stef's similar bug)
         o added an "open network" menu (useless since the input doesn't
           handle it properly yet)
         o tried to reorganize gnome_callbacks.c and gtk_callbacks.c
         o stream date is now displayed instead of percentage
         o renamed gnome_sys.h to intf_gnome.h, and gtk_sys.h to intf_gtk.h
      
        * Changed documentation and package creation files.
      
         o added versioned conflicts/replaces to vlc-gtk (Closes Debian bug #88796)
         o removed useless or outdated documentation from doc/*
         o moved vlc.1 manpage from debian/vlc.1 to doc/vlc.1
      
        * Added basic Qt interface.
      
         o working features: slide bar, open file, toolbar, popup menu
         o added "qvlc" alias, equivalent to "vlc -I qt"
         o known issues : no "open disc" or "open network" menus yet
                          the IntfWindow class is never cleaned on destruction
                          the popup menu always pop at the middle of the screen
      
        * Misc fixes/updates.
      
         o renamed netutils.h functions from input_* to network_*
         o renamed *plst* files and functions to *playlist* (it was stupid
           from me to name them "plst")
         o made a few input error messages more meaningful
         o added -I, -A and -V short flags, corresponding to --intf, --audio
           and --video
      
          I got a lot of conflicts on this commit, lart me if I forgot a
        file or made old bugs reappear.
      a0c1805b
  21. 08 Mar, 2001 1 commit
    • Pierre Baillet's avatar
      Hurg ! · 585b6ad7
      Pierre Baillet authored
      ###code is dirty###
      Please clean it for me :P
      (or at least, tell me how to clean it)
      
      . Slightly modified playlist base interface
        (Added a function to jump directly to an item, used for double clicking)
      
      . Added manymanycallbacks
      . Added the playlist dialog
      . Added Dnd support for intf_window and the clist1
        . support URI and plain file(s)/folder(s)
      . Added "show/hide main window" menuitem in intf_popup
      . Added bugs :P
      
      Enjoy and please bug report.
      585b6ad7
  22. 08 Feb, 2001 3 commits
    • Sam Hocevar's avatar
      · 71f866bf
      Sam Hocevar authored
       . added comments to src/interface/intf_plst.c and include/intf_plst.h
         so that people understand how the playlist works.
       . updated the TODO list (34 items to do, 41 done !)
      71f866bf
    • Sam Hocevar's avatar
      · 03d925fd
      Sam Hocevar authored
       . moved the playlist handling from input/input.c to interface/interface.c
       . fixed a few warnings at compile-time
       . fixed sound channel selection in playlist mode
       . added a color message in the plugin bank because on peut bien d�conner
         cinq minutes, quand-m�me
       . we now spawn a new input thread for each file
       . added a missing pf_close() because it's always cool to close files
         after we read them
      03d925fd
    • Sam Hocevar's avatar
      · 0935df9e
      Sam Hocevar authored
         This commit is a bit early, but it'll save Stef, Henri and me much
       time later, when we don't have to backport modifications to input_*.c
      
         What's new :
          - playlist works again (still the old wrong way like Meuuh doesn't
          like, but this is going to change within a few hours)
          - input_ps, input_ts and input_dvd are now plugins, located in
          plugins/mpeg/ and plugins/dvd/
      
         What's broken :
          - audio output might be broken on some streams ; have to investigate
      
         What has changed :
          - fast/slow keys are now A/Z instead of A/S since S was already
          linked to the scale/noscale toggle.
          - `--dvd' doesn't work anymore, for the moment try to use :
           vlc --input dvd /dev/dvd
          - module bank is now less verbose ; use `--warn 1' to turn back
          verbosity on
      0935df9e