1. 04 May, 2003 1 commit
    • Gildas Bazin's avatar
      · 30336bba
      Gildas Bazin 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
  2. 30 Mar, 2003 1 commit
    • Gildas Bazin's avatar
      · a1e81377
      Gildas Bazin authored
      * modules/*: sanitization of the modules description strings.
      a1e81377
  3. 24 Mar, 2003 1 commit
    • Gildas Bazin's avatar
      · 607b74b2
      Gildas Bazin authored
      * modules/access/*: pf_read() in access modules is now blocking. We still
         check regularly for p_input->b_die though. Now the demuxers can safely
         assume that pf_read() == 0 means EOF.
      * ALL: got rid of the p_input->b_connected flag.
      * src/input/input_ext-plugins.c, src/input/input.c: fixed the infinite loop
         of "decoder stuck" messages that sometimes happened.
      * src/interface/intf_eject.c, modules/misc/network/ipv4.c: fixed compilation
         warnings.
      607b74b2
  4. 11 Mar, 2003 1 commit
    • Gildas Bazin's avatar
      · 1171979d
      Gildas Bazin authored
      * ALL: experimental code for stream (dvd) navigation through object variables.
      1171979d
  5. 12 Feb, 2003 2 commits
  6. 31 Dec, 2002 1 commit
  7. 06 Dec, 2002 1 commit
  8. 13 Nov, 2002 1 commit
  9. 06 Nov, 2002 1 commit
  10. 26 Oct, 2002 1 commit
    • Gildas Bazin's avatar
      · 09cbae7e
      Gildas Bazin authored
      * ALL: p_selected_area->i_tell is now update inside input_SplitBuffer instead
         of inside the pf_read functions of access plugins. That means i_tell now
         actually reflects the position of what is being decoded and furthermore it
         is updated more often.
      09cbae7e
  11. 16 Oct, 2002 1 commit
  12. 15 Oct, 2002 1 commit
    • Gildas Bazin's avatar
      · 235dfe29
      Gildas Bazin authored
      * modules/access/vcd/*, configure.ac.in:
         - Major changes to allow reading vcd images directly from the hard drive
            (you need a .cue and .bin file).
         - Removed duplicated code by merging ioctl_GetTrackCount and ioctl_GetSectors.
         - Implemented necessary ioctls for Win9x/NT/2K/XP.
      235dfe29
  13. 04 Oct, 2002 1 commit
    • Sam Hocevar's avatar
      * ./configure.ac.in: removed now unnecessary --force-exe-suffix flag. · 89987e11
      Sam Hocevar authored
        * ./src/misc/objects.c: structure_lock is now local.
        * ./src/misc/threads.c: implemented named mutexes which provide a handy
          way to protect data across plugins which might be sharing the same
          resources. Thread-unsafe libraries come to mind, but we can imagine
          using a named mutex for configuration files, or special devices.
        * ./include/main.h: removed global_lock because of vlc_mutex_need, removed
          p_global_data because it was never used, removed structure_lock because
          it did not belong here.
      89987e11
  14. 29 Aug, 2002 1 commit
  15. 08 Aug, 2002 2 commits
  16. 07 Aug, 2002 1 commit
  17. 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
  18. 31 Jul, 2002 1 commit
  19. 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
  20. 22 May, 2002 1 commit
  21. 15 May, 2002 1 commit
  22. 19 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      · 4f6c862b
      Sam Hocevar authored
        * ALL: internationalized all configuration strings.
        * ./src/interface/main.c: we now set LC_CTYPE to get the right charset.
        * ./src/misc/configuration.c: lots of simplifications in the code.
        * ./po/vlc/pot: updated translations.
      4f6c862b
  23. 06 Mar, 2002 2 commits
    • Stéphane Borel's avatar
      79095d58
    • Stéphane Borel's avatar
      · 55ce4df1
      Stéphane Borel authored
      *Removed an occurance of former angle item in gtk.
      
      *Fixed a bug in ES management introduced lately in DVD/DvdRead.
      
      *Beginning of reorganisation in DVD plugin source files, in order to try to
      make it easier to understand. There is some work left though :p.
      
      *Decreased the score for VCD plugin, as the VCD demuxer was used even
      for DVD :p. It should make autodetection work.
      Some comment:
      -I think that VCDInit should make a test on the access plugin and be launched
      only if the access plugin is VCD,
      -VCDOpen shouldn't set p_input->b_error: if it fails we just try another
      module,
      -PSRead doesn't need to be duplicated anymore: input_ReadPS is now available
      for plugins (cf Christophe's commit).
      
      Please comment around that: I'd like to know if the behaviour I've described
      is the one everyone expects.
      
      Enjoy my new bugs :p
      55ce4df1
  24. 05 Mar, 2002 1 commit
    • Johan Bilien's avatar
      · 0a3aa895
      Johan Bilien authored
      * Modified vcd input for the new input III.
      * Still have problems with end of tracks.
      * Modified the command line, as stef did for the DVD :
      
       [vcd:][device][@[title][,chapter]
      
       Note that chapter support is not yet implemented.
      0a3aa895
  25. 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
  26. 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
  27. 09 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · 2be07191
      Sam Hocevar authored
        * COMPLETE CVS BREAKAGE !! The MAIN branch is going to be a playground
          for my nevrotic and destructive pulsions during the next few hours!
      
        * If you want to test vlc, please use the v0_2_92_branch branch.
      
        * Stuff currently working:
           - direct to YUV buffer decoding
           - non-ugly subtitle blending
           - XVideo and SDL video output
      
        * Stuff currently utterly broken:
           - aspect ratio
           - software rendering (ie, all other video output plugins)
      
        * Additional misc changes:
           - Renamed spu_dec to spudec and mad_adec to mad to stay coherent with
             other plugins. Also, renamed mpeg to mpeg_system.
           - Added jobi to the AUTHORS file.
           - Factored code common to vout_x11.c and vout_xvideo.c.
      2be07191
  28. 28 Nov, 2001 1 commit
  29. 23 Oct, 2001 1 commit
    • Johan Bilien's avatar
      Sorry, · 452aa3be
      Johan Bilien authored
      the VCD input arrives now :)
      
      I'd better go to bed !
      452aa3be
  30. 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
  31. 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
  32. 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
  33. 20 Feb, 2001 1 commit
    • Sam Hocevar's avatar
      · 583c6553
      Sam Hocevar authored
        * Ported Glide and MGA plugins to the new module API. MGA never worked,
          so this didn't make it work better.
        * Started thinking about built-in modules, and added some code to
          make it easier eventually.
        * Added Oct in the AUTHORS file.
        * Fixed a mistake in configure.in.
        * All your base are belong to us.
        * Fixed a bug in src/misc/modules which prevented loading modules
          when launched from the Tracker.
        * Fixed a similar bug in src/video_output/video_text.c.
        * BeOS CSS support, thanks to Markus Kuespert <ltlBeBoy@beosmail.com>
          who ported the Linux DVD ioctls. We can now read encrypted DVDs
          under BeOS ! Woohoo.
      583c6553
  34. 08 Feb, 2001 1 commit
    • 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
  35. 16 Jan, 2001 1 commit
    • Sam Hocevar's avatar
      . merged the YUV plugins in the same directory to avoid too much code · f56c4db1
      Sam Hocevar authored
         duplication
       . YUV transformations now use the new module API ; now only the vout
         and interface still depend on the old plugin API
       . changed TestMMX to TestCPU because we will be able to test for other
         specific extensions (3DNow, SSE) for the forthcoming IDCT we'll
         borrow to mpeg2dec (as usual :P)
       . don't show "hiding module" messages anymore except in debug mode
       . swapped C IDCT and Classic IDCT scores since the classic one seems
         to be faster ; anyway you should use the MMX one
       . fixed a Makefile bug under BeOS
       . tried to fix the cpuid code so that it compiles under BeOS (Polux, can
         you test it when you have time ?)
      f56c4db1
  36. 10 Jan, 2001 1 commit
    • Sam Hocevar's avatar
      · 9f553534
      Sam Hocevar authored
       . complete commenting of modules_core.h and small modifications
       . separated MODULE_CONFIG_START and ADD_WINDOW (Henri, beware)
       . fixed a very, very old bug that caused namespace collision between
         plugins (Henri, beware: call your aout_getplugin function like this,
         not alsa_aout_getplugin)
       . removed the Debian specific clean rules from the Makefile, since they
         are already handled by the debian/rules script.
       . tidied a few compilation rules (-lfoo should always be at the end)
      9f553534
  37. 07 Jan, 2001 1 commit
    • Sam Hocevar's avatar
      . all plugins now compile with -fPIC. · f8da8c95
      Sam Hocevar authored
       . made the audio_output API a bit simpler.
      
       . got rid of modules_config.h.
      
       . fixed `make install' rule.
      
       . fixed warnings in the MMX YUV compilation.
      
       . probably fixed a bug in the input : pp_foo structures were free()d at
         the end, but this was useless since the last call to realloc() is
         equivalent to free(), and two consecutive calls to free() aren't a
         goo idea.
      
       . we check that the version number match and that we don't already have
         a module by that name when loading a new module.
      
       . all public module_* functions now properly lock the module bank.
      
       . the audio_output now uses the new module API ; EsounD and DSP modules
         have been ported, which should be enough for Henri to port the ALSA one.
      
      
         The new plugin API is now much simpler ; it's now just a matter of
      calling module_Need( p_main->p_module_bank, MODULE_CAPABILITY_FOO, p_data );
      and if successful we get the best module. Capabilities can be ORed, so that
      one can ask for a plugin that does VOUT _and_ INTF actions for instance.
      
         It's not complete yet though -- by making it generic I had to do a few
      ugly casts here and there, which I am going to fix ASAP. Also, command line
      selection of a plugin does not work yet.
      
         The switch to the new plugin API has probably broken the BeOS audio
      output ; we can either wait until the whole vlc has switched to the new
      plugins, or create a separate beos_sound.so that conforms to the new API.
      f8da8c95