Commit Graph

396 Commits

Author SHA1 Message Date
Sam Hocevar e3401d5787 * ./configure.in: we now require autoconf 2.5x because previous versions
don't seem to work very well if you are using autopoint, although
    gettext 0.11.5 claims to be fully backwards compatible. Welcome to
    automake hell.
  * ./bootstrap: workaround which uses gettextize if you do not have
    autopoint. We'll probably stay like this for a while, until gettext
    0.11.x (which replaces gettextize with autopoint) becomes more
    widespread. Currently this workaround seems to work, but don't expect
    a clean tarball if you make dist without having used autopoint. Welcome
    to automake hell.
2002-08-26 20:49:50 +00:00
Sam Hocevar eb395af053 * Moved ./include/defs.h to ./config.h
* Renamed ./include/config.h to ./include/vlc_config.h
  * Other misc auto* fixes.
2002-08-26 01:01:13 +00:00
Sam Hocevar 764176f688 * ALL: started the slow move to automake. For the moment, the changes are
unnoticeable apart from the extra dependency on autoconf, automake and
    gettextize. See the new HACKING file for some information, especially if
    you don't run Linux.

    The current strategy is to have the configure script generate a nice
    automake Makefile from Makefile.am, and then clobber it with our good
    old dirty Makefile. Muahaha :-)
2002-08-25 23:18:05 +00:00
Sigmund Augdal Helberg 1c79a0fac8 moved id3 related code to a separate utility module since several
demuxers need it
2002-08-24 21:35:31 +00:00
Sam Hocevar cd7b79940d * ./modules/audio_filter/resampler/ugly.c: simple resampler which does not
insert blank samples, but changes pitch.
2002-08-24 20:22:34 +00:00
Sam Hocevar f02ba9de18 * ./configure.in: fixed a typo that prevented compilation of the network
modules.
  * ./debian/rules: added faad to the package generation.
2002-08-24 14:49:51 +00:00
Christophe Massiot 1c13a98745 Big round of fixes in the aout3.
* Audio and video should now _always_ be perfectly in sync.
* Changes in a52.c (end_date management) must be ported to other codecs,
  otherwise mixer errors will appear.
* Audio output plug-in can now tell whether they can handle a little
  clock drift (for instance, inserting zeroes after a pause).
2002-08-21 22:41:59 +00:00
Sam Hocevar 28ad2fd075 * ./src/misc/modules.c: if a plugin requested not to be unloaded, then we
won't unload it. This makes us more fault-tolerant with crap libraries
    that are making use of atexit().
  * ./configure.in: svgalib can now be a plugin.
  * ./modules/misc/gtk_main.c: gtk_main doesn't need g_atexit anymore.
