1. 05 Jan, 2003 1 commit
    • gbazin's avatar
      · 7c68013f
      gbazin authored
      * modules/audio_output/directx.c: use VLC_THREAD_PRIORITY_HIGHEST for
      the audio output thread. That should make Win9x/Me happier.
      7c68013f
  2. 26 Nov, 2002 1 commit
    • gbazin's avatar
      · 7244736d
      gbazin authored
      * modules/video_output/directx/directx.c, modules/audio_output/directx.c: removed
      unnecessary code.
      7244736d
  3. 15 Nov, 2002 1 commit
    • gbazin's avatar
      · da1b7383
      gbazin authored
      * configure.ac.in, modules/audio_output/directx.c, modules/audio_output/waveout.c:
         fixed the waveout and directx audio plugins after the recent changes to aout3.
      da1b7383
  4. 01 Nov, 2002 2 commits
    • gbazin's avatar
      · d5849883
      gbazin authored
      * modules/audio_output/directx.c: forgot an aout_BufferFree().
      d5849883
    • gbazin's avatar
      · 95efa086
      gbazin authored
      * src/audio_output/common.c, include/aout_internal.h: added a new function
         aout_FifoFirstDate() that allows the aout plugin to schedule the first
         play.
      * src/audio_output/output.c: fixed another problem affecting the audio quality.
      * modules/audio_output/directx.c: improvements. The buffering scheme has been
         changed to be less affected by temporary starving. We also schedule the first   sample to play.
      95efa086
  5. 28 Oct, 2002 1 commit
    • gbazin's avatar
      · f5991d12
      gbazin authored
      * configure.ac.in: libvorbis depends on libogg.
      * include/vlc_threads.h: changed the different threads priorities to optimize
         audio and video quality as well as responsiveness.
      * modules/audio_output/waveout.c modules/audio_output/directx.c: waveout and
         directx will now use the float32 format if available. Various tweaks for
         better performance.
      f5991d12
  6. 20 Oct, 2002 1 commit
  7. 11 Oct, 2002 1 commit
    • gbazin's avatar
      · cc5919ad
      gbazin authored
      * src/misc/modules.c: fixed a memory leak with the "plugin-path" config option.
      * modules/audio_output/directx.c, modules/audio_output/waveout.c: ported the directx
         and waveout audio plugins to the new changes in the audio output layer.
      * configure.ac.in: fixes for cygwin compilation, and the gtk plugin under mingw32.
      cc5919ad
  8. 06 Oct, 2002 1 commit
    • gbazin's avatar
      · eddf1236
      gbazin authored
      * configure.ac.in: vlc can now be built under cygwin with or without the
         unix emulation layer (without if you use CC="gcc -mno-cygwin").
      * INSTALL.win32: doc update for cygwin build.
      * modules/video_output/directx/events.c, modules/video_output/directx/directx.c,
         modules/audio_output/directx.c: compilation fixes for cygwin.
      eddf1236
  9. 05 Oct, 2002 1 commit
    • gbazin's avatar
      · 94b1b1ac
      gbazin authored
      * ALL: Splitted the directx plugin into an audio and video module.
      94b1b1ac
  10. 30 Sep, 2002 1 commit
  11. 18 Sep, 2002 1 commit
  12. 30 Aug, 2002 1 commit
    • Christophe Massiot's avatar
      aout3 API change : · 06996317
      Christophe Massiot authored
      pf_setformat disappears (it was never called independantly of Open). If
      the format needs to be changed, we will have Close/Open. This is much
      simpler than before. Please check that I didn't break some plug-ins.
      06996317
  13. 29 Aug, 2002 1 commit
  14. 25 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/audio_output/output.c: reverted my previous aout_OutputNextBuffer · 51e99753
      Sam Hocevar authored
          prototype change; it looks like we won't need it after all.
        * ./src/audio_output/output.c: if audio output is too slow, but we
          know there is no next packet, then we play it anyway. Rationale behind
          this is: better play a slightly wrongly dated packet than play silence,
          because it might be wrongly dated but there are chances it won't break
          audio continuity.
        * ./modules/audio_output/sdl.c: workaround for SDL's crap audio output
          system (callback gets called at random times, and no way to know the
          latency of the samples being played). Audio output is now rather good
          here, but please give feedback.
        * ./modules/audio_output/oss.c: we delay a bit before asking for a new
          buffer to avoid starvation.
      51e99753
  15. 24 Aug, 2002 1 commit
  16. 19 Aug, 2002 1 commit
  17. 14 Aug, 2002 1 commit
  18. 12 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/misc/objects.c: two big changes in the object API: now objects can · 6e8f9504
      Sam Hocevar authored
          only have one parent, because I don't want to deal with cycles, and each
          created object is indexed in a global array. This feature is unused yet,
          but it will speed up vlc_object_find(FIND_ANYWHERE).
        * ./debian/rules: activated the faad codec.
        * ./doc/fortunes.txt: new fortune cookies.
        * ./modules/codec/mpeg_video/headers.c: reduced the use of attach/detach.
        * ./modules/audio_output/oss.c: fixed two compilation warnings.
      6e8f9504
  19. 10 Aug, 2002 1 commit
    • gbazin's avatar
      · 5bbe0409
      gbazin authored
      * modules/video_output/directx/aout.c: adapted the directx audio plugin to aout3.
      * modules/audio_output/waveout.c: adapted the waveout audio plugin to aout3 and
      decreased its score so the directx plugin is selected by default.
      * configure.in: re-enabled the waveout plugin
      
      It's really amazing how much aout3 simplifies these plugins :)
      5bbe0409
  20. 04 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./modules/*: moved plugins to the new tree. Yet untested builds include · 19ea8feb
      Sam Hocevar authored
          waveout, directx, qnx, beos, win32, macosx, and the AltiVec modules.
        * ALL: removed mention of AC3 in favour of A52.
        * ./configure.in, ./Makefile*: modules can now be built deeper than 1
          directory. As a consequence, the build is even slower (but I'm fixing
          this) and make clean doesn't work anymore.
      19ea8feb
  21. 31 Jul, 2002 1 commit
  22. 20 Jul, 2002 1 commit
  23. 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
  24. 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
  25. 21 May, 2002 1 commit
    • gbazin's avatar
      · 9b3216c8
      gbazin authored
      * ./plugins/directx/aout_directx.c: fixed compile warnings.
      9b3216c8
  26. 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
    • 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
  27. 15 Feb, 2002 2 commits
    • gbazin's avatar
      · de32203b
      gbazin 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 28 Nov, 2001 1 commit
  33. 12 Nov, 2001 1 commit
  34. 05 Aug, 2001 2 commits
    • gbazin's avatar
      · e57dfae1
      gbazin authored
      * Minor bug fix to aout_directx.c
      e57dfae1
    • gbazin's avatar
      · 85c3dbc4
      gbazin 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
  35. 30 Jul, 2001 1 commit
    • gbazin's avatar
      · 712e7249
      gbazin 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