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.
Sam Hocevar [Wed, 20 Nov 2002 16:43:33 +0000 (16:43 +0000)]
* ./modules/audio_output/waveout.c: audio output now works under WinCE
using the waveout module.
* ./bootstrap: we ignore comments when parsing makefiles.
* ./modules/audio_filter/converter/fixed32tofloat32.c: changed this module
so that it also does float32tofixed32.
* ./modules/*: ported a few other modules to WinCE (most of the time it's
just a #include <errno.h> that needs to be removed).
Gildas Bazin [Wed, 20 Nov 2002 14:09:57 +0000 (14:09 +0000)]
* modules/codec/theora.c, configure.ac.in, modules/codec/Modules.am: new
theora codec plugin.
This plugin is based on the experimental theora codec from the Xiph.Org
foundation (http://www.theora.org/). Because the theora bitstream
specifications are likely to change in the near future, this plugin won't
be compiled by default. If you want to test/develop theora with vlc, you'll
need to configure it with --enable-theora and also make sure you've got a
fresh libogg from cvs.
* modules/demux/ogg.c: modified to handle theora and tarkin bitstreams.
Sam Hocevar [Wed, 20 Nov 2002 13:37:36 +0000 (13:37 +0000)]
* ./evc/plugins.vcp.in: fixed plugin entry points for WinCE.
* ./modules/*: fixed a bunch of modules so that they compile under WinCE,
we now have access_file and the mpeg demux and video decoder working
(http://zoy.org/~sam/vlc/pocketvlc2.png).
Sam Hocevar [Wed, 20 Nov 2002 08:58:24 +0000 (08:58 +0000)]
* ./include/vlc_common.h, ./src/extras/libc.c: exported our custom libc
functions to plugins.
* ./bootstrap: enhanced the project file generation for plugins; we now
parse makefiles to make this easier.
* ./modules/**/Modules.am: reworked a few makefiles so that they are more
easily parsed.
Gildas Bazin [Wed, 20 Nov 2002 01:49:15 +0000 (01:49 +0000)]
* src/video_output/video_output.c: fixed a really old bug in the video output
layer. This bug was only affecting video outputs without direct rendering
capabilities.
Gildas Bazin [Tue, 19 Nov 2002 20:45:09 +0000 (20:45 +0000)]
* include/video.h, include/vlc_config.h, src/video_output/*: changed the
picture buffer allocation scheme to allocate pictures from the render
heap in a clockwise fashion instead of always picking the first available
one from the start of the heap.
This allows us to benefit from ffmpeg's macro-block skipping feature.
As a side effect, we also have less chance of reusing a refrence picture
buffer when we can't link/unlink them.
* modules/codec/ffmpeg/video.c: modified the direct rendering code to benefit
from the macro-block skipping algorithm.
A new flag has also been introduced in the video_output's render heap to
forbid modifications to the render picture buffers (for instance to overlay
subtitles).
Sam Hocevar [Tue, 19 Nov 2002 17:38:07 +0000 (17:38 +0000)]
* ./src/misc/modules.c: p_module->psz_filename is now filled with a real
8 bit string under WinCE.
* ./extras/Win32_msvc: scrapped this directory.
* ./bootstrap: we now parse plugin makefiles to guess what to put in
the MSVC project files. Only the dummy plugin has been tested yet.
Sam Hocevar [Mon, 18 Nov 2002 18:05:13 +0000 (18:05 +0000)]
* ./src/misc/modules.c: support for Unicode filenames under WinCE; VLC now
successfully opens plugins.
* ./modules/misc/dummy/*: hacked the dummy plugin so that it compiles for
WinCE.
Gildas Bazin [Mon, 18 Nov 2002 13:28:09 +0000 (13:28 +0000)]
* configure.ac.in, modules/codec/Modules.am, modules/codec/tarkin.c: added
an experimental tarkin video decoder. You will need to specify the tarkin
tree you want to use with --with-tarkin-tree=.
Warning: Tarkin is still in very early development stage, so this plugin isn't
actually usefull unless you intend to do some development on tarkin itself.
Gildas Bazin [Mon, 18 Nov 2002 13:02:16 +0000 (13:02 +0000)]
* added a wxwindows interface using the wxWindows cross-platform GUI framework.
The interface is quite basic for now but should be functional anyway.
(you need to have wxWindows >= 2.3.0 installed to use this plugin)
Laurent Aimar [Sun, 17 Nov 2002 06:46:56 +0000 (06:46 +0000)]
* ffmpeg: disable direct rendering by default. I have too many files
that don't work with it (I don't see why it doesn't work :(
* mp4: fix a bug in timestamp calculation. Replace s/u* by s/uint*_t
* avi : remove an useless debug message.
* src/misc/objects.c : fix stream output object allocation.
Laurent Aimar [Fri, 15 Nov 2002 18:10:26 +0000 (18:10 +0000)]
* modules/demux/util : add a text subtitle demuxer. (Module called by demux).
MicroDVD, SubRIP, SSA subtitle format should work...
Options: --sub-file <subtitle file> [--sub-fps, --sub-delay --sub-format].
* modules/demux/avi : make use of subtitle parser.
* modules/demux/asf : display movie length. (It will not work with live
streams of course).
modules/codec/spudec : use i_dts to send end of display time for subtitle.
(Yes it's ugly, but it works :)
Gildas Bazin [Fri, 15 Nov 2002 17:17:29 +0000 (17:17 +0000)]
* configure.ac.in, modules/audio_output/arts.c, modules/audio_output/esd.c:
fixed the arts and esd audio plugins after the recent changes to aout3
(untested).
Gildas Bazin [Fri, 15 Nov 2002 16:27:10 +0000 (16:27 +0000)]
* configure.ac.in, modules/audio_output/directx.c, modules/audio_output/waveout.c:
fixed the waveout and directx audio plugins after the recent changes to aout3.
Gildas Bazin [Fri, 15 Nov 2002 14:41:49 +0000 (14:41 +0000)]
* modules/access/http.c: added an http-proxy config variable. If the variable
is not set, we'll still look at the value of the http_proxy environment
variable.
Gildas Bazin [Fri, 15 Nov 2002 01:23:54 +0000 (01:23 +0000)]
* configure.ac.in: fixed a few typos regarding LDFLAGS_access_*. Re-enabled
the oss plugin as it seems to be working fine.
* src/audio_output/input.c: fixed an obscure bug... (strange one though:
int foo = -1; unsigned int bar = 2; __MAX( foo, bar) == -1 ).