Yves Duret [Fri, 20 Dec 2002 07:35:39 +0000 (07:35 +0000)]
- added rawdv plugin.
- make it working again with daily CVS snapshot.
- some typos fixed.
- better workaround for broken mdk configure macro (aka don't harcore arch in name).
* modules/demux/ogg.c: provide some file info. Tested with the tarzan.ogm
* modules/codec/vorbis.c: parse the vorbis comment (can anyone tell me why the
comment is embedded in the logical stream and not directly in the
container?). The vorbis comments are in utf8, so extended characters
currently get messed up.
Gildas Bazin [Wed, 18 Dec 2002 17:52:23 +0000 (17:52 +0000)]
* src/libvlc.h, src/input/input_dec.c: added an "sout-video" and
"sout-audio" config option that allows to selectively enable audio or
video stream output. This is very useful if you want to play video on
one computer and audio on another one ;)
Laurent Aimar [Wed, 18 Dec 2002 16:31:25 +0000 (16:31 +0000)]
* video.c: with mpeg4 stream, we try to decode a picture only when we have
received an header (vol). (It prevents some segfaults with mpeg4 streaming).
Sam Hocevar [Wed, 18 Dec 2002 09:27:26 +0000 (09:27 +0000)]
* ./modules/video_output/qte/.cvsignore: added a missing .cvsignore.
* ./modules/video_chroma/Modules.am: added i420_rgb_c.h to the distribution,
thanks to Stepan Roh for spotting this.
Gildas Bazin [Tue, 17 Dec 2002 21:15:43 +0000 (21:15 +0000)]
* modules/demux/rawdv.c: new raw dv demuxer (only video for now). I
didn't find a way to detect correctly a raw dv file so for now we just
check the file extension (.dv). You can additionaly force this demuxer.
PS: the ffmpeg plugin works quite well for decoding dv videos.
Jean-Paul Saman [Mon, 16 Dec 2002 21:48:17 +0000 (21:48 +0000)]
Workaround for crash in ReadDirectory when called from the comboURL text box. For now it is mandatory to prefix filepaths on local disk with "file://" when typing it in the comboURL box.
Gildas Bazin [Mon, 16 Dec 2002 16:48:04 +0000 (16:48 +0000)]
* modules/access/udp.c, modules/access/rtp.c, modules/misc/network/ipv4.c: only check for
the "server-port" config variable in the access plugins. access_output plugins will now
pick a port at random, thus allowing sout to work out of the box on a localhost. (thanks
Meuuh)
Boris Dorès [Mon, 16 Dec 2002 00:41:00 +0000 (00:41 +0000)]
- disc.* : a few enhancements in the design of the "open disc" dialog
box, including the ability to select dvd menus instead of a particular
title and chapter
- preferences.dfm : multiline tabs
Laurent Aimar [Sun, 15 Dec 2002 23:39:41 +0000 (23:39 +0000)]
* modules/mux/mpeg/*: should fix builtin compilation
* modules/access/ftp.c : an ftp access, buggy but it begins to work.
The main issue is about password confidentiality so you must know
what you are doing :((
Gildas Bazin [Sun, 15 Dec 2002 16:28:20 +0000 (16:28 +0000)]
* include/vlc/vlc.h: added a new pi_types field to vlc_list_t. This field will be used
later on by the object variables functions. I'm adding it now because it also happens to
solve a binary compatibility problem between gcc and bcc. (depending on compilers,
structs of 32 < size <= 64 bits can be returned either in a register or in the stack).
Gildas Bazin [Sat, 14 Dec 2002 19:34:07 +0000 (19:34 +0000)]
* src/misc/objects.c: implemented the FIND_CHILD mode for vlc_list_find().
vlc_object_get() now increments the refcount of the object so you'll need to release
the object at some point.
* src/misc/variables.c, ALL: var_Change() with VLC_VAR_GETLIST now returns a vlc_value_t
which points to a vlc_list_t.
Boris Dorès [Fri, 13 Dec 2002 17:05:12 +0000 (17:05 +0000)]
- * : start playing only when opening a stream from the main window;
when opening it from the playlist window, add it to the list, but
don't change anything to the playing state and current stream.
Boris Dorès [Fri, 13 Dec 2002 16:26:35 +0000 (16:26 +0000)]
- vlc_playlist.h, playlist.c: added the ability to save a playlist to
and restore it from a file chosen by the user.
- win32/*:
- implementation of the previous feature in the win32 interface
> -> what the other interfaces need to do to support it is simply to
> call the two following functions:
> int playlist_LoadFile(playlist_t *p_playlist,const char *psz_filename);
> int playlist_SaveFile(playlist_t *p_playlist,const char *psz_filename);
> where psz_filename is the name of the destination/source file.
Gildas Bazin [Thu, 12 Dec 2002 15:10:58 +0000 (15:10 +0000)]
* src/input/input_clock.c, include/input_ext-intf.h: introduced an i_pts_delay field in
input_thread_t (initialised to DEFAULT_PTS_DELAY).
* modules/access/*: i_pts_delay is now configurable on an access module basis. The pts
delay for http and mms have been raised to 4 * DEFAULT_PTS_DELAY, which is about 1.2
seconds worth of caching.
Gildas Bazin [Wed, 11 Dec 2002 22:56:42 +0000 (22:56 +0000)]
* modules/codec/mad/*: don't let mad drop corrupted mpeg frames without telling us. When
this happens, we miscalculate the pts of the next valid frame, which in turn causes heavy
resampling. This fix should be most useful for web radios.
Jean-Paul Saman [Wed, 11 Dec 2002 21:50:03 +0000 (21:50 +0000)]
Fixed qte video output segmentation fault during initialization.
The following things have still to be fixed:
- segmentation fault on destroy
- video placing and
- orientation
- video line spacing is wrong
Laurent Aimar [Wed, 11 Dec 2002 20:13:50 +0000 (20:13 +0000)]
* all: access plugins should not modify
p_input->stream.p_selected_area->i_tell when reading data. (It's done in
input_SplitBuffer). (But access should still set it on a "seek")
Gildas Bazin [Tue, 10 Dec 2002 18:22:01 +0000 (18:22 +0000)]
* ALL: fixed a f*ckage I introduced recently ;) var_Type() now returns 0 when the variable
doesn't exist, but the rest of the code wasn't updated according to this new behaviour.
* modules/audio_output/waveout.c: changed a few error messages into warning messages.
Gildas Bazin [Tue, 10 Dec 2002 12:46:35 +0000 (12:46 +0000)]
* configure.ac.in: fixed ugly hack in sdl detection code (which also broke my build :p)
* include/configuration.h, include/modules_inner.h: proper fix for a bug that allowed gcc
to put things in the stack instead of the data segment.
Gildas Bazin [Mon, 9 Dec 2002 23:37:54 +0000 (23:37 +0000)]
* include/configuration.h: rolled back the last changes made to this file. There is no
sense in manually initializing all the fields of module_config_t as it will be done by the
compiler anyway. Furthermore mingw32 gcc seems to have problems optimizing code
that manually initializes structures to 0.
Boris Dorès [Mon, 9 Dec 2002 00:52:42 +0000 (00:52 +0000)]
- new headphone channel mixer with virtual spatialization effect : This
effect should give you the feeling that you stands in a real room with
a complete 5.1 speaker set when using only a headphone, providing a
more realistic sound experience. It should also be more comfortable
and less tiring when listening to music for long periods of time.It
works with any source format from mono to 5.1.
-> please try it and feel free to give me some feedback. Some
improvements are already planned (adding echo, more configuration
options, ...).
NB: whereas the filter itself is in a (very first) stable version, the
way it is integrated to the filter chain is only a _temporary_ hack
since it's the audio ouput core (input.c actually) which is directly
responsible for it. Integrating it in a more suitable way will
probably require some work on the way the filters are selected as
well as on the configuration level, but I'm working on it :)
Gildas Bazin [Sun, 8 Dec 2002 19:56:04 +0000 (19:56 +0000)]
* modules/gui/wxwindows/*: compilation fixes for wxX11 (it doesn't support drag and drop
yet). Compilation fix for MacOSX as well (wxEntry() not declared).
* src/misc/variables.c: added a FreeMutex() function.
* configure.ac.in: Disabled -Wtraditional as it produces much more bogus
warnings than real ones.
* audio output: New intf-change variable to know when audio-channels
and audio-device have changed.
* video output: New intf-change variable and vout_VarCallback, to know
when video-device has changed (OS X port).
* modules/gui/macosx/*: Menus for audio channels, implemented volume
management, added a menu for screen selection.
Gildas Bazin [Sat, 7 Dec 2002 15:25:27 +0000 (15:25 +0000)]
* ALL: a few updates to the variables API:
- got rid of the VLC_VAR_COMMAND variable type and introduced the VLC_VAR_ISCOMMAND flag
instead. This simplifies things and avoid the strange command variables behaviour. Command
variables will now trigger their callback on var_Set() like any other variables (look in
modules/control/rc/rc.c for an example).
- Renamed the VLC_VAR_ISLIST flag into VLC_VAR_HASCHOICE.
- Added a new VLC_VAR_VOID variable type. This can be useful in conjunction with
VLC_VAR_ISCOMMAND for instance.
Sam Hocevar [Fri, 6 Dec 2002 13:05:22 +0000 (13:05 +0000)]
* ./modules/access/mms/mms.c: fixed signed/unsigned comparisons, and fixed
a bug I found in Read(). No idea whether it was triggered before nor what
it was doing, though :)