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.
* moved the function definitions from threads.h into threads_funcs.h. This
allows us to move p_main_sys into p_main (p_main->p_sys).
* fixed the --with-gtk-config-path and --with-sdl-config-path options in
configure.in
* MacOS X port :
- New creator ID : VLC#
- Borders in fullscreen mode are now black and the movie is centered
(jlj P0\/\/3r)
- A/V sync should be much more precise
Sam Hocevar [Thu, 25 Apr 2002 21:52:42 +0000 (21:52 +0000)]
* ./src/misc/modules_plugin.h: exported input_ClockManageRef for fenrir.
* ./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.
* plugins/ffmpeg/ffmpeg.c : with empty frame(data_packet) it won't segfault
* plugins/avi/avi.c : use KeyFrame to seek, so video will not be bad as
before
Johan Bilien [Thu, 25 Apr 2002 02:10:33 +0000 (02:10 +0000)]
* Moved Program Specific Information decoder to the ts demux module
* Added a mpeg_ts_dvbpsi module tha uses libdvbpsi to decode PSIs. It is
used by default if the lib is found. It shares much code with mpeg_ts
* on Win32 the config file is now stored under the "Application Data" folder
belonging to the user. (this works if at least IE4 is installed, otherwise
the old method is used to get the config directory)
Sam Hocevar [Wed, 24 Apr 2002 00:36:24 +0000 (00:36 +0000)]
* ./src/interface/main.c: we no longer segfault if argc == 0.
* ALL: renamed PLUGINS to __PLUGINS__ to avoid conflicts with libraries
defining it. Grmbl.
* ./src/input/input_ext-plugins.c: cosmetic change.
* ./plugins/ac3_adec/* use _M to avoid conflict with libavcodec.a
* ./plugins/avi a light avi demux
* ./plugins/ffmpeg a video decoder for divx v3 and opendivx
* DirectX video output plugin now uses triple buffering for YUV overlay. This
improves the video quality a lot (no tearing) without affecting performance.
(I knew double buffering sucked but I just discovered why triple buffering
is better: you don't have to wait for the vsync to flip the buffers).
* Fixed the DirectX video output for non-overlay modes. It was only working
in RGB16 before.
* Fixed the mouse autohidding feature in the DirectX plugin
(at least partially).
* Fixed the spu decoder to take the pitch of the destination picture into
account when rendering the subtitles (Implemented only for the YUV modes).
Sam Hocevar [Tue, 23 Apr 2002 14:16:21 +0000 (14:16 +0000)]
* ./src/interface/main.c: tidied the help output code.
* ALL: removed underscores from option names and made a few options more
self-explanatory, for instance --input_channel becomes --audio-channel;
run vlc -H to see what has changed.
* ALL: replaced many occurences of "plugin" with the word "module".
* ./src/interface/main.c: moved all satellite-specific configuration options
to the satellite plugin.
* ./po/*: updated translations.
* Fixed the warning_level handling: "-v" and "--warning" are now working as
they should and they also are cumulative (using -vv --warning=3 you end up
with i_warning_level=5)
* 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.
Sam Hocevar [Sun, 21 Apr 2002 10:32:21 +0000 (10:32 +0000)]
* ./po/*: re-ran make update-po, fixed a few translations.
* ./po/fr.po: completed the french translation.
* ./plugins/gtk/gtk.glade, ./plugins/gtk/gnome.glade: synchronized a few
strings between the Gtk+ and GNOME modules to avoid duplicate translations.
Sam Hocevar [Fri, 19 Apr 2002 13:56:12 +0000 (13:56 +0000)]
* ALL: internationalized all configuration strings.
* ./src/interface/main.c: we now set LC_CTYPE to get the right charset.
* ./src/misc/configuration.c: lots of simplifications in the code.
* ./po/vlc/pot: updated translations.
* Finally fixed MacOS X aspect ratio. If you know how to center the
picture in the screen, and make the remaining space black instead of
white, PLEASE drop me a mail !
Johan Bilien [Wed, 17 Apr 2002 17:00:58 +0000 (17:00 +0000)]
* in TS demux, a program is selected only if a PMT for it was found.
This should fix the problem that occured when reading a file directly
extracted from a satellite card.
* UDP access plugin uses input_SetProgram.
Sam Hocevar [Wed, 17 Apr 2002 11:43:31 +0000 (11:43 +0000)]
* ./AUTHORS: added people locations, just for fun.
* ./configure.in: disabled SSE plugins when using mingw32.
* ./src/misc/configuration.c: disabled the AltiVec warning message on the
PowerPC platform because it was misleading.
* Have dvdread plug-in respond to dvd: URLs ;
* MacOS X interface shouldn't take as much CPU as it used to ;
* Fixed a bug in Altivec-enabled MC (thanks walken) ;
* Fixed a case of segfault in Altivec-enabled memcpy.
Johan Bilien [Mon, 15 Apr 2002 14:06:19 +0000 (14:06 +0000)]
* fixed a typo in satellite input
* added options to configure antenna (sat_lnb_lof1, sat_lnb_lof2,
sat_lnb_slof and sat_diseqc). They only appear if satellite input
is compiled.