2002-08-21 17:31:58 +00:00
Sam Hocevar b6aeeca55b * ./modules/video_output/svgalib.c: SVGAlib video output module.
Currently only supports 256 color output, and defaults to 320x200. You need     to be root to use it, it may leave your console in an unusable state, lock
    up your video card, it will segfault at exit if you compile it as a plugin
    because of SVGAlib's ludicrous use of atexit() and signal().
    Apart from these few glitches, it's rather OK, use "-I dummy -V svgalib"
    to activate. Q or Esc to quit (press for a long time if it doesn't work).
2002-08-21 15:10:33 +00:00
Sam Hocevar afa6c92607 * ./modules/codec/a52old/a52old.c: ported the old A52 decoder to aout3.
* ./modules/audio_filter/converter/s16tofloat32.c: converter needed for
    a52old, includes the walken trick and b_in_place = true.
2002-08-21 09:27:40 +00:00
Sam Hocevar f0ec49dae5 * ./modules/misc/gtk_main.c: created the gtk_main module, which simply runs
gtk_main() in its own thread, and does nothing on subsequent calls. This
    ensures that gtk_main is only running once.
  * ./modules/gui/familiar/*, modules/gui/gtk/*: the familiar, gtk and gnome
    modules are now fully reentrant thanks to their use of the gtk_main module.
  * ./src/libvlc.c: implemented vlc_set(), a wrapper for config_Put* available
    to external programs.
  * ./src/libvlc.c: removed vlc_stop() and vlc_end(), everything is now done
    by vlc_destroy().
  * ./modules/control/rc/rc.c: implemented a few new functions. For instance,
    run "vlc -I rc" and then type "intf gtk" or "intf gnome". You can even
    launch several of them. "segfault" works, too.
2002-08-20 18:08:51 +00:00
Christophe Massiot 5ffbc97e75 * ./configure: Fixed double detection of gethostbyname.
* Major changes in the handling of dates in the audio output ; still buggy,
but differently.
* Fixed a major bug in the aout pre-filters, preventing to run any other
decoder than liba52.
* p_aout->output.pf_play now has only one argument.
2002-08-19 21:31:11 +00:00
Sam Hocevar 9c669a9f8f * ./modules/visualization/xosd/xosd.c: support for libxosd 1.0.0.
* ./configure.in: added check for libxosd version.
2002-08-19 08:30:56 +00:00
Sigmund Augdal Helberg 086f0dc8c2 the mp3 demux now parses id3 tags into the info structures if libid3tag
is available
2002-08-18 14:11:35 +00:00
Eric Petit 0ace3bb2f2 Fixed a few linking BeOS problems (-lm, -lstdc++.r4...).
Now everything should compile with every gcc with no problem (mp4, ffmpeg
and faad plugins, especially).
2002-08-18 11:32:06 +00:00
Laurent Aimar 764fd89e8d * all : mpeg_audio decoder works now with aout3. 2002-08-17 15:35:10 +00:00
Arnaud de Bossoreille de Ribou 647a105d2c * configure.in, configure: put back the ALSA audio output module in
configure.
2002-08-15 12:35:50 +00:00
Sam Hocevar 211b2031b6 * ./modules/audio_output/esd.c: compilation fix (aout_FormatTo is obsolete).
* ./src/audio_output/audio_output.c, ./src/audio_output/mixer.c: fixed a
    horrible sound issue by making sure internal buffers have a size multiple
    of 4 bytes. Waiting for a real fix made in Meuuh, of course.
2002-08-14 13:10:44 +00:00
Tristan Leteurtre 68a142e33b . Simple RTP access module : only supports TS payload.
This first draft is made to read RTP streamed by the vls.
2002-08-14 08:50:33 +00:00
Christophe Massiot 321841006c * New float32to* converter modules, courtesy of Xavier Maillard
<zedek@fxgsproject.org>.
* Fixed a bug in float32tos16, where gcc over-optimized a little and
  caused problems on some platforms (eg. solaris).
2002-08-13 22:42:23 +00:00
Sam Hocevar 2f67ba3cf2 * ./modules/audio_output/arts.c: ported the aRts module to aout3.
* ./modules/audio_filter/converter/*: fixed a bug in all the converters
    test routines (thx Meuuh).
2002-08-13 16:11:15 +00:00
Sam Hocevar 5a64fbd73a * ./modules/audio_output/oss.c: we spare a variable by using p_aout->b_die
instead of our own variable.
  * ./modules/audio_filter/converter/a52tospdif.c, ./modules/codec/a52.c: added
    <unistd.h>, required for bswap.
  * ./modules/demux/mp4/libmp4.c: removed an unneccessary semicolon in a
    macro definition.
  * ./modules/audio_output/esd.c: first attempt at getting esd to work.
  * ./modules/video_output/*: split sdl.so into a video and an audio plugin,
    and removed useless subdirectories.
  * ./modules/audio_output/sdl.c: compilation fix.
2002-08-13 11:59:36 +00:00
Sigmund Augdal Helberg a39d907785 ./configure.in: fix linking of i420_rgb 2002-08-12 21:43:28 +00:00
Jean-Paul Saman 0220726f87 - Updated configure to build fixed32tos16 and fixed32tofloat32.
Desperately need a fixed32 mixer for testing the conversions.
- Uncommented unused functions in libmad.
2002-08-12 20:43:27 +00:00
Laurent Aimar 856c3c047a * all : enable aac demux by default. 2002-08-12 17:00:36 +00:00
Sam Hocevar 6e8f9504cb * ./src/misc/objects.c: two big changes in the object API: now objects can
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.
2002-08-12 09:34:15 +00:00
Christophe Massiot fec0d40b5e * S/PDIF output should now be working (untested, though). 2002-08-11 22:36:35 +00:00
Christophe Massiot 9a9f8a1e7a More S/PDIF fixes. 2002-08-11 01:27:01 +00:00
Laurent Aimar 37e30b124b * modules/codec/faad : an AAC decoder module using libfaad library
(faad2).
 * modules/demux/mp4/libmp4.c : could compile without zlib.
 * modules/codec/ffmpeg/* : set error resilience to -1 by default.(in
order to decode more files, but it could produce segfaults ... )
 * Makefile.*, configure.in : enable mp4 by default, add faad
module (disabled by default ).
2002-08-10 20:05:21 +00:00
Gildas Bazin 5bbe0409fc * 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 :)
2002-08-10 18:17:06 +00:00
Jean-Paul Saman 8e11bef57e Enabled mad plugin again. 2002-08-10 17:53:37 +00:00
Jean-Paul Saman d1aefb4d68 Preparation for Qt embedded support. 2002-08-10 11:35:31 +00:00
Christophe Massiot 9000920a11 * Trivial resampler plug-in (resampling still non-functional)
* Begun writing some hooks for forthcoming S/PDIF support
* ./modules/access/vcd/cdrom.c: compile fix for Darwin
2002-08-09 23:47:23 +00:00
Sam Hocevar 05e3077cc5 * ./include/modules_inner.h: support for several modules with the same
name but with different directory names.
  * ./Makefile: plugins get installed in different directory names.
  * ALL: additional -ansi -pedantic fixes.
2002-08-08 22:28:23 +00:00
Christophe Massiot 58c63dc950 Added another level of directory in audio_filter/. 2002-08-08 22:26:56 +00:00
Sam Hocevar 7689bc9224 * ./modules/audio_output/oss.c: compilation fixes.
* ALL: lots of -ansi -pedantic fixes.
2002-08-08 00:35:11 +00:00
Christophe Massiot 123b3214ec Audio output 3. Expect major breakages. 2002-08-07 21:36:56 +00:00
Sam Hocevar 66c62b4386 * ./modules/demux/mpeg/system.c: added a helper plugin for MPEG-related
demux plugins (ps, ts, but also dvd*).
  * ./src/input/mpeg_system.c: removed MPEG-related stuff from the vlc core.
  * ./src/misc/modules.c: max recursion level is now 5.
  * ./modules/access/dvdplay/es.c: fixed a buffer overflow.
2002-08-07 00:29:37 +00:00
Sam Hocevar 50b8a062ab * ./Makefile, ./mozilla/Makefile: make uninstall removes vlc-specific dirs.
* ./src/misc/modules.c: the directory browsing should be more portable now,
    we use stat(2) instead of file->d_type.
2002-08-06 00:26:48 +00:00
Sam Hocevar 6b9376dbe6 * ./modules/codec/dv/dv.c: decoder for the DV format, uses libdv. 2002-08-05 15:16:18 +00:00
Laurent Aimar b1c4cebb56 * add compilation of postprocessing modules for ffmpeg. 2002-08-04 22:16:28 +00:00
Sam Hocevar 19ea8feb6d * ./modules/*: moved plugins to the new tree. Yet untested builds include
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.
2002-08-04 17:23:44 +00:00
Sam Hocevar 981dcc18ab * ./configure.in, ./mozilla/Makefile: we link the Mozilla plugin with libXt. 2002-08-04 08:45:35 +00:00
Sam Hocevar 976dfc3eb4 * ALL: new module API. Makes a few things a lot simpler, and we gain
about 2000 lines of code.

    I could not test everything on every architecture, so please report
    any module breakage (especially on BeOS, OSX and QNX).
2002-07-31 20:56:53 +00:00
Christophe Massiot 44ed9d3c02 * ./configure : better detection of IPv6, fixed solaris handling
* ./src/input/* : fixed a memory leak
2002-07-24 23:11:55 +00:00
Christophe Massiot bd0431f64f Swedish translation, courtesy of Joel Arvidsson <dogai@privat.utfors.se>
(incomplete and untested).
2002-07-23 23:22:28 +00:00
Sam Hocevar 255db0098c * ./configure.in: workaround Debian bug #150490 (bad mozilla-config output).
* ./mozilla/vlcplugin.h: added .mov and .mp4 files to the plugin.
  * ./Makefile: we no longer try to merge .a files into libvlc.a, but rather
    add them to the vlc-config output.
2002-07-23 20:12:55 +00:00
Stéphane Borel 8a430a8819 *first version of plugin for libdvdplay. To test it, you need to have
libdvdplay installed (available from videolan CVS), and request plugins
compilation in the usual way:
	--enable-dvdplay.
Note that libdvdplay needs libdvdread and libdvdcss.

Currently it has only been tested under linux, with gnome interface (optional)
and xvideo output.

What works (more or less):
 -DVD reading in some rare cases :) (title and menus),
 -Menu pause,
 -Seeking,
 -Selecting directly a specific title/chapter/angle,
 -Changing audio, sub-picture, angle during playback,
 -Interactive menus with mouse only.

What is missing:
 -Menu buttons highlighting (needs spudec patch),
 -Keyboard interaction (needs a specific part in port specific plugins),
 -A specific interface to navigate through menus (needs that I move my ass),
 -Interactive menus won't work with other output plugins so long as they
  have not been patched to send mouse/keyboard events to vlc interface,
 -Whatever you need.

Known bugs (bugs in libdvdplay mostly):
 -Seeking in some menus or intro titles (bad vobu map),
 -Read/seek error with some DVDs,
 -the configure needs tweaking,
 -numerous segfaults,
 -decoder/output modules locking error,
 -fuzzy colors in menus when spudec is active (default in menus).

The plugin is not guaranteed to work anywhere outside my computer. If it break your, don't come and complain to me :).
2002-07-23 19:56:19 +00:00
Sam Hocevar 64d33dc9bc * ALL: decoders now use a fourcc as a probe value.
* 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.
2002-07-23 00:39:17 +00:00
Jean-Paul Saman afba69f8d6 Added --enable-familiar to configure.in, the default is disabled. 2002-07-22 13:48:13 +00:00