Gildas Bazin [Mon, 3 Jun 2002 07:22:05 +0000 (07:22 +0000)]
* ./plugins/win32/waveout.c: waveOutUnprepareHeader() was never being
called. This should fix the memory leak some people reported when using
the waveout plugin.
Sam Hocevar [Mon, 3 Jun 2002 00:28:08 +0000 (00:28 +0000)]
* ./src/misc/netutils.c: factored code common to the interfaces into the
network_ChannelJoin function.
* ./plugins/mga/xmga.c, ./plugins/x11/xcommon.c, ./plugins/sdl/vout_sdl.c,
./plugins/directx/vout_events.c: we can now use keys F1 to F12 to switch
channels from the video output window.
Sam Hocevar [Sun, 2 Jun 2002 23:01:32 +0000 (23:01 +0000)]
* ./plugins/dvdread/dvdread.c: disabled the dvdread plugin because it
currently sucks.
* ./src/misc/configuration.c, ./src/interface/main.c: we now accept --nofoo
and --no-foo as negations for --foo. Also, the --help output is nicer.
Gildas Bazin [Sun, 2 Jun 2002 10:28:14 +0000 (10:28 +0000)]
* ./plugins/a52/a52.c: compilation fix. Following C99 we have to include
<stdint.h> but Solaris doesn't have it so we include <inttypes.h> when
it isn't found.
Sam Hocevar [Sun, 2 Jun 2002 02:04:37 +0000 (02:04 +0000)]
* ./plugins/filter/crop.c: attempt at an automatic border cropping filter,
using "--filter crop --autocrop".
* ./vlc.spec: added missing filters to the RPM generation.
* intf_eject.c : added ejection code for Win32. Please test it under
Win95/98/Me, I just can't install a winme
in my work office :).
* plugins/win32/* : enabled the "Eject" button (thanks Ipkiss)
* src/misc/netutils.c : just changed my mail :P
Gildas Bazin [Thu, 30 May 2002 08:17:04 +0000 (08:17 +0000)]
* changed ADD_BOOL and ADD_BOOL_WITH_SHORT config macros to accept a
default value as an argument.
* modified the command line parsing to accept --foo and --no-foo when a
"foo" boolean config option is defined.
* modified the help menu to indicate if the option is enabled or
disabled by default.
Sam Hocevar [Wed, 29 May 2002 18:39:14 +0000 (18:39 +0000)]
* ./src/video_output/video_output.c: when the video output hasn't received
a new picture for a while, it redisplays the last displayed one. This will
be useful for DVD menus, but also solves the "picture becomes black when
vlc is paused" issue.
Gildas Bazin [Wed, 29 May 2002 10:08:03 +0000 (10:08 +0000)]
* ./plugins/dummy/dummy.c: added a CATEGORY_HINT to the config.
* ./plugins/x11/xcommon.c: small change to the ToggleFullscreen routine
to avoid a flickering during the switch.
Sam Hocevar [Mon, 27 May 2002 18:26:31 +0000 (18:26 +0000)]
* ./plugins/aa/aa.c: removed all palette code as it was unused.
* ./plugins/aa/aa.c: moved the aa_fastrender call from vout_Display to
vout_Render.
* ./plugins/aa/aa.c: added support for resizing and right-click menu.
(patch courtesy of Sigmund Augdal <sigmunau@stud.ntnu.no>)
Laurent Aimar [Mon, 27 May 2002 16:01:42 +0000 (16:01 +0000)]
ALL : In order to make ac3 working in avi file, I've deplaced some code
from ac3 decoder to mpeg_system.c. ( skip 3 bytes is now done in
mpeg_system.c and no longer in ac3 audio decoder ).
Gildas Bazin [Fri, 24 May 2002 12:42:14 +0000 (12:42 +0000)]
* ./include/inpu_ext-dec.h added a check to fifo->b_die after the call
to BitstreamNextDataPacket() in GetChunk().
Code using GetChunk() also needs to check fifo->b_die before using the
obtained data.
This fixes frequent crashes you get on win32 with the a52 plugin when you
close a stream.
Gildas Bazin [Wed, 22 May 2002 19:31:33 +0000 (19:31 +0000)]
* ./src/misc/modules.c: restored plugins hiding as the problem is fixed.
* ./plugins/directx/directx.c: UnregisterClass() in MODULE_DEACTIVATE. If
we don't do this, trying to use the class when the plugin is reloaded will
cause a segfault.
PS: on Win32 the sdl plugin is still affected by this. It looks like SDL keeps
an internal state which isn't updated when we reload the plugin.
Olivier Teulière [Wed, 22 May 2002 17:12:45 +0000 (17:12 +0000)]
* ALL: replaced TUpDown components by TCSpinEdit ones, which allow
values greater than 32767. It fixes the audio bug ocurring when a
configuration file is saved under the win32 interface
* ./plugins/win32/mainframe.cpp: Added some extra space between
statusbar and toolbar when nothing is displayed. I find it nicer :)
Gildas Bazin [Mon, 20 May 2002 19:49:18 +0000 (19:49 +0000)]
* First try for IPv6 support on Win32. This hasn't been tested so it
might not work! To compile this stuff you need a mingw compiler with
w32api-1.3.
The win32 code uses the getaddrinfo function because inet_pton is
supposed to be deprecated and not supported by Microsoft. gethostbyname2
isn't supported as well. Maybe we could try to unify the ipv6 plugin and
have all the ports use getaddrinfo ? (I didn't dare to do it because I
don't want to break anything before a release ;-)
Sam Hocevar [Mon, 20 May 2002 19:02:22 +0000 (19:02 +0000)]
* ./plugins/dummy/dummy.c: added --dummy-chroma option.
* ./plugins/dummy/vout_dummy.c: the dummy vout plugin now uses vlc's
vout_AllocatePicture instead of its own.
* ./src/video_output/vout_pictures.c: added YUY2 in vout_AllocatePicture.
Sam Hocevar [Mon, 20 May 2002 14:12:15 +0000 (14:12 +0000)]
* ./Makefile.opts.in: removed configuration stuff which does not need to
rebuild anything to Makefile.config, so that editing it will not cause
a complete rebuild.
* ./plugins/macosx/intf_controller.[mh]: you can now drag & drop files onto
the vlc dock icon. CFBundleDocumentTypes in Info.plist doesn't seem to have
any effect, so you'll have to hold down command-option when dropping until
this is resolved.
Mac OS X-specific :
* We now use real-time threads ;
* Worked around a bug when seeking ;
All :
* Removed my patch to the video output since it causes problems for some
people.