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 :)
Sam Hocevar [Fri, 6 Dec 2002 12:54:30 +0000 (12:54 +0000)]
* ./modules/access/http.c: code clean-up. removed sizeof()-1 calls where we
meant strlen(), removed useless strcmp() calls, implemented atoll() for
systems where it does not exist, fixed a memory leak, fixed a minor data
corruption.
some support for redirection. Moved the break on returncode >=400 to after
the header parsing. This will be usefull if anyone wants to implemet
http-passwd support
Laurent Aimar [Fri, 6 Dec 2002 11:53:45 +0000 (11:53 +0000)]
* ffmpeg: sync with latest ffmpeg cvs. As it need too much
#if LIBAVCODEC_BUILD , I've enable direct rendering only with latest
ffmpeg cvs (anyway dr isn't cleanly ported to the latest version).
Boris Dorès [Fri, 6 Dec 2002 06:42:24 +0000 (06:42 +0000)]
* src/playlist/playlist.c : playing again a playlist already in a
playing state resets the input speed to normal to make sure the
stream isn't paused or slowed or played faster anymore.
By doing that, fixes the following bug of the Windows interface:
when pushing the play button on a paused or slowed stream, nothing
used to happen.
* modules/gui/win32/playlist.cpp : when pushing the play button and the
playlist is empty, displaying the playlist window
* win32.cpp : rephrasing the module description to "Native Windows
interface module"
Sam Hocevar [Thu, 5 Dec 2002 17:16:30 +0000 (17:16 +0000)]
* ./ipkg/Makefile.in: removed a file handled by automake.
* ./configure.ac.in: additional warning flags for GCC.
-Wconversion
Warn if a prototype causes a type conversion that is different from
what would happen to the same argument in the absence of a proto-
type.
-Wsign-compare
Warn when a comparison between signed and unsigned values could
produce an incorrect result when the signed value is converted to
unsigned.
-Wunreachable-code
Warn if the compiler detects that code will never be executed.
-Wdisabled-optimization
Warn if a requested optimization pass is disabled.
See the gcc documentation for more explanations. This triggers a lot of
warnings everywhere, and at first sight they're all worth fixing. Code
quality matters, too, so let's fix'em :)
Eric Petit [Wed, 4 Dec 2002 06:23:08 +0000 (06:23 +0000)]
* configure.ac.in, mms.c, sap.c, ipv4.c: added network support for BeOS 5
(Dano is no more needed); multicast still doesn't work.
UDP (unicast) and HTTP have been successfully tested, mms is untested.
* sap.c: BeOS doesn't have memccpy
* VideoOutput.cpp: forgot to remove a printf
Arnaud Schauly [Tue, 3 Dec 2002 23:36:41 +0000 (23:36 +0000)]
* src/playlist/playlist.c : Added playlist_AddItem (enqueues
playlist_item_t instead of psz_target ). Now playlist_Add uses
playlist_AddItem to enqueue.
* include/vlc_playlist.h : Added a psz_uri field in the playlist_item_t
structure.
* src/input/input.c : takes item->psz_uri argument to start playing an
item.
Laurent Aimar [Tue, 3 Dec 2002 17:00:16 +0000 (17:00 +0000)]
* adpcm.c: add adpcm decoding support (Now just ms and ima adpcm from
microfsoft, not yet ima4)
* wav, asf, avi: fix fourcc creation for adpcm. (Nevertheless adpcm
could not work with asf because of asf audio scrambling unsupported in asf
demuxer). Seek will not work, because vlc send garbage and then break stream
alignment.(I will try to fix that).
Arnaud Schauly [Tue, 3 Dec 2002 16:29:04 +0000 (16:29 +0000)]
* Added a session announcement protol module (enabled by default).
* Added the PLAYLIST_CHECK_INSERT option to the playlist. That option
checks previously enqueued sessions before enqueing.
Olivier Teulière [Sat, 30 Nov 2002 01:14:55 +0000 (01:14 +0000)]
* ./modules/gui/win32/dragdrop.cpp: we can now drag and drop video
files on the interface or on the playlist (Closes: #10).
* ./modules/gui/win32/playlist.cpp: factorized a lot of code.
* ./modules/gui/win32/*: reorganized some code here and there.
made the vlc mozilla plugin a drop-in replacement for wmp in most embedded
wmp sites I could find, by adding som mimetypes and parsing some more
parameters passed by mozilla. Also disabled the StreamAsFile function since
mozilla tend to pass it non-exsisting files.
* Correct socklen_t detection.
* Fix for S/PDIF encapsulation on big endian systems.
* S/PDIF output for Mac OS X, courtesy of Heiko Panther <heiko_panthe@mac.com>.
Sam Hocevar [Thu, 28 Nov 2002 17:35:01 +0000 (17:35 +0000)]
* ./src/video_output/video_output.c, modules/*: factorized video output
creation code into vout_Request which looks for existing vout objects
and spawns a new one if none was found.
Laurent Aimar [Thu, 28 Nov 2002 16:32:29 +0000 (16:32 +0000)]
* all: some clean up with WAVEFORMATEX and endian issues. Somebody could
test if mp4,asf,avi,wav demuxers and araw,ffmpeg,faad decoders work under
big endian architectures ? (else could you give vlc log )
* set b_seakable to false for http/1.0 streams such as those from icecast.
* allow some unusual, but legal ways to construct the http headers, and
clean up the header parsing code. parsing other headers ( like the mime-type
) should be very easy now.
Sam Hocevar [Thu, 28 Nov 2002 14:34:39 +0000 (14:34 +0000)]
* ./src/video_output/video_output.c: added a --aspect-ratio option to force
the aspect ratio of the stream. Two different usages are possible, either
int:int ("16:9") to specify a real aspect ratio, or float ("1.25") to
specify pixel squareness.
Note that it does not work properly yet; it will need an API change in
the video output layer that I'm working on.
Boris Dorès [Wed, 27 Nov 2002 21:51:30 +0000 (21:51 +0000)]
- Enterely new layout for the preference window of the native win32
interface, in order to improve its clarity (the dialog box is now even
a bit smaller) and to get closer to Windows standards.
(second part of the job, and hopefully the last for now, begun with
Ipkiss a few days ago by using CheckListBoxes)
Still need some work to get the interface compatible with Windows XP
skins.
Olivier Teulière [Tue, 26 Nov 2002 21:52:42 +0000 (21:52 +0000)]
* ./modules/gui/win32/preferences.cpp: used CheckListBoxes instead
of ListViews, because they are more intuitive. This eliminates the
"Select" button and the "Selected" label.
The preferences window still needs some work though...
Gildas Bazin [Tue, 26 Nov 2002 10:55:19 +0000 (10:55 +0000)]
* modules/video_output/directx/directx.c: don't fail miserably when we can't
create a surface in video memory. We now automatically toggle the b_use_sysmem
flag in this case and give it another shot.
Eric Petit [Tue, 26 Nov 2002 01:06:08 +0000 (01:06 +0000)]
* ALL: more intensive use of the VLCWrapper class
* PreferencesWindow.*: renamed a few variables (using some of the
OpenTracker conventions)
* clean up
Sam Hocevar [Mon, 25 Nov 2002 19:29:10 +0000 (19:29 +0000)]
* ./modules/video_chroma/i420_rgb16.c: merged the RV15 and RV16 conversions
because they're basically the same. Also, the MMX conversions now check
that the bitmasks are the ones we expect.
Laurent Aimar [Mon, 25 Nov 2002 15:08:34 +0000 (15:08 +0000)]
* mms: enable seek :) It works for me with both udp and tcp. Somebody
could check if it compiles on other OS than linux ? (I don't known what
headers should be included)
* asf: fix to support seeking with mms
Note: You cannot seek and use demuxdump demuxer...