Gildas Bazin [Thu, 16 May 2002 13:20:22 +0000 (13:20 +0000)]
* src/input/input_programs.c: fixed memory corruption by setting a few
pointers to NULL after they have been free()ed.
* src/input/input_programs.c: removed now useless ASSERTs.
This patch comes from sam, so if you want to blame someone blame him ;-)
Sam Hocevar [Wed, 15 May 2002 19:36:04 +0000 (19:36 +0000)]
* ./plugins/ac3_adec/ac3_adec.c: probably fixed most "crash when changing
audio track" problems by zeroing the p_ac3dec structure.
* ./plugins/ac3_adec/ac3_adec.c: fixed a "INPUT_MAX_ALLOCATION reached"
crash.
Marc Ariberti [Wed, 15 May 2002 13:07:18 +0000 (13:07 +0000)]
On sam's advice I added the input_FDNetworkClose() function to be called
when closing a networking stream instead of input_FDClose(). It is due
to WIN32 because we have to call closesocket() instead of close() to
close the socket. The problem was : windows did not leave the multicast
group when closing the socket.
* input_ext-plugins.c : where is located the function
* *.h : function declaration
* udp.c, http.c : these modules now call input_FDNetworkClose()
* src/misc/iso-639.def, include/iso_lang.h, src/misc/iso_lang.c: iso-839-[12] tools.
* include/common.h, src/misc/modules_plugin.h: export the 3 new functions.
* plugins/dvd/dvd_es.c, plugins/dvd/dvd_summary.c, plugins/dvdread/input_dvdread.c: adapted DecodeLanguage calls to the new behaviour.
* plugins/mpeg_system/mpeg_ts.c: ISO-639-2 descriptors handling.
Laurent Aimar [Tue, 14 May 2002 14:10:17 +0000 (14:10 +0000)]
* plugins/mpeg_system/mpeg_audio.c : to avoid problem with PS, test
only the first 4 bytes for mpeg header so some broken files, and all
web radio will not work. You can change this by changing value
of MPEGAUDIO_MAXTESTPOS.
Johan Bilien [Tue, 14 May 2002 01:14:39 +0000 (01:14 +0000)]
* doc/vlc-howto.sgml: Spelling mistakes, small updates, harmonization
with other documentations (thank you Alexis)
* plugins/satellite/*: some fixes in options parsing (thank you Sam)
Laurent Aimar [Mon, 13 May 2002 21:55:30 +0000 (21:55 +0000)]
* include/video.h : added new fourcc code for avi
* ALL : version from ffmpeg cvs can now decode msmpeg4 v1 v2 ,
so i have added support for this. But you can always use old ffmpeg
library without any problem ( i hope ;)
* Fixed menus [Mac OS X port]
* Objective-C files are now .m
* Fixed a major bug in the spu decoder
* Disabled auto-hiding of mouse cursor since it doesn't work when browsing
menus ; instead, click in the video window
Laurent Aimar [Fri, 10 May 2002 02:04:17 +0000 (02:04 +0000)]
* include/common.h and input_ext-plugins.h, src/misc/modules_plugin.h : export input_ClockGetTS for plugins.
* plugins/mpeg_system/mpeg_audio.c : a demux for mpeg audio stream (file, web radio ...)
* Makefile configure.in : to compile it
Sam Hocevar [Thu, 9 May 2002 21:24:22 +0000 (21:24 +0000)]
* ./src/interface/main.c: if Ctrl-C doesn't kill vlc cleanly for any
reason, user just needs to hit Ctrl-C again 1 second later and we'll
exit disgustingly instead of freezing.
Jean-Paul Saman [Mon, 6 May 2002 22:09:58 +0000 (22:09 +0000)]
Added mad plugin downscale config option for selecting downscaling routine. Choices are: fast, mpg321. Default the fast version is used. The downscale option mpg321 uses an algorithm that adapts to dither errors. This routine is borrowed from MPG321 code.
Mono audio streams get now duplicated on the right channel instead of silencing the right channel (untested).
Gildas Bazin [Mon, 6 May 2002 21:05:26 +0000 (21:05 +0000)]
* 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.
Gildas Bazin [Sun, 5 May 2002 08:25:15 +0000 (08:25 +0000)]
* 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.
Gildas Bazin [Sat, 4 May 2002 16:17:08 +0000 (16:17 +0000)]
* The Apply button in the preferences menu is grayed out unless there's a
change to apply.
* GtkConfigApply() now clears the list of config changes before returning.
Jean-Paul Saman [Fri, 3 May 2002 22:30:33 +0000 (22:30 +0000)]
Aout fifo adapts it size according to the length of the first frame.
The change is needed for MPEG1/2 layer III, because the size of output pcm from mad_decoder is different.
Sadly, the buffer underruns are back ;-(.
Sam Hocevar [Fri, 3 May 2002 20:49:30 +0000 (20:49 +0000)]
* ./include/modules_inner.h, ./src/misc/configuration.c: support for config
options callbacks.
They don't take any argument for the moment, but this will change when
I'm finished with my other vlc changes. There is a little problem: the
Gtk+ interface keeps calling Put***Variable each time we click on "Apply"
or "Save". I think it should only call it once. Is there a way to fix
this? Gildas? lool? :-)
Gildas Bazin [Wed, 1 May 2002 21:31:53 +0000 (21:31 +0000)]
* The configuration file and the log file are opened in text mode. This mode
should only have a meaning on Win32 and isn't supposed to break any other
platform. If does give you any trouble then shout.
Sam Hocevar [Tue, 30 Apr 2002 20:19:31 +0000 (20:19 +0000)]
* ./plugins/chroma/i420_yuy2.h: workaround for yet another annoying gcc
behaviour with inline assembly (seems to be BeOS-specific). If anyone has
a better idea than the huge "memory" constraint, please have a look at
the MMX_CALL() macro!
* added config_Get/PutFloatVariable to p_sysmbols. Thanks to Sigmund Augdal
for pointing this bug out.
* on Win32 the aout_pcm thread is given a high priority. This helps avoiding
lots of audio underruns, especially when moving around the video window.
* plugins/avi/avi.c : changed in order to read more avi file, Meuuh
you can now read your file ;) (but audio is awfull,perhaps because of mad
plugin ? ). Fix a bug for audio with some avi file.
* Restored vout_CopyPicture(). It is needed by the directx plugin damnit ;-)
* Restored AOUT_BUFFER_DURATION to its old value. It should solve quite a few
underrun problems.
* A little bit of DirectX plugin clean-up.
Sam Hocevar [Sun, 28 Apr 2002 11:56:13 +0000 (11:56 +0000)]
* ./plugins/sdl/vout_sdl.c, ./plugins/x11/xcommon.c: when in fullscreen
mode, the Esc key does not quit immediately, but first escapes from
fullscreen mode. User-requested feature.