1. 30 Aug, 2002 1 commit
  2. 26 Aug, 2002 1 commit
    • Christophe Massiot's avatar
      * Miscellaneous S/PDIF fixes. · 15f3b0f6
      Christophe Massiot authored
      * New NextPTS() function, to replace CurrentPTS() (gives the PTS which will
        be valid for NEXT byte).
      * Fixed mono mode in the builtin mpeg audio decoder.
      * Various fixes related to PTS calculation in audio decoders.
      15f3b0f6
  3. 23 Aug, 2002 1 commit
  4. 21 Aug, 2002 1 commit
  5. 04 Aug, 2002 2 commits
  6. 31 Jul, 2002 1 commit
  7. 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
  8. 01 Jun, 2002 2 commits
    • Sam Hocevar's avatar
    • 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
  9. 27 May, 2002 1 commit
  10. 15 May, 2002 1 commit
  11. 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
  12. 23 Apr, 2002 2 commits
  13. 21 Apr, 2002 1 commit
  14. 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
  15. 05 Apr, 2002 1 commit
    • Gildas Bazin's avatar
      · cf5b3832
      Gildas Bazin authored
      * introduced a memalign wrapper that will align the memory manually if
        memalign doesn't exist.
      
        void *vlc_memalign( size_t align, size_t size, void **pp_orig )
        where the return value is the aligned pointer and *pp_orig is the pointer
        that has to be freed afterwards.
      
        the arithmetic I'm doing on the pointer to align it is not portable to
        64bits architectures. If someone knows how to something portable, please
        tell me ( and no I don't want to do if(sizeof(void *) == blabla) ).
      
        Other little problem, I was planning to use posix_memalign by default in
        the wrapper implementation but it doesn't work (someone can tell me what
        I'm doing wrong ?)
      
      * re-enabled the sse plugins on win32 as we don't have anymore alignment
        issues.
      
      * fixed typo in vout_directx.c
      cf5b3832
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 23 Jan, 2002 1 commit
  22. 22 Jan, 2002 1 commit
  23. 21 Jan, 2002 1 commit
  24. 14 Jan, 2002 1 commit
  25. 09 Jan, 2002 1 commit
  26. 31 Dec, 2001 1 commit
    • 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
  27. 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 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
    • 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
  28. 27 Dec, 2001 1 commit
  29. 16 Dec, 2001 1 commit
    • 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
  30. 10 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · 003c2ab3
      Sam Hocevar authored
        * Removed unused code (intf_channels.c, keystrokes.h).
        * Put common_win32.h back into common.h -- it wasn't that big and we
          should not multiply header files.
        * Added gettext support by Thomas Graf <reeler@reeler.org>, may be
          broken on other platforms but we'll only see it when I'm finished
          with vout 4 :-)
        * Fixed a segfault on exit when no fast_memcpy module was found.
      003c2ab3
  31. 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
  32. 03 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · 95a333bf
      Sam Hocevar authored
        * Borrowed MPlayer's fast memcpy() routines. Best is autodetected, choose
          "--memcpy <whatever>" to choose one from c, mmx, mmxext or 3dn.
          Please test! Especially Athlon users.
        * Added versioned build-dep to libasound2-dev (Closes Debian bug #121057).
        * Updated Gtk/GNOME interfaces to use "udpstream" instead of "ts".
        * Unrolled ChangeLog.
      95a333bf
  33. 28 Nov, 2001 1 commit
  34. 15 Nov, 2001 1 commit
    • Sam Hocevar's avatar
      · 4a0dae01
      Sam Hocevar authored
        * Fixed a few crashes due to race conditions in the decoder spawning.
        * Removed unused code here and there.
      4a0dae01
  35. 13 Nov, 2001 1 commit
    • Sam Hocevar's avatar
      · 50366aa6
      Sam Hocevar authored
        * Fixed heap corruption issues in ac3dec (thanks reno).
      50366aa6