1. 08 Nov, 2002 1 commit
    • Gildas Bazin's avatar
      · d532cf3c
      Gildas Bazin authored
      * ALL: using "%ll" in printf format strings is not portable (notably on win32) so
         we now use the I64Fx familly of macros to print 64 bits numbers (x being
         replaced by d,i,o,u,x or X).
         eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );
      
      * src/misc/messages.c: got rid of ConvertPrintfFormatString().
      d532cf3c
  2. 02 Nov, 2002 1 commit
    • Gildas Bazin's avatar
      · 5be7af3d
      Gildas Bazin authored
      * src/video_output/video_output.c: small change to avoid using floating point
         registers in the video ouptut routines.
      5be7af3d
  3. 17 Oct, 2002 2 commits
  4. 29 Aug, 2002 1 commit
  5. 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
  6. 08 Aug, 2002 1 commit
  7. 31 Jul, 2002 1 commit
  8. 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
  9. 02 Jul, 2002 1 commit
  10. 11 Jun, 2002 1 commit
    • Gildas Bazin's avatar
      · cecb7e86
      Gildas Bazin authored
      * ./include/configuration.h: renamed MODULE_CONFIG_* macros into
      CONFIG_*.
      * ./include/configuration.h, ./plugins/gtk/gtk_preferences.c,
      ./plugins/filter/transform.c, ./plugins/filter/distort.c,
      ./plugins/filter/deinterlace.c: added an ADD_STRING_FROM_LIST()
      configuration macro.
      * ./include/modules.h, ./include/video_output.h,
      ./src/video_output/video_output.c, ./plugins/filters/*: added a
      VOUT_FILTER capability. Having a clear distinction between VOUTs and
      VOUT_FILTERs allows us to get rid of ugly hacks. The filters are also
      stackable now (use --filter=foo:bar:foo etc..).
      * ./include/configuration.h, ./src/libvlc.h, ./src/libvlc.c: clean-up +
      added an ADD_USAGE_HINT() configuration macro.
      cecb7e86
  11. 05 Jun, 2002 1 commit
  12. 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
  13. 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
  14. 29 May, 2002 1 commit
  15. 28 May, 2002 1 commit
  16. 23 May, 2002 1 commit
  17. 19 May, 2002 1 commit
    • Christophe Massiot's avatar
      Mac OS X-specific : · fe95288a
      Christophe Massiot authored
      * We now use real-time threads ;
      * Worked around a bug when seeking ;
      All :
      * Removed my patch to the video output since it causes problems for some
        people.
      fe95288a
  18. 17 May, 2002 1 commit
  19. 06 May, 2002 1 commit
    • Gildas Bazin's avatar
      · 86614936
      Gildas Bazin authored
      * video plugins that don't handle rescaling themselves have to let the
        video_output thread know about resizing events (with VOUT_SIZE_CHANGE event).
        (this part needs some clean-up but it is basically working for the X11 and
         SDL plugins).
      
      * fixed fullscreen for the SDL plugin.
      
      * xmga and sdl now switch to fullscreen on double-click.
      86614936
  20. 05 May, 2002 1 commit
    • Gildas Bazin's avatar
      · 5c983d98
      Gildas Bazin authored
      * fixed the resizing and scaling of the X11 video output.
      * clicking on the video doesn't pause it anymore (use spacebar for this), but
        double-clicking will now switch between fullscreen and window mode.
      5c983d98
  21. 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
  22. 21 Apr, 2002 1 commit
    • Gildas Bazin's avatar
      · ce25f1e8
      Gildas Bazin authored
      * added config_GetFloatVariable() and config_PutFloatVariable() to the config
        module.
      * added a --zoom <float> config option.
      * added a call to RestoreCPUState() in InitIDCT() in idct_sparse.h so that the
        FPU is still available after a call to InitIDCT().
      * deactivate stream buffering when logging to a file.
      ce25f1e8
  23. 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
  24. 04 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      · b29f85e0
      Sam Hocevar authored
        * ./src/video_output/video_output.c: fixed a vout4 image starvation bug.
        * ./plugins/dvd/dvd.c: we look for libdvdcss.so.2 as well as -.so.1.
        * ./configure.in: BSD/OS fixes thanks to Steven M. Schultz.
        * ./Makefile: renamed the `snapshot' rule to `dist'.
        * ./Makefile: removed the `snapshot-nocss' rule which isn't needed anymore.
      b29f85e0
  25. 21 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · c6f900e1
      Gildas Bazin authored
      * the calculation for the initial video window dimensions is now done in
          video_output.c and made available into p_vout->i_window_height/width.
          This allows to get rid of duplicated code and unify the behaviour of
          the video output plugins. (not all the plugins have been modified
          because I didn't want to break anything).
      
          As a side effect, the --width and --height options are now working, you
          can even use only --width or only --height the other dimension will adapt
          automatically to the video characteristics.
          Note that you need to remove the width/height options from the config file
          or set them to -1 if you want to use the actual video size.
      c6f900e1
  26. 17 Mar, 2002 1 commit
    • Sam Hocevar's avatar
      · 4c8afc76
      Sam Hocevar authored
        * ./plugins/chroma/i420_rgb8.c: plain C 8 bpp transformation.
        * ./plugins/chroma/i420_rgb16.c: plain C 24/32 bpp transformations.
        * ./plugins/ggi/ggi.c: support for 8 bpp displays.
        * ./plugins/sdl/vout_sdl.c: support for 8 bpp displays.
        * ./plugins/x11/xcommon.c: support for 8 bpp displays.
        * ./src/video_output/video_output.c: fixed a segfault.
      4c8afc76
  27. 16 Mar, 2002 1 commit
    • Sam Hocevar's avatar
      · 2f4af9df
      Sam Hocevar authored
        * ./configure.in: more modules are plugins.
        * ./src/misc/configuration.c: changed ~/.VideoLan/vlc to ~/.videolan/vlcrc,
          and a few cosmetic changes (sorry Gildas for the butchery).
        * ./plugins/chroma/i420_rgb16.c: C version of the I420 to RV15/16 chroma.
      2f4af9df
  28. 15 Mar, 2002 1 commit
    • Sam Hocevar's avatar
      · 0d972bf5
      Sam Hocevar authored
        * ./Makefile: fixed OS X vlc.app compilation dependencies.
        * ./configure.in: fixed the endianness check under Solaris.
      
        * ./src/input/input.c: strings are now initialized to "" instead of NULL.
      
        * ./plugins/spudec/spu_decoder.c: we now properly support the subtitle
          palette information we get from the DVD. Subtitles rox !
        * ./src/video_output/vout_subpictures.c: removed all DVD-specific routines
          and put them into spu_decoder.c.
      0d972bf5
  29. 11 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · 7f583e05
      Gildas Bazin authored
      
      * New GTK configuration interface. This interface is generated dynamically
        at run-time from the configuration data contained in each plugin.
      * config_PutPszVariable and config_GetPszVariable are now thread safe.
      * Few modifications/optimizations to the config module.
      * Got rid of all the _VAR macros in config.h
      
      This is the first version of the GTK configuration interface. There are still
      a few raw corners and a fews things left to do, but it basically does what
      I wanted.
      Constructive comments like it sucks or it smells rotten fish are of course
      very welcome. And if there are GTK gurus out there, please don't hesitate to
      add your touch.
      
      I also started to add usefull comments to the configuration options but I'm not
      really good at this kind of thing so if people want to help, they can finish
      the job. For this look at all the *_LONGTEXT macros at the top of main.c
      
      (PS: Translations will also be appreciated but not right now as the interface
      will likely change again in the few coming days)
      7f583e05
  30. 03 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · ddc7a493
      Gildas Bazin authored
      
      * added network to the list of the plugins directories in Makefile
      * small bugfixes
      ddc7a493
  31. 01 Mar, 2002 1 commit
    • Christophe Massiot's avatar
      Input III (Episode 1). · d0bf23fa
      Christophe Massiot authored
      - Major rewrite of the buffer core functions
      - Modularity of access plugins (file, udp, http)
      - Modularity of network stack (ipv4, soon ipv6)
      - Autodetection of the type of stream
      
      And a new killing feature : HTTP streams are now seekable.
      
      Please note that dvd, dvdread and vcd plug-ins are broken and thus disabled.
      d0bf23fa
  32. 27 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · a701094d
      Sam Hocevar authored
        * ./plugins/dsp/aout_dsp.c: OpenBSD compilation fix.
        * ./src/video_output/video_output.c: fixed a segfault on exit.
      a701094d
  33. 24 Feb, 2002 1 commit
    • 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
  34. 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
  35. 18 Feb, 2002 1 commit
  36. 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
  37. 13 Jan, 2002 1 commit
    • Gildas Bazin's avatar
      · 0cbc9445
      Gildas Bazin authored
      * Fixed all the problems related to ToggleFullScreen().
      0cbc9445
  38. 12 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 00ac3ff5
      Sam Hocevar authored
        * ./plugins/chroma/i420_rgb16.c: 24/32 bpp software YUV.
        * ./plugins/ggi/ggi.c: activated double buffering.
        * ./src/video_output/vout_pictures.c: we create more Xv pictures to
          get smoother rendering.
      00ac3ff5