* IPv6 network module, courtesy of Alexis Guillard <alexis.guillard@bt.com>,
for BT ;
* --6 and --4 options to force IPv6 or IPv4 (FIXME: it should be -6 and
-4 but I don't know how to do it with the new configuration module) ;
* Channel manager now uses a socket from the network plug-in and is more
portable (and probably broken, too :) ;
* input_ReadPS and input_ReadTS are now in mpeg_system.c to be more
easily reused by plug-ins other than mpeg_ps and mpeg_ts.
Gildas Bazin [Mon, 4 Mar 2002 22:18:25 +0000 (22:18 +0000)]
* We now make sure the aout plugin buffers always contain between
AOUT_BUFFER_DURATION/2 and AOUT_BUFFER_DURATION*3/2 worth of audio.
This should solve the audio buffer underruns.
* fix for the bug in input when filename contains a '@' character.
* simplified the win32 specific changes to the input parser. ( I think
we can safely assume that no access plugin name will have a length of
one character)
* Fixed DVD input under Win32.
* Fixed input parser under win32, chich couldn't understand that
c:\windows\bureau is a valid file and doesn't need to be accessed with
the plugin 'C' :-)
* BTW, I added myself in the AUTHORS file :)
Sam Hocevar [Fri, 1 Mar 2002 16:07:00 +0000 (16:07 +0000)]
* ./po/no.po: Norwegian translation by Sigmund Augdal. Berd� ka p� t�t.
* ./src/misc/modules.c: shortcuts for --intf work again, gvlc launches the
Gtk interface, qvlc launches the Qt interface, etc.
* ./plugins/fx/scope.c: we now have sound together with --aout scope.
Input III (Episode 1).
- 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.
Sam Hocevar [Wed, 27 Feb 2002 22:57:10 +0000 (22:57 +0000)]
* ./plugins/mpeg_vdec/vpar_headers.c: we no longer crash when the next
stream doesn't have the same image size as the previous one.
* ./src/audio_output/aout_pcm.c: another overrun fix; please test.
Stéphane Borel [Tue, 26 Feb 2002 01:17:13 +0000 (01:17 +0000)]
*Reversed my previous configuration change.
I'd better used dvd_title or so but INPUT_TITLE_VAR is also used in
gtk_open.c and I can't find a neat way to prevent this, so I leave this
option in main.c.
Sam Hocevar [Mon, 25 Feb 2002 23:59:07 +0000 (23:59 +0000)]
* ./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'.
Sam Hocevar [Mon, 25 Feb 2002 04:30:03 +0000 (04:30 +0000)]
* ./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).
Sam Hocevar [Sun, 24 Feb 2002 22:06:50 +0000 (22:06 +0000)]
* 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.
Gildas Bazin [Sun, 24 Feb 2002 20:51:10 +0000 (20:51 +0000)]
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 ;-)
Gildas Bazin [Fri, 22 Feb 2002 20:46:58 +0000 (20:46 +0000)]
* 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.
Sam Hocevar [Wed, 20 Feb 2002 23:23:53 +0000 (23:23 +0000)]
* ./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.
Sam Hocevar [Wed, 20 Feb 2002 05:56:18 +0000 (05:56 +0000)]
* ./plugins/gtk/gtk.c: the log window is now black with colourful text.
* ./plugins/gtk/gnome.c: ported the log window to the GNOME interface.
* ./src/interface/intf_msg.c: messages are sent to the queue even if
-vvvv* wasn't specified.
Sam Hocevar [Tue, 19 Feb 2002 03:54:56 +0000 (03:54 +0000)]
* ./plugins/lirc/lirc.: various fixes, thanks to Sigmund Augdal.
* ./plugins/text/logger.c: rewrote an ugly loop.
* ./plugins/gtk/gtk.c: added a Gtk+ window containing all the log
messages; updated in real time. To open it, go to "view"->"messages".
Sam Hocevar [Tue, 19 Feb 2002 00:50:20 +0000 (00:50 +0000)]
* 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.
Gildas Bazin [Fri, 15 Feb 2002 20:02:21 +0000 (20:02 +0000)]
* 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).
Sam Hocevar [Fri, 15 Feb 2002 13:32:54 +0000 (13:32 +0000)]
* 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.
Sam Hocevar [Thu, 14 Feb 2002 23:29:17 +0000 (23:29 +0000)]
* Grmbl. Forgot to commit those Win32 fixes last time, and they were
stuck on VTHR. Sorry xav, this probably explains why I couldn't
find the commit log :-)
Sam Hocevar [Wed, 13 Feb 2002 22:10:40 +0000 (22:10 +0000)]
* ./plugins/beos/*: BeOS fixes from Rudolf Cornelissen.
* ./src/interface/main.c: --desync now really accepts a value in ms.
* ./plugins/vcd/input_vcd.c: fixed a crash when not opening a VCD.
* ./src/video_output/vout_subpictures.c: fixed subtitles under BeOS and
other architectures which don't support overlay.
Sam Hocevar [Wed, 6 Feb 2002 02:37:18 +0000 (02:37 +0000)]
* ./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.
Gildas Bazin [Tue, 5 Feb 2002 21:46:41 +0000 (21:46 +0000)]
* 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
Sam Hocevar [Wed, 30 Jan 2002 00:09:49 +0000 (00:09 +0000)]
* Fixed stuff in the wall filter. Extended syntax:
--filter wall % open a wall (3x3 is the default value)
--filter wall:2 % open a 2x2 wall
--filter wall:3x2 % open a 3x2 wall
--filter wall:2x1:0 % open a 2x1 wall, only display block 0
--filter wall:2:0,3 % open a 2x2 wall, only display blocks 0 and 3
For instance, if you have 2 computers listening to a network stream, on
the left computer you use --filter wall:2x1:0 and on the right computer
you use --filter wall:2x1:1
Gildas Bazin [Sun, 27 Jan 2002 22:14:52 +0000 (22:14 +0000)]
* Added double-buffering for the directx plugin in overlay mode.
* Several directx bug-fixes:
- implemented the right behaviour on exit.
- fixed bug preventing the creation of several windows.
(the wall filter is working now :-))
- fixed unnecessary background redraws (it made the video flicker).
- fixed bug where we were losing the video display because of lost
surfaces in video memory.
- when using hardware overlay, the output window will now specify:
"(using hardware overlay)".
Gildas Bazin [Fri, 25 Jan 2002 06:43:34 +0000 (06:43 +0000)]
* 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().
Stéphane Borel [Thu, 24 Jan 2002 18:50:32 +0000 (18:50 +0000)]
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.
Sam Hocevar [Thu, 24 Jan 2002 13:32:53 +0000 (13:32 +0000)]
* ./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.
Jean-Paul Saman [Mon, 21 Jan 2002 22:28:10 +0000 (22:28 +0000)]
Changes made to mad plugin:
+ libmad_input now takes one frame at a time (see mad_adec.h for defines)
+ audio_linear_dither() gives better sound quality then s24_to_s16_pcm(),
but also makes audio artefacts louder so disabled it for now (see file
mad_libmad.c)
+ cleaned up libmad_output (see file mad_libmad.c)
+ cleaned up InitThread (see file mad_adec.c)
+ Made buffer size match libmad's expectations (see file mad_adec.h)
+ updated documentation
Gildas Bazin [Mon, 21 Jan 2002 07:00:21 +0000 (07:00 +0000)]
* Fixed crashes on exit in the directx plugin
* vout_PlacePicture is now accepting picture width=height=0
* Win32 (NT/2000/XP) fix for libdvdcss: first attempt to open the DVD
device in read/write mode so we can use ioctls. If this fails
(insufficent privileges) we at least open in read-only mode so the
libdvdcss title decryption method can be used.
Sam Hocevar [Mon, 21 Jan 2002 05:14:10 +0000 (05:14 +0000)]
* ./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.
Sam Hocevar [Mon, 21 Jan 2002 00:52:07 +0000 (00:52 +0000)]
* ./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'.
Gildas Bazin [Sat, 19 Jan 2002 19:54:01 +0000 (19:54 +0000)]
* Converted the plugin initialization code of the macosx, beos and qnx
code. (please note that they should still not compile as they need
to be adapted to the new Vout4 architecture)
Gildas Bazin [Thu, 17 Jan 2002 23:02:45 +0000 (23:02 +0000)]
* major rewrite of the directx video plugin to adapt it to the new vout4
architecture. This plugin has also been through a major clean-up
and it is now much more robust and optimized.
* Fixed a few problems with the win32 build.
* Replaced the "overlay" command line option with "nooverlay". The
former was confusing and useless because overlays were used by
default anyway.
Cyril Deguet [Tue, 15 Jan 2002 11:51:11 +0000 (11:51 +0000)]
- added support for S8 and U16 aout (not tested)
- The sound is very dirty in U8 mode. I don't know if it comes from the
8 bit mode itself or from the S16->U8 conversion.
Stéphane Borel [Tue, 15 Jan 2002 05:22:21 +0000 (05:22 +0000)]
-Patch of libdvdread to do readv on regular files (dvd copied on hard drive).
Not completed, and little tested yet ; when it is completed, this patch should
be submitted to libdvdread developers.
-Patch of libdvdcss to decrypt vobs when they are not on a block device.
Sam Hocevar [Tue, 15 Jan 2002 01:01:00 +0000 (01:01 +0000)]
* ./debian/control: fixed Debian build-depends.
* ./include/config.h: changed RELEASE to HAVE_RELEASE because RELEASE
is already defined in <scsi/scsi.h> under Linux.
Stéphane Borel [Mon, 14 Jan 2002 22:06:57 +0000 (22:06 +0000)]
*With DVDCSS_METHOD=disc or key, the keys are no longer buffered on start.
The title key is still read at each block but it is checked for change
before decryption.