Sam Hocevar [Tue, 19 Mar 2002 00:30:44 +0000 (00:30 +0000)]
* ./plugins/chroma/i420_rgb8.c: fixed a warning.
* ./plugins/filter/deinterlace.c: fixed chroma deinterlacing.
* ./plugins/kde/kde.cpp: the KDE interface compiles again.
* ./plugins/mpeg_system/mpeg_es.c: fixed a segfault I introduced today.
* ./plugins/network/ipv4.c: cosmetic fix.
* ./src/interface/main.c: fixed a typo in the --help output.
* ./src/misc/netutils.c: fixed a segfault in the vlcs communication; still
unstable but solving other bugs won't do any good without rewriting the
whole playlist code. Which I'm doing right now.
Sam Hocevar [Mon, 18 Mar 2002 19:14:52 +0000 (19:14 +0000)]
* ./extras/MacOSX_dvdioctl: removed outdated files.
* ./plugins/fx/scope.c: fixed an infinite loop error.
* ./plugins: fixed segfaults in various demux plugins.
* ./plugins/sdl/vout_sdl.c: SDL_VIDEODRIVER can be specified from the
command line; try "--vout sdl:aalib"
Sam Hocevar [Sun, 17 Mar 2002 17:00:38 +0000 (17:00 +0000)]
* ./plugins/chroma/i420_rgb8.c: plain C 8 bpp transformation.
* ./plugins/chroma/i420_rgb16.c: plain C 24/32 bpp transformations.
* ./plugins/ggi/ggi.c: support for 8 bpp displays.
* ./plugins/sdl/vout_sdl.c: support for 8 bpp displays.
* ./plugins/x11/xcommon.c: support for 8 bpp displays.
* ./src/video_output/video_output.c: fixed a segfault.
Gildas Bazin [Sun, 17 Mar 2002 13:53:21 +0000 (13:53 +0000)]
* added an alternate fullscreen method. With this method, _nothing_ is allowed
to be displayed on top of the video (especially not taskbars, etc...).
Of course this can also be annoying sometimes, this is why it's an option.
PS: does anybody know how not to propagate the Ctrl-Alt-Tab key event to the
window manager. I tryed XChangeWindowAttributes with do_not_propagate_mask but
it doesn't seem to work.
Gildas Bazin [Sun, 17 Mar 2002 11:12:08 +0000 (11:12 +0000)]
* small fix for the config file. The parser assumes that the config file is
divided into sections (a section is the config data for a plugin and begins
with something like [foo]), so the comment for the beginning of the section
must be after the section marker and not before.
If you want to illustrate the problem (without this fix):
- save vlc's config
- exit from vlc and remove for example the dsp plugin (rm plugins/dsp.so)
- resave vlc's config
and now look at the end of the config file, it's all screwed up.
Tony Castley [Sun, 17 Mar 2002 05:48:18 +0000 (05:48 +0000)]
Tidied code and prevented curruption on window not containing the video.
Video window now returns to correct size and position after toggling
full screen.
Sam Hocevar [Sat, 16 Mar 2002 23:03:19 +0000 (23:03 +0000)]
* ./configure.in: more modules are plugins.
* ./src/misc/configuration.c: changed ~/.VideoLan/vlc to ~/.videolan/vlcrc,
and a few cosmetic changes (sorry Gildas for the butchery).
* ./plugins/chroma/i420_rgb16.c: C version of the I420 to RV15/16 chroma.
Gildas Bazin [Sat, 16 Mar 2002 01:40:58 +0000 (01:40 +0000)]
* This the last piece of the new configuration module. You can now save your
configuration options (only from the gtk/gnome interface for now). The config
file will be saved as ~/.VideoLan/vlc
It's not quite yet finished (well there are a few small details to sort out),
but I'm going away for the week-end and I wanted to commit this before so you
can all have a play with it :)
Sam Hocevar [Fri, 15 Mar 2002 18:20:27 +0000 (18:20 +0000)]
* ./plugins/spudec/spu_decoder.c: we now analyze the subtitle image
data to find the border color and the inner colors when there was
no way to find the palette data (network stream).
Sam Hocevar [Fri, 15 Mar 2002 04:41:54 +0000 (04:41 +0000)]
* ./Makefile: fixed OS X vlc.app compilation dependencies.
* ./configure.in: fixed the endianness check under Solaris.
* ./src/input/input.c: strings are now initialized to "" instead of NULL.
* ./plugins/spudec/spu_decoder.c: we now properly support the subtitle
palette information we get from the DVD. Subtitles rox !
* ./src/video_output/vout_subpictures.c: removed all DVD-specific routines
and put them into spu_decoder.c.
Stéphane Borel [Tue, 12 Mar 2002 18:37:46 +0000 (18:37 +0000)]
*New configuration option to choose audio output format at runtime.
It allows to select spdif pass-through decoder with --ac3_adec and to
remove the ugly b_ac3 in main.h
As a consequence --spdif doesn't work anymore: you should use --ac3_adec pass
*Fixed a typo in main.c
*Return the option name in error message for unknown option intead of the
argument.
Gildas Bazin [Mon, 11 Mar 2002 07:23:10 +0000 (07:23 +0000)]
* New GTK configuration interface. This interface is generated dynamically
at run-time from the configuration data contained in each plugin.
* config_PutPszVariable and config_GetPszVariable are now thread safe.
* Few modifications/optimizations to the config module.
* Got rid of all the _VAR macros in config.h
This is the first version of the GTK configuration interface. There are still
a few raw corners and a fews things left to do, but it basically does what
I wanted.
Constructive comments like it sucks or it smells rotten fish are of course
very welcome. And if there are GTK gurus out there, please don't hesitate to
add your touch.
I also started to add usefull comments to the configuration options but I'm not
really good at this kind of thing so if people want to help, they can finish
the job. For this look at all the *_LONGTEXT macros at the top of main.c
(PS: Translations will also be appreciated but not right now as the interface
will likely change again in the few coming days)
Stéphane Borel [Fri, 8 Mar 2002 22:58:12 +0000 (22:58 +0000)]
Rewrite most functions in DVD plugin. Some old bugs might have been
solved in the operation. The plugin some be more readable now, and
should produce fewaer segfaults (I hope so :p)
Sam Hocevar [Wed, 6 Mar 2002 23:54:28 +0000 (23:54 +0000)]
* ./src/interface/main.c: disabled the GNOME segfault dialog in debug
mode. We want nice, clean segfaults, with huge core files and a lot
of rattle noise.
Sam Hocevar [Wed, 6 Mar 2002 03:27:17 +0000 (03:27 +0000)]
* ./plugins/ac3_adec/ac3_parse.c: ac3dec is now less verbose.
* ./src/interface/interface.c: fixed a deadlock when seeking the
stream using the keyboard arrows.
Stéphane Borel [Wed, 6 Mar 2002 01:20:56 +0000 (01:20 +0000)]
*Removed an occurance of former angle item in gtk.
*Fixed a bug in ES management introduced lately in DVD/DvdRead.
*Beginning of reorganisation in DVD plugin source files, in order to try to
make it easier to understand. There is some work left though :p.
*Decreased the score for VCD plugin, as the VCD demuxer was used even
for DVD :p. It should make autodetection work.
Some comment:
-I think that VCDInit should make a test on the access plugin and be launched
only if the access plugin is VCD,
-VCDOpen shouldn't set p_input->b_error: if it fails we just try another
module,
-PSRead doesn't need to be duplicated anymore: input_ReadPS is now available
for plugins (cf Christophe's commit).
Please comment around that: I'd like to know if the behaviour I've described
is the one everyone expects.
* 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.