Sam Hocevar [Sun, 2 Jun 2002 13:49:35 +0000 (13:49 +0000)]
(new in MAIN)
* ./plugins/dvd/dvd_es.c, ./plugins/satellite/input_satellite.c,
./plugins/dvdread/input_dvdread.c: updated outdated variable names.
(ported from 0_4_1_branch)
* ./plugins/spudec/spu_decoder.c: fixed a margin bug in the SPU renderer
which caused subtitles to appear slanted in odd width windows.
Sam Hocevar [Sun, 2 Jun 2002 11:59:46 +0000 (11:59 +0000)]
(new in MAIN)
* ./src/playlist/playlist.c, src/input/input.c: added safety checks to
prevent crashes on next file.
(ported from 0_4_1_branch)
* ./plugins/gtk/gtk_display.c, ./plugins/win32/mainframe.cpp: we deactivate
popup menus when no stream is being played, even in network mode.
* ./src/input/mpeg_system.c: removed unnecessarily verbose message.
Gildas Bazin [Sun, 2 Jun 2002 10:28:48 +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 09:03:54 +0000 (09:03 +0000)]
* ./src/video_output/video_output.c: fixed the "picture has invalid status"
bug which might have been the cause of crashes.
* ./plugins/filter/crop.c: attempt at an automatic border cropping filter,
using "--filter crop --autocrop".
* ./vlc.spec: added missing filters to the RPM generation.
* ./src/misc/objects.c: commented all functions.
* ./src/misc/objects.c: implemented vlc_object_find( , , FIND_ANYWHERE).
* ./src/misc/objects.c: renamed vlc_object_unlink to vlc_object_detach.
Sam Hocevar [Sat, 1 Jun 2002 17:09:25 +0000 (17:09 +0000)]
* ./include/main.h, ./plugins/beos/intf_beos.cpp: BeOS compilation fixes.
* ./bootstrap.sh, ./src/libvlc.h, ./po/*: fixed bootstrap.sh so that it does
not include CVS Id lines in automatically created files.
Sam Hocevar [Sat, 1 Jun 2002 16:45:35 +0000 (16:45 +0000)]
* ./plugins/dummy/intf_dummy.c, ./plugins/chroma/i420_yuy2.c,
src/interface/intf_eject.c, src/misc/threads.c: win32 compilation fix.
* ./plugins/directx/aout_directx.c, plugins/directx/vout_directx.c,
./plugins/directx/vout_events.c: the DirectX notification and event threads
now use the vlc_thread_create / vlc_thread_ready scheme. Untested.
* ./configure.in: added a check for inttypes.h and sys/int_types.h.
* ./configure.in: fixed the HTTP plugin compilation under BeOS.
* ./plugins/network/ipv6.c: reactivated IPv6 module.
Sam Hocevar [Sat, 1 Jun 2002 14:31:32 +0000 (14:31 +0000)]
* ./src/misc/beos_specific.cpp: BeOS fixes, removed a static variable.
* ./include/main.h: replaced p_sys with explicit variables because it's
really much simpler this way. Gildas, will you ever forgive me ? :-)
Sam Hocevar [Sat, 1 Jun 2002 13:52:24 +0000 (13:52 +0000)]
* ./src/misc/beos_specific.cpp: the BeOS BApplication thread now uses the
vlc_thread_create / vlc_thread_ready scheme to signal readiness.
* ./src/misc/objects.c: prevent the creation of a too small vlc_object_t.
* ./include/vdec_ext-plugins.h: removed the vdec_thread_t declaration, which
belongs to plugins/mpeg_vdec.
* ./ChangeLog: imported the 0_4_1_branch changelog.
* ./plugins/chroma/i420_yuy2.h: imported a 0_4_1_branch fix.
Sam Hocevar [Sat, 1 Jun 2002 12:32:02 +0000 (12:32 +0000)]
* ALL: the first libvlc commit.
As for video output 4, this breaks almost everything, but I'll slowly
do what remains to be fixed during the weekend.
Changes in vlc:
===============
* vlc is now a very small program (20 lines) which uses the libvlc API;
it is quite simple for the moment but can be extended in the future.
* interfaces, decoders, video outputs, etc. are now almost the same
objects (yes, I know, this is C++ redone in C) and are structured in
a tree. More about this later, but basically it allows the following
nice features:
- several interfaces
- several playlists with several outputs
- input plugins spawning helper interfaces (will be used for DVD menus)
- anything spawning anything; I swear there are useful uses for this!
* libvlc can be used in other programs; I'm currently writing a Mozilla
plugin for my employer.
Things currently broken:
========================
* most interfaces, most ports
* the playlist handling (almost finished rewriting this though). This means
no file can be played from the GUI, you need to use the commandline. This
also means it segfaults at EOF, when exiting the program, and it sometimes
refuses to open a file when asked to.
Olivier Teulière [Fri, 31 May 2002 01:09:51 +0000 (01:09 +0000)]
Win32 interface:
* The "Eject" button is enabled only after we played a dvd or vcd.
* The toolbar is now flat and less cubist.
* Got rid of the ugly slider with some winXP skins.
* Added a config option to limit the number of messages in the log
window (default is set to 500).
* 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.