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...
separated the code to parse html files with embedded wmp, and the code to
parse asx files. Added a new shortcut "html" to force the "html" behaviour.
Reduced number of false positives for both html and asx files. We now also
trigger on the content of files, since html and asx files are often
autogenerated on the webserver using php or asp.
Sam Hocevar [Sat, 23 Nov 2002 20:37:10 +0000 (20:37 +0000)]
* ./modules/control/rc/rc.c: the seek command is now "seek" and not "r",
and it uses a command variable like other controls. This also fixes a
bug that prevented to have spaces between the command and its argument.
Sam Hocevar [Sat, 23 Nov 2002 02:40:30 +0000 (02:40 +0000)]
* ./modules/video_output/wingdi.c: the GDI video output now properly sets
the bitmasks; we're not limited to 8bpp and 16/24 works.
* ./modules/video_filter/*: the video filters now work under WinCE.
Sam Hocevar [Fri, 22 Nov 2002 20:27:19 +0000 (20:27 +0000)]
* ./modules/video_output/wingdi.c: ported the wingdi plugin to Win32; it
somewhat works under Wine (if you force internal buffers to 8bpp), but
doesn't work under Win2k. Any hints welcome.
* ./configure.ac.in: activated the wingdi plugin by default.
Sam Hocevar [Fri, 22 Nov 2002 18:35:57 +0000 (18:35 +0000)]
* ./modules/access/mms/var_buffer.h: this file is now a separate .c, to
prevent gcc's optimizer to go amok with nested inline functions, loop
unrolling and such things that we don't really need in an access plugin.
Sam Hocevar [Fri, 22 Nov 2002 15:19:47 +0000 (15:19 +0000)]
* ./modules/video_output/wingdi.c: implemented offscreen rendering with
fast blit (well at least it was considered "fast" back in the times of
Windows 3.1). Default is 8bpp because that's what my iPaq does (no
palette support yet though), 16bpp can be chosen at compile time and
works perfectly in the emulator.
Gildas Bazin [Thu, 21 Nov 2002 21:37:46 +0000 (21:37 +0000)]
* modules/codec/Modules.am, configure.ac.in, modules/codec/vorbis.c: added
a tremor decoder module using libvorbisidec (aka tremor) from xiph.org.
This module allows decoding vorbis audio on hardware without a fpu
(--enable-tremor).
* modules/LIST: added entries for tremor and theora.
Gildas Bazin [Thu, 21 Nov 2002 15:51:57 +0000 (15:51 +0000)]
* src/playlist/playlist.c: fixed deadlock in playlist.
* modules/audio_output/oss.c: don't play blank samples when we are starving
for data but our internal buffers are not empty. Some cleanup too.
Sam Hocevar [Thu, 21 Nov 2002 13:53:32 +0000 (13:53 +0000)]
* ./modules/video_output/wingdi.c: skeleton of a Windows GDI video output.
* ./modules/access/file.c: the file access plugin gets the real file size
under WinCE.
* ./modules/audio_filter/converter/u8tofixed32.c: added this conversion
filter to play some WAV files without an FPU.
* ./bootstrap: bootstrap --update-vc doesn't rely on the Makefile's presence.
Gildas Bazin [Thu, 21 Nov 2002 09:39:39 +0000 (09:39 +0000)]
* modules/demux/ogg.c: better handling of PCRs (we now base our calculations
on all sub-streams instead of just using one of them). Some code factorisation
too.
Sam Hocevar [Wed, 20 Nov 2002 19:07:27 +0000 (19:07 +0000)]
* ./src/misc/messages.c: added ^Ms to the WinCE logfile.
* ./bootstrap: fixed a typo that prevented per-object target directories
to work.
* ./evc/*, ./msvc/*: removed project files; they're becoming a bit large
(more than 1MB) and I don't want to spoil the CVS with them.