1. 05 May, 2003 1 commit
    • gbazin's avatar
      · 95b4a56a
      gbazin authored
      * ALL: changed the prototype of input_AddES() to include enough information so we can build an "video-es", "audio-es" and "spu-es" object variable. These variables can be used by the interfaces to navigate between the elementary streams.
      * modules/gui/wxwindows/menus.cpp: use the "foo-es" object variables.
      95b4a56a
  2. 04 May, 2003 1 commit
    • gbazin's avatar
      · 30336bba
      gbazin authored
      * src/misc/variables.c, ALL: improvements to the object variables api.
         - added another argument to var_Change().
         - added a VLC_VAR_SETTEXT and VLC_VAR_GETTEXT method to var_Change()
           that are used to set/get a friendly name to an object variable.
         - added VLC_VAR_CHOICESCOUNT to var_Change() to be able to retrieve
           the number of availabel choices without having to get their value
           as well.
         - VLC_VAR_ADDCHOICE uses the extra var_Change() argument to assign
           a friendly name to the choice value.
         - VLC_VAR_GETCHOICES retrieves the choices values and their friendly
           names.
      
      * modules/gui/wxwindows/*: first step in implementing menu auto-generation in the wxWindows interface.
      30336bba
  3. 13 Apr, 2003 1 commit
    • Laurent Aimar's avatar
      * all: new sout scheme. Now a chain of module are created that can · 4dec9682
      Laurent Aimar authored
      modify/apply on all streams, --sout has the same behavour expect when
      starting with a '#'.
      
       With a starting '#' you can specify a chain of modules, it's still
      unstable but a lot more powerfull.
       You have access to duplicate(that duplicate all stream), transcode
      (using only ffmpeg), standard/std and es (that apply muxers and access),
      and display. You could chain them with ':' and specify options with
      {option1=value,option2=value[,...]}.
      
      ex: * to stream and see the stream to udp/ts:ip
       --sout '#duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'
          * to transcode,see and stream
       --sout '#transcode{acodec=mpga}:duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'
      
       Without a starting '#', the url is converted into '#std{acces=,mux=,url}'
      Test and report bugs :)
      4dec9682
  4. 12 Mar, 2003 1 commit
  5. 11 Mar, 2003 1 commit
    • gbazin's avatar
      · 1171979d
      gbazin authored
      * ALL: experimental code for stream (dvd) navigation through object variables.
      1171979d
  6. 31 Jan, 2003 1 commit
  7. 07 Jan, 2003 1 commit
    • Laurent Aimar's avatar
      * all: I have added two new variables in es_descriptor_t and · 81b7c545
      Laurent Aimar authored
      decoder_fifo_t (p_waveformatex and p_bitmapinfoheader). It's
      a replacement of p_demux_data as this variable is used by
      some demuxers in another way. This way, I will be able to add
      preliminary support of mpeg4 in mpeg2TS... (I haven't tested ogm
      demuxer so if somebody wants ...)
      81b7c545
  8. 06 Dec, 2002 1 commit
  9. 11 Nov, 2002 1 commit
  10. 10 Nov, 2002 1 commit
  11. 05 Nov, 2002 1 commit
    • gbazin's avatar
      · 51f7848f
      gbazin authored
      * All: moved the check for "video" and "audio" config variables to
         input_SelectES(). That allows --no-video and --no-audio to automagically
         work for all demuxers.
      51f7848f
  12. 29 Oct, 2002 1 commit
  13. 31 Jul, 2002 1 commit
  14. 23 Jul, 2002 1 commit
    • Sam Hocevar's avatar
      * ALL: decoders now use a fourcc as a probe value. · 64d33dc9
      Sam Hocevar authored
        * include/input_ext-intf.h: killed p_es->b_audio, since i_cat already fills
          its purpose.
        * include/input_ext-intf.h: killed p_es->i_type in favour of p_es->i_fourcc.
        * include/video.h: killed p_pic->p_plane->b_margin; now i_visible_pitch is
          always valid.
      
        * ./src/libvlc.h: replaced --mpeg-adec and --ac3-adec with --codec; see
          vlc --help for more information.
      
        * include/video.h: removed fourcc values which should _not_ be global
          (thanks fenrir for convincing me).
        * ALL: video output plugins use the VLC_FOURCC macro to build their fourccs.
        * ./plugins/beos/InterfaceWindow.cpp: removed the last remaining call to
          input_ChangeES.
      
         Things I'm not sure about and need comments:
          - I used "mpga" and "mpgv" for MPEG (1+2) audio and video fourcc values.
          - I also introduced "spu ", "lpcm" and "ac3 ".
          - I removed for instance "MP4_GetCodec" because it wasn't really
            used except for the description string. I hope this change did not
            break anything really important.
          - fenrir, I must have broken a lot of things you wrote. Sorry in advance.
      64d33dc9
  15. 21 Jul, 2002 1 commit
  16. 16 Jul, 2002 1 commit
  17. 15 Jul, 2002 1 commit
  18. 01 Jun, 2002 1 commit
    • 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
  19. 17 May, 2002 1 commit
  20. 16 May, 2002 1 commit
    • gbazin's avatar
      · 5c7fbb3b
      gbazin authored
      * src/input/input_programs.c: fixed memory corruption by setting a few
          pointers to NULL after they have been free()ed.
      * src/input/input_programs.c: removed now useless ASSERTs.
      
      This patch comes from sam, so if you want to blame someone blame him ;-)
      5c7fbb3b
  21. 15 May, 2002 1 commit
  22. 13 May, 2002 1 commit
  23. 26 Apr, 2002 1 commit
  24. 25 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/misc/modules_plugin.h: exported input_ClockManageRef for fenrir. · eb1ec4a4
      Sam Hocevar authored
        * ./include/video.h: moved vout_CopyPicture out of the way, an inline
          function did not make sense here.
        * ./include/video.h: moved vout_ChromaCmp out of the way.
        * ./plugins/avi/fourcc.h, ./include/video.h: merged these two files into
          video.h.
        * ./include/os_specific.h: this file is now always included.
        * ./include/debug.h: removed this file which was almost useless, and moved
          ASSERT to common.h.
        * ./include/common.h: fixed vlc_memalign and changed its prototype to
          follow posix_memalign's.
      eb1ec4a4
  25. 23 Apr, 2002 2 commits
  26. 17 Apr, 2002 1 commit
  27. 10 Apr, 2002 1 commit
    • Johan Bilien's avatar
      · 57240036
      Johan Bilien authored
      * fixed a bug in input_SetProgram, that made the ps file input
      launch without video. Sorry about this.
      57240036
  28. 08 Apr, 2002 1 commit
    • Johan Bilien's avatar
      · cb8ef93c
      Johan Bilien authored
      * made file access plugin use input_SetProgram so that we may change
        program when reading a file
      * fixed a bug in input_SetProgram
      * added --input_program <int> option, to choose the program from
        the command line
      cb8ef93c
  29. 28 Mar, 2002 1 commit
    • Johan Bilien's avatar
      · 6ce92ec7
      Johan Bilien authored
      * When unselecting an ES, we must ged rid of p_es->p_pes so that it is
        regererated when we select this ES again. It made vlc segfault when
        switching from some stream to another, or when switching program
        in satellite input.
      6ce92ec7
  30. 21 Mar, 2002 1 commit
  31. 19 Mar, 2002 1 commit
    • Johan Bilien's avatar
      · 8fd1965b
      Johan Bilien authored
      * fixed some bugs in program management : selected ESs must be attached
      to the selected program.
      8fd1965b
  32. 12 Mar, 2002 1 commit
    • Stéphane Borel's avatar
      · 2ce7beda
      Stéphane Borel authored
      *New configuration option to choose audio output format at runtime.
      It allows to select spdif pass-through decoder with --ac3_adec and to
      remove the ugly b_ac3 in main.h
      
      As a consequence --spdif doesn't work anymore: you should use --ac3_adec pass
      
      *Fixed a typo in main.c
      
      *Return the option name in error message for unknown option intead of the
      argument.
      2ce7beda
  33. 05 Mar, 2002 1 commit
    • Stéphane Borel's avatar
      · ba9c75bf
      Stéphane Borel authored
      * Dvd angle is now handled through a program structure, so that the interface
      needs nothing specific to change angle.
      
      * Fixed a bug in clock management where ES without a program couldn't get
      timestamped.
      
      *Fixed program management in gnome/gtk. Program now also appears in popup.
      
      *In interface, only display ES associated with the selected program, or with
      no program at all.
      ba9c75bf
  34. 03 Mar, 2002 1 commit
    • gbazin's avatar
      · ddc7a493
      gbazin authored
      
      * added network to the list of the plugins directories in Makefile
      * small bugfixes
      ddc7a493
  35. 19 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 730cc399
      Sam Hocevar authored
         * Got rid of TRACE and intf_DbgMsg which were seldom used anyway.
         * All intf_*Msg functions now write to stderr.
         * Implemented a message queue interface plugins can subscribe to.
         * Wrote the logger interface plugin. Usage:
            vlc -I logger:filename.log
         * Lots of fixes in the SPU renderer.
      730cc399
  36. 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
  37. 07 Dec, 2001 2 commits
    • Sam Hocevar's avatar
      · 1b8d106c
      Sam Hocevar authored
        * Fixed a total breakage of decoder plugins introduced by fast_memcpy.
        * Got rid of #include "main.h", included it in common.h instead ; got
          rid of #include "config.h" in most files as well.
      1b8d106c
    • Johan Bilien's avatar
      * added functions in inputs to change the current program (most of · 7917d2ef
      Johan Bilien authored
        them do nothing)
      
      All inputs should now have a pf_setprogram function. A default one is
      provided in input_programs.c.
      7917d2ef
  38. 05 Dec, 2001 1 commit
    • Johan Bilien's avatar
      * Added 2 fields, p_selected_program and p_new_program, to the · dbbc910f
      Johan Bilien authored
        input_thread_t structure, so that we may support multi programs
        streams.
      * Modified inputs to take account of this change.
      * Modified input_clock.c so that it doesn't refer to pp_programs[0]
        any more.
      
      Now we should not refer to the first program, but to the selected
      program. Functions to change the current program are coming.
      dbbc910f