Commit Graph

238 Commits

Author SHA1 Message Date
Sam Hocevar a701094db5 * ./plugins/dsp/aout_dsp.c: OpenBSD compilation fix.
* ./src/video_output/video_output.c: fixed a segfault on exit.
2002-02-27 18:19:21 +00:00
Sam Hocevar 7f76c7c5ba * ./src/input/input.c: BeOS network support (no idea if it works when you
don't have BONE, though).
2002-02-27 04:49:55 +00:00
Sam Hocevar 2935b3208e * ./include/threads.h: support for the State Threads Library, a userland
threads library (http://state-threads.sourceforge.net/). Useless to most
    people, but can be handy to debug stuff. Activate with `--enable-st'.
2002-02-25 23:59:07 +00:00
Sam Hocevar 1c467b80a5 * ./plugins/gtk/gtk_menu.c: fixed a compile issue on IA64.
* ./plugins/fx/scope.c: new toy plugin, an audio scope module.

    Each time I fix a bug in vlc I feel urge to code something useless. This
    one is very, very rough for the moment, probably buggy, slow, will crash
    your blender and reboot your fridge. Screenshot can be found here:
      http://www.zoy.org/~sam/vlc/vlc-scope.jpeg
    Activate with `--aout scope' (yes, it currently disables the real
    audio output... I'll fix this as well).
2002-02-25 04:30:03 +00:00
Gildas Bazin 1aca1d70c1 * Don't try to grok altivec with mingw32.
* --with-directx-path should now indicate the path where the actual
headers are (before the headers had to be in an include subdir). By the
way you can download these header files from the videolan web site.
2002-02-22 20:46:58 +00:00
Sam Hocevar cba6a24eca * ./configure.in: gtk*-config detection fix for FreeBSD. 2002-02-21 00:54:00 +00:00
Sam Hocevar 8cc8d9579d * ./configure.in: removed a bashism.
* ./plugins/x11/xcommon.c: support for systems without shm.h.
  * QNX compilation fixes here and there; the qnx plugin still doesn't work.
2002-02-20 23:23:53 +00:00
Jon Lech Johansen 9400b572ec * MacOS X VCD support. 2002-02-20 05:50:00 +00:00
Sam Hocevar 730cc399c5 * 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.
2002-02-19 00:50:20 +00:00
Gildas Bazin de32203be8 * 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).
2002-02-15 20:02:21 +00:00
Sam Hocevar 3f421de703 * ./plugins/beos/vout_beos.cpp: ported the BeOS RGB video output to
vout4. The overlay video output still needs to be written though.
2002-02-08 15:57:29 +00:00
Gildas Bazin 622b440047 * Just renamed the liba52_adec plugin into a52 to comply with the naming
convention used by the other plugins.
2002-02-06 20:44:23 +00:00
Sam Hocevar f5c0a050bd * ./plugins/lirc/lirc.c: IR remote control plugin by Sigmund Augdal
<sigmunau@stud.ntnu.no>, activate with --enable-lirc.
  * ./configure.in: put liba52_adec in a builtin for PIC/non-PIC reasons.
2002-02-06 02:37:18 +00:00
Gildas Bazin 5e7b466d87 * New AC3 decoder plugin using liba52 from Aaron Holtzman and
Michel Lespinasse.
    This plugin isn't used by default, you have to specify:
    --ac3_adec liba52
2002-02-05 21:46:41 +00:00
Sam Hocevar ed4fe96493 * ./plugins/x11/xcommon.c: we don't use DPMS functions if they are
not available.
2002-01-25 17:18:37 +00:00
Gildas Bazin 595d768452 * Added a new very simple audio plugin for Win32. This plugin uses the
waveOut API which is a lot easier to use for streaming stuff than
    directsound. (you don't have to take care of underflows anymore
    because it doesn't use circular buffers).
    If you are having a lot of underflows, this plugin is currently
    better adapted than the directx plugin.

* Moved some initialization stuff in audio_out.c so we can now the
    caracteristics of the audio stream before calling aout_Open().
2002-01-25 06:43:34 +00:00
Stéphane Borel 8c0d4cd70f Configure and Makefile tweaking for dvdread module.
It is now activated with option --with-dvdread, that takes the same options
as --with-dvdcss.
If you link with libdvdread statically dvdread is compiled builtin ; if you
link dynamically, it is compiled as a plugin.
2002-01-24 18:50:32 +00:00
Sam Hocevar 4c6811495b * ./src/misc/modules_plugin.h: fixed a missing function initialization
which made decoder plugins segfault in GetChunk calls.
  * ./configure.in: proper soundcard.h check from Yves Duret.
2002-01-24 13:32:53 +00:00
Stéphane Borel b08376be72 *Merged hh patch in libdvdcss from main tree.
*Updated local libdvdread, so that it does not depend on libdvdcss
(ala dummy_dvdcss) and modified configure to reflect changes.
2002-01-23 03:15:31 +00:00
Christophe Massiot d970994cc0 * Decoders do not necessarily use bit stream (see mad plug-in)
* mad PTS should finally be accurate
* Some configure changes.
2002-01-21 23:57:46 +00:00
Sam Hocevar 641382a2dc * ./configure.in: added extra checks for strange compilers such as
Borland C++ which do not support all gcc options. Note that vlc does
    not compile with bcc32 yet, but is getting closer and closer to.
2002-01-21 05:14:10 +00:00
Sam Hocevar ddec0b930e * ./plugins/win32: skeleton for the win32 interface Ipkiss is developing.
* ./config.guess ./config.sub: latest GNU versions.
  * ./configure.in: when possible, xvideo is compiled as a plugin.
  * ./vlc.spec: fixed a few minor inaccuracies.
  * ./debian/control: vlc-gui is no longer depended on, but rather recommended.
  * ./src/interface/main.c: --spumargin flag; use this to force displaying
    subtitles at the bottom of the screen instead of putting them in the
    middle, for instance: `--spumargin 5'.
2002-01-21 00:52:07 +00:00
Gildas Bazin f84729fcb9 * A few fixes for the Win32 build. 2002-01-13 18:13:07 +00:00
Sam Hocevar c7b1c474c6 * ./include/modules_inner.h: replaced _X with __VLC_SYMBOL because _X was
already a system macro under MacOS X.
  * ./plugins/dummy/dummy.c: fixed vlc:loop, vlc:quit, etc. entries.
  * ./plugins/glide/glide.c: activated double buffering.
  * ./plugins/mga/xmga.c: started writing an xmga plugin; doesn't work yet.
  * ./src/input/input.c: fixed the input memory leak, and the insane thread
    spawning we got with vlc:loop.
  * ./src/misc/intf_eject.c: disc ejection routine courtesy of Julien Blache,
    currently Linux-only.
2002-01-09 02:01:14 +00:00
Sam Hocevar 1e053ea0ed * ./plugins/mga/mga.c: removed the mgammx module and put the code in
the chroma_i420_ymga module instead. This introduces a slight
    performance issue as we now need to memcpy() the Y plane, but I have
    some vout4 enhancements on their way which make this point moot.
  * ./debian/changelog: imported official Debian changelog.
  * ./debian/control: activated the vlc-mad and vlc-arts packages; package
    builds should now work again.
  * ./plugins/dvd/dvd.c: solved a symbol resolution issue when vlc was
    compiled without libdvdcss which overflowed the return stack.
  * ./plugins/ggi/ggi.c: ported the GGI plugin to vout4.
  * ./plugins/glide/glide.c: ported the Glide plugin to vout4 (untested).
  * ./src/input/input.c: prepared everything for multi-input mode; since
    no interface is yet prepared to handle this, I changed them so that
    they just use the first available input for now. This may break other
    things, but I promise I'll eventually repair everything :-)
2002-01-07 02:12:30 +00:00
Sam Hocevar 0d65984a11 * ./plugins/mga/mga.c: MMX-accelerated version of the MGA plugin.
* ./plugins/mpeg_vdec/Makefile: Little workaround for PA-Risc compilation.
2002-01-06 17:18:12 +00:00
Sam Hocevar ea8c73a766 * ./src/audio_output/aout_s16.c: fixed a segfault. It may have unexpected
side effects because I don't know this part of the code, but at least
    it doesn't crash anymore.
  * ./plugins/beos/beos.cpp: first attempt at porting the BeOS plugin to the
    new video output and module systems. Doesn't work nor even compile yet.
  * ./configure.in: we now check the gtk-config version.
2002-01-05 18:25:48 +00:00
Sam Hocevar 176465d277 * ./configure.in: fix for obscure architectures like hppa where target_os
isn't properly detected.
  * ./include/video_output.h: got rid of pf_setpalette; I'll find a nicer way.
  * ./plugins/mga.c: fixed MGA module compilation. Doesn't work yet, though.
2002-01-05 03:49:18 +00:00
Sam Hocevar 53b978f865 * ./BUGS: added a list of known bugs. Please add your findings!
* ./MODULES: added a short description of each module. Maybe we should
    add more details to make this file really useful.
  * ./doc/bugreport-howto.txt: wishful thinking...
  * ./Makefile: added a workaround for the fact that .c files don't depend
    on <videolan/vlc.h>.
  * ./plugins/memcpy/memcpy.c: all memcpy modules are now built from the same
    single file.
  * ./src/interface/main.c: added the --nommx, --no3dnow, --nommxext, --nosse
    and --noaltivec options to vlc.
  * ./configure.in: removed the --disable-mmx option, now useless because
    of the vlc --no* options.
  * ./src/interface/main.c: fixed a crash caused by the memcpy module
    being released too early.
  * ./include/video.h: more vout4 changes, including margin support, more
    FOURCC formats recognized, transparent support of identical or almost
    identical FOURCC formats.
  * ./include/video_output.h: added a vout_Render function to video output
    modules which is to be executed before vout_Display.
  * ./include/common.h: this header is back.
  * ./plugins/chroma/i420_rgb.c: planar YUV 4:2:0 to packed RGB conversion
    functions, mostly taken from vout3's yuv functions, but heavily modified
    to use FAST_MEMCPY and to handle image dimensions which are not multiples
    of 16. Not all functions have been written yet, though.
  * ./plugins/chroma/i420_yuy2.c: planar YUV 4:2:0 to packed YUV conversion
    functions, various targets such as 4:2:2 YUYV, YVYU, UYVY, or 2:1:1 YUYV,
    with accelerated MMX versions.
  * ./plugins/chroma/i422_yuy2.c: same as i420_yuy2.c but takes planar YUV
    4:2:2 pictures in input. With accelerated MMX versions as well. This plugin
    makes it possible to display 4:2:2 files on most video cards without the
    quality loss of 4:2:0 downsampling.
  * ./plugins/filter/*: thanks to the vout_Render function, all filters now
    output their data perfectly in sync.
  * ./plugins/dvdread/Makefile: fix to prevent unnecessary target rebuilds.
  * ./plugins/sdl/vout_sdl.c: support for YV12, UYVY, YUY2 and YVYU overlays.
  * ./plugins/x11/xcommon.c: support for I420, YV12, YUY2 and Y211 overlays.
2002-01-04 14:01:35 +00:00
Sam Hocevar bf7ee74f8f * ./ChangeLog: imported the 0.2.92 changes, unrolled current CVS changes.
* ./include/config.h et al.: this file is no longer generated.
  * ./include/video.h: we use the FOURCC definition of a chroma format to
    describe picture types (see http://www.webartz.com/fourcc/).
  * ./plugins/dvdread/input_dvdread.c: compilation fix by Eyal Lebedinsky.
  * ./plugins/x11/xcommon.c: fixed the XShm operations order.
2002-01-02 14:37:42 +00:00
Sam Hocevar cc0f0bb6fd 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.
2001-12-30 07:09:56 +00:00
Sam Hocevar e48d619555 * Added Jeffrey Baker to the AUTHORS file.
* Fixed a PPC compilation issue.
2001-12-20 22:11:53 +00:00
Sam Hocevar 2d90188b73 * Initialize SDL before opening the SDL audio output.
* Prevent two SDL video outputs or audio outputs to be spawned at the
    same time to avoid ugly crashes.
  * The SDL plugin now says whether we are using software or hardware YUV
    in its window title.
  * We now stop at the first ':' when looking for a module name, to easily
    pass information to the modules. Possible example: --vout sdl:software,
    implementation of such an option is left as an exercise.
  * Merged filter_bob and filter_bob422 into filter_bob. Use --filter bob
    to deinterlace 422 into 420 as well.
  * Factorized code common to most filters and the video output, optimized
    a few filters by aligning data and reading 64 bits at a time.
  * Two new absolutely useless, CPU-eating, resource-wasting, but fun
    filters: enjoy `transform', which performs flips and 90� rotations, and
    `distort', which performs animated image effects (currently only a naive
    sine wave is implemented). Usage examples:
       --filter transform:hflip
       --filter transform:vflip
       --filter transform:90
       --filter transform:180
       --filter transform:270
       --filter distort:wave
2001-12-19 03:50:22 +00:00
Sam Hocevar 8acfd9b406 * Ultimate fixes to the win32 package generation. 2001-12-18 03:07:21 +00:00
Sam Hocevar d4a83aef09 * Pathetic attempt at a 4:2:2 renderer and deinterlacer, combining the
most awful line dropping techniques of both BOB and 422 to 420
    downscaling. Don't worry, it should only survive for a couple of days.
2001-12-17 05:33:56 +00:00
Sam Hocevar c1ba1b4951 * CPU detection under BeOS.
* Fixed XVideo port selection.
  * New stupid plugin: "--filter wall" for split-image playback :-)
     (will evolve into a real image wall plugin when I have time)
2001-12-17 03:38:22 +00:00
Sam Hocevar 14047fa106 * 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.
2001-12-16 16:18:36 +00:00
Sam Hocevar d8e44fce75 * Fixed aspect ratio handling.
* Fixed potential compilation issues under eg. BSD/OS.
2001-12-13 12:47:17 +00:00
Sam Hocevar 279f805ab1 * Additional fixes for OSes with no gettext (thanks to ej0).
* Fixed a potential BeOS linking issue.
  * Fixed a minor bug in input.c.
2001-12-12 02:13:50 +00:00
Sam Hocevar abd8a37641 * Don't try to use gettext if we don't have GNU gettext. This may change
in the future though (most GNU software seems to include a local copy of
    gettext in case the operating system doesn't provide it).
2001-12-11 23:53:20 +00:00
Sam Hocevar db648a570b * Fixed an issue in Makefile.dep causing to rebuild unnecessary files
in the gtk/gnome and x11/xvideo plugins.
  * Fixed CFLAGS_XVIDEO.
2001-12-11 15:31:37 +00:00
Sam Hocevar 56afe807c2 * Added vlc-arts to the debian package generation.
* HP-UX port of the DVD ioctls courtesy of David Sieb�rger.
2001-12-11 14:43:38 +00:00
Gildas Bazin 4d2a1b463b * configure.in was broken for win32 2001-12-10 18:58:13 +00:00
Sam Hocevar a7592866a0 * (very old) russian translation courtesy of Valek Filippov <frob@df.ru>.
* Fixed a charset issue in the french translation.
2001-12-10 13:17:35 +00:00
Sam Hocevar 45281e620d * Removed more unused code.
* Updated config.guess and config.sub from GNU's latest versions (bozo,
    you may want to update them in vls as well).
  * Added vlc.pot skeleton for translators.
2001-12-10 12:40:24 +00:00
Sam Hocevar 003c2ab300 * 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.
2001-12-10 04:53:11 +00:00
Sam Hocevar 2be071915d * 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.
2001-12-09 17:01:37 +00:00
Christophe Massiot e6912f0ca3 Bumped up revision number to 0.2.92-dev and 1.0.1-dev. 2001-12-07 19:22:46 +00:00
Christophe Massiot 6982da2115 Fix for altivec under Linux. 2001-12-06 13:53:52 +00:00
Christophe Massiot 2e0eab4ca7 * mad plug-in is now built-in to avoid PIC/non-PIC collision ;
* Updated documentation ;
* New --desync option, to delay the video (in case of lip desynchronization) ;
this is bad, but we have no other option for the moment ;
* Clicking in vout now pauses the stream, patch courtesy of Peter Surda.
2001-12-06 10:53:42 +00:00