1. 02 Jun, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/video_output/video_output.c: fixed the "picture has invalid status" · 211d6bad
      Sam Hocevar authored
          bug which might have been the cause of crashes.
        * ./plugins/filter/crop.c: attempt at an automatic border cropping filter,
          using "--filter crop --autocrop".
        * ./vlc.spec: added missing filters to the RPM generation.
        * ./src/misc/objects.c: commented all functions.
        * ./src/misc/objects.c: implemented vlc_object_find( , , FIND_ANYWHERE).
        * ./src/misc/objects.c: renamed vlc_object_unlink to vlc_object_detach.
      211d6bad
  2. 01 Jun, 2002 2 commits
    • Sam Hocevar's avatar
      * ./plugins/dummy/intf_dummy.c, ./plugins/chroma/i420_yuy2.c, · 1dedf688
      Sam Hocevar authored
          src/interface/intf_eject.c, src/misc/threads.c: win32 compilation fix.
        * ./plugins/directx/aout_directx.c, plugins/directx/vout_directx.c,
          ./plugins/directx/vout_events.c: the DirectX notification and event threads
          now use the vlc_thread_create / vlc_thread_ready scheme. Untested.
        * ./configure.in: added a check for inttypes.h and sys/int_types.h.
        * ./configure.in: fixed the HTTP plugin compilation under BeOS.
        * ./plugins/network/ipv6.c: reactivated IPv6 module.
      1dedf688
    • 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
  3. 21 May, 2002 1 commit
    • Gildas Bazin's avatar
      · 9b3216c8
      Gildas Bazin authored
      * ./plugins/directx/aout_directx.c: fixed compile warnings.
      9b3216c8
  4. 24 Feb, 2002 2 commits
    • Sam Hocevar's avatar
      · d4243d59
      Sam Hocevar authored
        * Fixed a quite old bug in the audio output which made the sound stutter
          when wrapping around the audio output fifo.
        * Lots of simplifications in the audio output, got rid of b_stereo.
      d4243d59
    • Gildas Bazin's avatar
      · c40571df
      Gildas Bazin 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
  5. 15 Feb, 2002 2 commits
    • Gildas Bazin's avatar
      · de32203b
      Gildas Bazin authored
      * Win32 compilation fixes (mingw includes dirent)
      * configure now checks for ddraw.h and not directx.h
      * vout_directx doesn't include directx.h anymore (this file isn't part of
          the directx sdk)
      * moved all the stuff from aout_waveout.c directly into waveout.c (I don't
          know what I was thinking about when I created these two files ;-)
      * until we fix the audio buffer underrun problem, waveout will be the
          default audio output on win32 (instead of directx).
      de32203b
    • 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
  6. 28 Jan, 2002 1 commit
    • Stéphane Borel's avatar
      -Fixed ac3_spdif which has been broken recently, · 60754f11
      Stéphane Borel authored
      -Check frequency in ac3_adec and change fifo if needed,
      
      -Moved initialisation of p_aout from plugins to audio_output.c
      If audio output rate is psecified at launch time, we try to use it by default.
      
      Note that audio output currently suffers from frequent underruns.
      This has not been fixed here.
      60754f11
  7. 17 Jan, 2002 1 commit
    • Gildas Bazin's avatar
      · 4416b2cb
      Gildas Bazin 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
  8. 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
  9. 07 Dec, 2001 1 commit
    • 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
  10. 28 Nov, 2001 1 commit
  11. 12 Nov, 2001 1 commit
  12. 05 Aug, 2001 2 commits
    • Gildas Bazin's avatar
      · e57dfae1
      Gildas Bazin authored
      * Minor bug fix to aout_directx.c
      e57dfae1
    • Gildas Bazin's avatar
      · 85c3dbc4
      Gildas Bazin authored
      * Big rewrite of the DirectX audio plugin. The audio output is now (almost)
          perfect on Win32.
      * Fixed a bug in ac3dec_CreateThread() in ac3_decoder_thread.
      * On Win32, open() will now open files in binary mode by default.
      * A few minor changes to vout_xvideo.c
      85c3dbc4
  13. 30 Jul, 2001 2 commits
    • Gildas Bazin's avatar
      · 712e7249
      Gildas Bazin authored
      * Fixed a Win32 bug in libdvdcss. This bug was appearing on title change.
      * Modified input_dvd so you can now go directly to the selected chapter
        when you change the title.
      * Implemented the Probe function in the Xvideo plugin. Xvideo is now the
        default video output plugin when it is supported.
      712e7249
    • Sam Hocevar's avatar
      · 20823a81
      Sam Hocevar authored
        * VC++/Intel compiler fixes by Jon Lech Johansen <jon-vl@nanocrew.net>.
      20823a81
  14. 25 Jul, 2001 1 commit
    • Gildas Bazin's avatar
      · 5bcfa0fa
      Gildas Bazin authored
       * dvdcss_readv optimisations for Win32. We now send only one read command
         to the DVD drive for the whole iovec.
       * Fixed _win32_dvdcss_aread to work around the WinASPI32 64kb transfer
         size restriction.
       * New and theoretically better Win32 pthread implementation which fixes a
         problem I was having when changing title on a DVD (netlist related).
         vlc_cond_multicast may or may not work.
       * Fixed the "quit" event handling in directx/vout_events.c.
       * dvd_ifo.c now takes into account error messages from UDFFindFile.
       * Temporarily disabled aout_Probe() in aout_SDL (this function
         is creating an awful lot of problems - libSDL bug ).
      5bcfa0fa
  15. 12 Jul, 2001 1 commit
  16. 08 Jul, 2001 1 commit
    • Gildas Bazin's avatar
      · 5b49dba8
      Gildas Bazin authored
      Win32 changes only:
      
       - defined off_t as a long long. This allows DVD navigation to work.
         This change is to be implemented on a compiler by compiler basis. For
         now, it works on mingw32 (tested) and should work on MSVC (not tested).
      
       - Implemented a quick and dirty hack in intf_msg.c to be able to display
         long long integers with printf on Win32. This change is also necessary
         to avoid segfaults when debug is enabled in vlc on Win32.
      
       - few minor changes in the directx plugins.
      
       - defined snprintf in common.h and removed a few #ifdef WIN32
      5b49dba8
  17. 14 Jun, 2001 1 commit
    • Sam Hocevar's avatar
      · 4b921617
      Sam Hocevar authored
        * DirectX enhancements by Gildas Bazin, such as software rendering.
        * Merged dvdcss_init and dvdcss_open into dvdcss_open, and dvdcss_close
          and dvdcss_end into dvdcss_close. libdvdcss API now has 7 functions.
        * Another failed attempt at profiling vlc under Linux: ported the
          threads API to GNU Pth. Activate with --enable-pth. It doesn't seem to
          spawn new threads for me, maybe someone will have better luck.
        * Makefile optimizations.
        * Automatic build of libdvdcss if not found.
      4b921617
  18. 03 Jun, 2001 1 commit
    • Sam Hocevar's avatar
      · f42dc782
      Sam Hocevar authored
        * Various little fixes
         - BeOS interface compilation fix by Rene Gollent.
         - DirectX plugin compilation fix by Gildas Bazin.
         - removed %ebx spill in the iMDCT plugins.
      f42dc782
  19. 02 Jun, 2001 1 commit
    • Sam Hocevar's avatar
      · 945f2946
      Sam Hocevar authored
        * DirectX plugin by Gildas Bazin <gbazin@netcourrier.com>.
      
          Notes: o I called it 'directx' instead of 'windx' because it
                   made a lot more sense to me.
                 o Completely untested. I didn't manage to compile it yet.
                 o Code in vout_directx.c will go through a big rewrite when
                   vout 4 is finished. Xav is already working on this.
      945f2946