1. 24 Feb, 2002 1 commit
    • gbazin's avatar
      · c40571df
      gbazin authored
      This is the first part of the new configuration architecture for vlc.
      Two other parts will follow soon:
      - config file implementation
      - gtk configuration interface.
      
      This part won't change much for end-users as these changes are mostly
      internal, you will however notice that the command line interface has
      changed. It will maybe be less user-friendly as I almost removed the
      short options but it shouldn't a big problem when the config file is
      implemented.
      
      What as changed is that it is really easy now to add configuration
      options to vlc. Plugins can also implement configuration options. All
      you have to do is to declare a MODULE_CONFIG section in your plugin.
      If you want to know more about this look at configuration.h and for some
      example: main.c, dsp.c or xvideo.c
      
      It would be nice if every developper could now start using configuration
      options in there plugins and also enhance old plugins.
      
      That's it, now let's hope I didn't break too many things ;-)
      c40571df
  2. 20 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 8cc8d957
      Sam Hocevar authored
        * ./configure.in: removed a bashism.
        * ./plugins/x11/xcommon.c: support for systems without shm.h.
        * QNX compilation fixes here and there; the qnx plugin still doesn't work.
      8cc8d957
  3. 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
  4. 15 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 48cbd8f3
      Sam Hocevar authored
        * ALL: got rid of *_Probe functions because most of them were duplicates
          of the real _Init or _Create functions. That's 1000 lines of code gained.
        * ./src/misc/modules.c: we try not to keep the global lock in module_Need,
          which should speed up output spawning.
        * ./plugins/dummy/input_dummy.c: fixed vlc:quit command.
        * ./plugins/gtk/gtk_playlist.c: compilation fix.
        * ./plugins/macosx/*: preliminary fixes for the vout4 port.
      
         Notes on the *_Probe eradication:
        o I probably broke the DirectX video output, because of the "must init and
          run in the same thread" issue. I'll fix this ASAP.
        o Subtitles are broken (or at least, pretty ugly) in RGB mode.
        o The input plugins still have *_Probe functions. This will disappear when
          meuuh is finished with the access plugins.
        o The decoder plugins still have *_Probe functions. This is probably not
          going to change, it looks OK to me.
      48cbd8f3
  5. 14 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 46a1caf2
      Sam Hocevar authored
        * Grmbl. Forgot to commit those Win32 fixes last time, and they were
          stuck on VTHR. Sorry xav, this probably explains why I couldn't
          find the commit log :-)
      46a1caf2
  6. 13 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · e8bf7fa4
      Sam Hocevar authored
        * ./plugins/beos/*: BeOS fixes from Rudolf Cornelissen.
        * ./src/interface/main.c: --desync now really accepts a value in ms.
        * ./plugins/vcd/input_vcd.c: fixed a crash when not opening a VCD.
        * ./src/video_output/vout_subpictures.c: fixed subtitles under BeOS and
          other architectures which don't support overlay.
      e8bf7fa4
  7. 08 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 3f421de7
      Sam Hocevar authored
        * ./plugins/beos/vout_beos.cpp: ported the BeOS RGB video output to
          vout4. The overlay video output still needs to be written though.
      3f421de7
  8. 06 Feb, 2002 1 commit
  9. 05 Feb, 2002 1 commit
    • gbazin's avatar
      · 5e7b466d
      gbazin authored
      * New AC3 decoder plugin using liba52 from Aaron Holtzman and
          Michel Lespinasse.
          This plugin isn't used by default, you have to specify:
          --ac3_adec liba52
      5e7b466d
  10. 29 Jan, 2002 1 commit
    • gbazin's avatar
      · ee87a691
      gbazin authored
      * Added mstrtime() to module_symbols_t so we can compile the mpeg_vdec
          plugin with TRACE mode enabled.
      ee87a691
  11. 24 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 4c681149
      Sam Hocevar authored
        * ./src/misc/modules_plugin.h: fixed a missing function initialization
          which made decoder plugins segfault in GetChunk calls.
        * ./configure.in: proper soundcard.h check from Yves Duret.
      4c681149
  12. 23 Jan, 2002 1 commit
  13. 21 Jan, 2002 2 commits
    • Christophe Massiot's avatar
      * Decoders do not necessarily use bit stream (see mad plug-in) · d970994c
      Christophe Massiot authored
      * mad PTS should finally be accurate
      * Some configure changes.
      d970994c
    • Sam Hocevar's avatar
      · ddec0b93
      Sam Hocevar authored
        * ./plugins/win32: skeleton for the win32 interface Ipkiss is developing.
        * ./config.guess ./config.sub: latest GNU versions.
        * ./configure.in: when possible, xvideo is compiled as a plugin.
        * ./vlc.spec: fixed a few minor inaccuracies.
        * ./debian/control: vlc-gui is no longer depended on, but rather recommended.
        * ./src/interface/main.c: --spumargin flag; use this to force displaying
          subtitles at the bottom of the screen instead of putting them in the
          middle, for instance: `--spumargin 5'.
      ddec0b93
  14. 17 Jan, 2002 1 commit
    • gbazin's avatar
      · 4416b2cb
      gbazin authored
      * major rewrite of the directx video plugin to adapt it to the new vout4
          architecture. This plugin has also been through a major clean-up
          and it is now much more robust and optimized.
      
      * Fixed a few problems with the win32 build.
      
      * Replaced the "overlay" command line option with "nooverlay". The
          former was confusing and useless because overlays were used by
          default anyway.
      4416b2cb
  15. 15 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 791fb4e0
      Sam Hocevar authored
        * ./debian/control: fixed Debian build-depends.
        * ./include/config.h: changed RELEASE to HAVE_RELEASE because RELEASE
          is already defined in <scsi/scsi.h> under Linux.
      791fb4e0
  16. 14 Jan, 2002 2 commits
    • Christophe Massiot's avatar
      * More precise way to retrieve a PTS from the bit stream. · 7de4e1a3
      Christophe Massiot authored
      * Fixed issues in the PTS handling of the mad plug-in (incomplete).
      7de4e1a3
    • Cyril Deguet's avatar
      · d33deda2
      Cyril Deguet authored
      HUGE cleanings in audio output:
      - removed AOUT_INTF_*_FIFO, which where not used
      - factorized S16StereoPlay, U8MonoPlay, and so on.., in a single
        function aout_FillBuffer (in aout_common.c)
        (unsigned 8bit may be broken, but I have no stream to test with :(
      
      - last step to be done: factorize aout_s8, aout_s16, ... thanks to a macro
      d33deda2
  17. 13 Jan, 2002 1 commit
    • gbazin's avatar
      · f84729fc
      gbazin authored
      * A few fixes for the Win32 build.
      f84729fc
  18. 09 Jan, 2002 2 commits
    • Sam Hocevar's avatar
      · c7b1c474
      Sam Hocevar authored
        * ./include/modules_inner.h: replaced _X with __VLC_SYMBOL because _X was
          already a system macro under MacOS X.
        * ./plugins/dummy/dummy.c: fixed vlc:loop, vlc:quit, etc. entries.
        * ./plugins/glide/glide.c: activated double buffering.
        * ./plugins/mga/xmga.c: started writing an xmga plugin; doesn't work yet.
        * ./src/input/input.c: fixed the input memory leak, and the insane thread
          spawning we got with vlc:loop.
        * ./src/misc/intf_eject.c: disc ejection routine courtesy of Julien Blache,
          currently Linux-only.
      c7b1c474
    • Cyril Deguet's avatar
      - better communication between audio decoder and output: aout plugins · 1ae5bed4
      Cyril Deguet authored
      are now opened directly in the right mode (works with mpeg_adec and
      ac3_adec, not tested with mad)
      - first attempt to implement mono output (doesn't work yet)
      1ae5bed4
  19. 07 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 1e053ea0
      Sam Hocevar authored
        * ./plugins/mga/mga.c: removed the mgammx module and put the code in
          the chroma_i420_ymga module instead. This introduces a slight
          performance issue as we now need to memcpy() the Y plane, but I have
          some vout4 enhancements on their way which make this point moot.
        * ./debian/changelog: imported official Debian changelog.
        * ./debian/control: activated the vlc-mad and vlc-arts packages; package
          builds should now work again.
        * ./plugins/dvd/dvd.c: solved a symbol resolution issue when vlc was
          compiled without libdvdcss which overflowed the return stack.
        * ./plugins/ggi/ggi.c: ported the GGI plugin to vout4.
        * ./plugins/glide/glide.c: ported the Glide plugin to vout4 (untested).
        * ./src/input/input.c: prepared everything for multi-input mode; since
          no interface is yet prepared to handle this, I changed them so that
          they just use the first available input for now. This may break other
          things, but I promise I'll eventually repair everything :-)
      1e053ea0
  20. 05 Jan, 2002 2 commits
    • Sam Hocevar's avatar
      · 176465d2
      Sam Hocevar authored
        * ./configure.in: fix for obscure architectures like hppa where target_os
          isn't properly detected.
        * ./include/video_output.h: got rid of pf_setpalette; I'll find a nicer way.
        * ./plugins/mga.c: fixed MGA module compilation. Doesn't work yet, though.
      176465d2
    • Sam Hocevar's avatar
      · aea6698d
      Sam Hocevar authored
        * ./include/common.h: hton64 is now an inline function.
        * ./src/video_output/vout_pictures.c et al.: vout4 now automatically
          detects when two chroma formats are the same, such as UYVY/Y422, or
          roughly equivalent, such as I420/YV12. Plugins need not worry about
          conversion anymore.
      aea6698d
  21. 04 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 53b978f8
      Sam Hocevar authored
        * ./BUGS: added a list of known bugs. Please add your findings!
        * ./MODULES: added a short description of each module. Maybe we should
          add more details to make this file really useful.
        * ./doc/bugreport-howto.txt: wishful thinking...
        * ./Makefile: added a workaround for the fact that .c files don't depend
          on <videolan/vlc.h>.
        * ./plugins/memcpy/memcpy.c: all memcpy modules are now built from the same
          single file.
        * ./src/interface/main.c: added the --nommx, --no3dnow, --nommxext, --nosse
          and --noaltivec options to vlc.
        * ./configure.in: removed the --disable-mmx option, now useless because
          of the vlc --no* options.
        * ./src/interface/main.c: fixed a crash caused by the memcpy module
          being released too early.
        * ./include/video.h: more vout4 changes, including margin support, more
          FOURCC formats recognized, transparent support of identical or almost
          identical FOURCC formats.
        * ./include/video_output.h: added a vout_Render function to video output
          modules which is to be executed before vout_Display.
        * ./include/common.h: this header is back.
        * ./plugins/chroma/i420_rgb.c: planar YUV 4:2:0 to packed RGB conversion
          functions, mostly taken from vout3's yuv functions, but heavily modified
          to use FAST_MEMCPY and to handle image dimensions which are not multiples
          of 16. Not all functions have been written yet, though.
        * ./plugins/chroma/i420_yuy2.c: planar YUV 4:2:0 to packed YUV conversion
          functions, various targets such as 4:2:2 YUYV, YVYU, UYVY, or 2:1:1 YUYV,
          with accelerated MMX versions.
        * ./plugins/chroma/i422_yuy2.c: same as i420_yuy2.c but takes planar YUV
          4:2:2 pictures in input. With accelerated MMX versions as well. This plugin
          makes it possible to display 4:2:2 files on most video cards without the
          quality loss of 4:2:0 downsampling.
        * ./plugins/filter/*: thanks to the vout_Render function, all filters now
          output their data perfectly in sync.
        * ./plugins/dvdread/Makefile: fix to prevent unnecessary target rebuilds.
        * ./plugins/sdl/vout_sdl.c: support for YV12, UYVY, YUY2 and YVYU overlays.
        * ./plugins/x11/xcommon.c: support for I420, YV12, YUY2 and Y211 overlays.
      53b978f8
  22. 02 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · bf7ee74f
      Sam Hocevar authored
        * ./ChangeLog: imported the 0.2.92 changes, unrolled current CVS changes.
        * ./include/config.h et al.: this file is no longer generated.
        * ./include/video.h: we use the FOURCC definition of a chroma format to
          describe picture types (see http://www.webartz.com/fourcc/).
        * ./plugins/dvdread/input_dvdread.c: compilation fix by Eyal Lebedinsky.
        * ./plugins/x11/xcommon.c: fixed the XShm operations order.
      bf7ee74f
  23. 31 Dec, 2001 2 commits
    • Sam Hocevar's avatar
      · deabb8f6
      Sam Hocevar authored
        * Fixed detection of the esd plugin.
        * Fixed the ts plugin's input type detection.
        * Fixed the BadCursor error in the x11 and xvideo plugins. For real this
          time (unlike my 2001/08/03 fix :p).
        * Made the wall filter work a bit better. It now spawns a 3x2 mosaic,
          but this will eventually be configurable, � la `--filter wall:3x3'.
      deabb8f6
    • Christophe Massiot's avatar
      Miscellaneous typos. · 93e8fcf8
      Christophe Massiot authored
      93e8fcf8
  24. 30 Dec, 2001 2 commits
    • 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 handlin...
      cc0f0bb6
    • Sam Hocevar's avatar
      · fafbe100
      Sam Hocevar authored
        * Put ErrorThread() in input_ext-dec.h because it was the same function
          in all decoders. Called it DecoderError() instead.
        * All decoders enter DecoderError() in case of error, even if they
          haven't allocated all their data. This prevents the input from getting
          stuck if a decoder has failed its initialization.
        * Namespace fixes through the decoder files.
      fafbe100
  25. 29 Dec, 2001 1 commit
  26. 27 Dec, 2001 2 commits
  27. 19 Dec, 2001 2 commits
    • Christophe Massiot's avatar
    • Sam Hocevar's avatar
      · 2d90188b
      Sam Hocevar authored
        * Initialize SDL before opening the SDL audio output.
        * Prevent two SDL video outputs or audio outputs to be spawned at the
          same time to avoid ugly crashes.
        * The SDL plugin now says whether we are using software or hardware YUV
          in its window title.
        * We now stop at the first ':' when looking for a module name, to easily
          pass information to the modules. Possible example: --vout sdl:software,
          implementation of such an option is left as an exercise.
        * Merged filter_bob and filter_bob422 into filter_bob. Use --filter bob
          to deinterlace 422 into 420 as well.
        * Factorized code common to most filters and the video output, optimized
          a few filters by aligning data and reading 64 bits at a time.
        * Two new absolutely useless, CPU-eating, resource-wasting, but fun
          filters: enjoy `transform', which performs flips and 90� rotations, and
          `distort', which performs animated image effects (currently only a naive
          sine wave is implemented). Usage examples:
             --filter transform:hflip
             --filter transform:vflip
             --filter transform:90
             --filter transform:180
             --filter transform:270
             --filter distort:wave
      2d90188b
  28. 16 Dec, 2001 2 commits
    • Sam Hocevar's avatar
      libdvdcss changes: · 22899aa9
      Sam Hocevar authored
        * Support for REPORT_TITLE_KEY and RPC commands by H�kan Hjort
          <d95hjort@dtek.chalmers.se>.
      
      vlc changes:
        * Minor coding style fixes (please avoid tabs).
      22899aa9
    • Sam Hocevar's avatar
      · 14047fa1
      Sam Hocevar authored
        * Filter plugins. Not very polished (please don't look at how the dates are
          calculated!), but worth a try. Use the following flags:
           "--filter invert" for inverse video
           "--filter bob" for BOB deinterlacing
        * Fixed a potential segfault if the subtitle stream was encountered
          before the video stream.
        * Misc vout4 fixes.
      14047fa1
  29. 13 Dec, 2001 2 commits
    • Sam Hocevar's avatar
      · 97cba428
      Sam Hocevar authored
        * Buffer choice optimizations - vout4 should eat even less CPU now.
        * Minor warning fix for Hurd.
      97cba428
    • Sam Hocevar's avatar
      · d8e44fce
      Sam Hocevar authored
        * Fixed aspect ratio handling.
        * Fixed potential compilation issues under eg. BSD/OS.
      d8e44fce
  30. 12 Dec, 2001 1 commit