Sam Hocevar [Sat, 9 Nov 2002 16:34:53 +0000 (16:34 +0000)]
* ./Makefile.am: added a "update-vlc.dsp" rule to create the MSVC project
file from the makefile.
* ./msvc/*: moved the MSVC files here.
* ./src/extras/*: moved the extra code here (used to be in src/misc,
extras/GNUgetopt and extras/Win32_msvc).
* ./include/*: a few warning fixes.
Gildas Bazin [Fri, 8 Nov 2002 14:23:49 +0000 (14:23 +0000)]
* configure.ac.in, modules/audio_filter/converter/*: added a s8tofloat32.c and
u8tofloat32.c converter.
* modules/codec/araw.c: modified to also decode u8 pcm audio samples.
Gildas Bazin [Fri, 8 Nov 2002 10:26:54 +0000 (10:26 +0000)]
* ALL: using "%ll" in printf format strings is not portable (notably on win32) so
we now use the I64Fx familly of macros to print 64 bits numbers (x being
replaced by d,i,o,u,x or X).
eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );
* src/misc/messages.c: got rid of ConvertPrintfFormatString().
Gildas Bazin [Thu, 7 Nov 2002 19:31:08 +0000 (19:31 +0000)]
* INSTALL.win32, include/vlc_config.h, src/libvlc.h: changes to reflect the
fact that libdvdcss now needs a colon after the DVD drive letter (on Win32).
* src/misc/messages.c: on Win32 only use fflush() if in debug mode.
* src/misc/win32_specific.c: try to raise the our process priority slightly
above normal. This prevent us from suffering too much from normal activity
of the OS.
Gildas Bazin [Wed, 6 Nov 2002 21:48:24 +0000 (21:48 +0000)]
* modules/codec/spudec/*: modified the spu decoder to handle text subtitles.
Only one format of text subtitles is supported right now but we should be able
to expand this by modifying modules/codec/spudec/text.c.
Most of this work comes from by Andrew Flintham ( thanks a bunch Andrew :).
* share/font-eutopiabold36.rle: new font for the text subtitler, courtesy of
Andrew Flintham.
* AUTHORS: added Andrew Flintham to the authors file.
* modules/demux/ogg.c: modified the ogg demuxer to handle subtitles.
* modules/codec/ffmpeg/*: modified the ffmpeg decoder to always keep the last decoded
frame linked.
Johan Bilien [Wed, 6 Nov 2002 15:41:29 +0000 (15:41 +0000)]
* modules/access/vcd/vcd.*: added entry points support (sort of
chapters).
* modules/gui/gtk/gtk_callbacks.c: added some locks to the
navigation functions
Sam Hocevar [Wed, 6 Nov 2002 09:26:25 +0000 (09:26 +0000)]
* ./src/misc/extras.c: removed a duplicate calculation inside a macro.
* ./src/libvlc.c: fixed a bug causing all commandline targets to be ignored
for playback except the last one.
* ./modules/codec/dv.c: we detach p_vout before quitting.
* ./modules/codec/xvid.c: fixed image corruption, added a direct rendering
option which doesn't work yet.
Sam Hocevar [Tue, 5 Nov 2002 22:53:21 +0000 (22:53 +0000)]
* ./modules/codec/xvid.c: beginning of a video decoder using the Xvid codec
from xvid.org; compile with --enable-xvid --with-xvid-tree=..., run with
--codec xvid,any (the priority is lower than ffmpeg's for the now).
todo list: direct rendering, better buffer handling, see why only I frames
are rendered OK here... probably more.
Gildas Bazin [Tue, 5 Nov 2002 18:25:43 +0000 (18:25 +0000)]
* All: moved the check for "video" and "audio" config variables to
input_SelectES(). That allows --no-video and --no-audio to automagically
work for all demuxers.
Gildas Bazin [Tue, 5 Nov 2002 10:07:56 +0000 (10:07 +0000)]
* modules/codec/ffmpeg/*: modified the ffmpeg video codec to use direct
rendering when possible.
Use BITMAPINFOHEADER from include/codecs.h + got rid of Little Endian
translations that were already done in the demux.
* modules/demux/avi/* modules/demux/asf/*: Use BITMAPINFOHEADER from
include/codecs.h.
Sam Hocevar [Mon, 4 Nov 2002 15:04:45 +0000 (15:04 +0000)]
* ./Makefile.am: we properly install plugins in the OS X vlc.app directory.
* ./mozilla/npvlc_rc.rc, ./mozilla/vlcplugin.h: added the Ogg mime type to
the Mozilla plugin properties.
* ./debian/control: added libogg-dev and libvorbis-dev dependicies to the
Debian build script.
Gildas Bazin [Sun, 3 Nov 2002 23:00:32 +0000 (23:00 +0000)]
* include/codecs.h: new header file to store information shared by decoders
and demuxers, like the BITMAPINFOHEADER structure for instance.
* modules/demux/ogg.c: the ogg demuxer should now work nicely with ogm files
(including for the video). It has only been tested with a few streams
produced with dvd::rip and ogmmerge though.
modules/codec/dv/dv.h: workaround for a namespace collision (#undef vlc_error)
debian/rules: update the location of libgnome_main_plugin.so and
libgtk_main_plugin.so. Added the ui.rc file to the kvlc package. All debian
packages seem to build now (even though there were some warnings)
Gildas Bazin [Fri, 1 Nov 2002 15:06:23 +0000 (15:06 +0000)]
* src/audio_output/common.c, include/aout_internal.h: added a new function
aout_FifoFirstDate() that allows the aout plugin to schedule the first
play.
* src/audio_output/output.c: fixed another problem affecting the audio quality.
* modules/audio_output/directx.c: improvements. The buffering scheme has been
changed to be less affected by temporary starving. We also schedule the first sample to play.
Sam Hocevar [Thu, 31 Oct 2002 11:16:30 +0000 (11:16 +0000)]
* ./src/misc/variables.c: callbacks are now called after the variable has
been modified. Maybe we'll need the other type, too, but this change will
make things simpler in aout3.
* ./src/playlist/playlist.c: removed two unused variables.
* ./src/misc/modules.c: removed a debug message I had forgotten.
* ./src/misc/modules_plugin.h.in: fixed a typo (thanks bozo).
Gildas Bazin [Thu, 31 Oct 2002 09:40:26 +0000 (09:40 +0000)]
* modules/codec/spudec/spudec.c, modules/codec/spudec/parse.c: fixed a couple
of problems introduced with the recent changes to the bitstream facility.
* src/audio_output/output.c: fixed a quite annoying bug in aout3 that was
triggering unnecessary trashing of audio frames.
Sam Hocevar [Tue, 29 Oct 2002 13:22:48 +0000 (13:22 +0000)]
* ./include/vlc_common.h: defined the INSERT_ELEM and REMOVE_ELEM macros
which are a generic use of the realloc/memmove/index++ scheme we use for
dynamic arrays.
* ./src/misc/variables.c: properly free the choice list upon variable
destruction.
Gildas Bazin [Mon, 28 Oct 2002 22:31:50 +0000 (22:31 +0000)]
* configure.ac.in: libvorbis depends on libogg.
* include/vlc_threads.h: changed the different threads priorities to optimize
audio and video quality as well as responsiveness.
* modules/audio_output/waveout.c modules/audio_output/directx.c: waveout and
directx will now use the float32 format if available. Various tweaks for
better performance.
Gildas Bazin [Mon, 28 Oct 2002 22:23:23 +0000 (22:23 +0000)]
* modules/codec/mpeg_video/parser.c: add_module() for "mpeg-motion" wasn't using
the right capability.
* modules/codec/ffmpeg/ffmpeg.c: fixed typo (re-enabled default case in a
switch).
* modules/codec/a52.c: fixed the AOUT_DOLBY detection.
Sam Hocevar [Mon, 28 Oct 2002 16:26:44 +0000 (16:26 +0000)]
* ./configure.ac.in: we explicitely link the dvdplay plugin with libdvdcss
if it was found.
* ./modules/access/dvdplay/tools.c: we don't try to stat the device if it
looks like a Win32 drive.
* ./src/misc/messages.c: we only flush stderr under Win32.
Sam Hocevar [Mon, 28 Oct 2002 13:25:56 +0000 (13:25 +0000)]
* ./Makefile.am: fixed missing build dependencies for the Mozilla plugin.
* ./src/misc/variables.c: implemented min/max and steps for integer and
float variables.
* added a simple dialog to show id3-tags and other info
* finally added languages/subtitles selections menus, found and got fixed two
bugs in kdelibs in the process, but only one of them will get into kde 3.1.
* made the location of the ui.rc file configureable, usefull for testing.
Gildas Bazin [Sun, 27 Oct 2002 16:58:14 +0000 (16:58 +0000)]
* ALL: removed GetPES and NextPES, we now use input_ExtractPES everywhere instead
of these. The bitstream facility has also been changed to use input_ExtractPES
and now stores the current PES in its structure.
Introduced input_FlushPESFifo() and CloseBitstream().
Laurent Aimar [Sat, 26 Oct 2002 19:14:46 +0000 (19:14 +0000)]
* all : fix for new use of p_selected_area->i_tell.
Just a word: now we cannot update anymore p_input->p_current_data
without updating i_tell. I known that it's used for skipping some bytes in
mp3 demux (not yet fixed), I don't known if it's used elsewhere....
Gildas Bazin [Sat, 26 Oct 2002 15:24:19 +0000 (15:24 +0000)]
* ALL: p_selected_area->i_tell is now update inside input_SplitBuffer instead
of inside the pf_read functions of access plugins. That means i_tell now
actually reflects the position of what is being decoded and furthermore it
is updated more often.
Sam Hocevar [Fri, 25 Oct 2002 18:17:59 +0000 (18:17 +0000)]
* ./modules/video_output/directx/events.c: start the colorkey search at 10,
not 5, to avoid using a color used by another application.
* ./modules/video_output/directx/events.c: support for drawing in a parent
window instead of creating our own; still a bit flakey.
* ./mozilla/vlcshell.cpp: we can now compile the Mozilla plugin so that it
does not call libvlc (for testing purposes).
Gildas Bazin [Fri, 25 Oct 2002 15:21:42 +0000 (15:21 +0000)]
* modules/audio_output/oss.c: when now set the fragment size of the OSS device
according to the size of an audio sample.
For buggy OSS drivers, we now take into account the real size of the OSS
internal buffer when we check how much this buffer has been filled.
Sam Hocevar [Fri, 25 Oct 2002 09:21:09 +0000 (09:21 +0000)]
* ./include/vlc_common.h: we now use the ISO C9x types (int8_t, uint8_t,
int16_t) instead of our custom types (s8, u8, s16) and you are encouraged
to use these types from now. Of course the old types are still available
for backward compatibility.
Gildas Bazin [Thu, 24 Oct 2002 09:37:48 +0000 (09:37 +0000)]
* src/input/input_ext-dec.c, include/input_ext-dec.h, modules/codec/araw.c:
renamed input_NextPES into input_ExtractPES and factorised its code.
* modules/codec/ffmpeg/ffmpeg.c, modules/codec/faad/decoder.c,
modules/codec/cinepak/cinepak.c: make use of NextPES and GetPES from
src/input/input_ext-dec.c.
* modules/codec/a52.c: fixed uninitialized variable.
Sam Hocevar [Tue, 22 Oct 2002 21:10:28 +0000 (21:10 +0000)]
* ./mozilla/vlcshell.cpp: ported the Mozilla plugin to Windows.
For the moment it spawns a separate window and seems to behave nastily
(read: crashes) when the target has sound, but the javascript interface
works perfectly, for instance.
To build it, I installed Mozilla development files in my mingw32 dir
and hacked mozilla-config so that it uses these files. I also hacked
jri_md.h and jni_md.h to put "defined(_MSC_VER) || defined(__MINGW32__)"
where it read "defined(_MSC_VER)". No other changes were necessary.
* modules/demux/mpeg: Added DVB stream type for A/52 streams (0x6),
* include/vlc_threads.h: Avoid locking the interface,
* ALL: reworked all audio output plug-ins to correctly take into account
i_channels. At present this is known to break OSS, probably others.
Sam Hocevar [Thu, 17 Oct 2002 16:03:18 +0000 (16:03 +0000)]
* ./src/video_output/video_output.c: mouse coordinates are now variables.
* ./modules/access/dvdplay/intf.c: instead of probing the mouse on each
loop iteration, we set a callback on the corresponding variables.
Sam Hocevar [Thu, 17 Oct 2002 13:15:31 +0000 (13:15 +0000)]
* ./src/misc/variables.c: callback loops are now detected; this means you
can now use var_* functions from within your callback, they can even
trigger callback themselves, to any level. The main restriction is that
you shouldn't meddle with a variable that is already being triggered by
the current thread (other threads will just wait).
* ./src/misc/objects.c: fixed a deadlock in the "tree" command.
* ./modules/misc/testsuite/test4.c: added a "callback-test" command to the
rc interface to test callback loop detection and concurrent triggers.
Sam Hocevar [Thu, 17 Oct 2002 08:24:12 +0000 (08:24 +0000)]
* ./modules/codec/spudec/parse.c: fixed bad initialization of the alpha
palette, implemented the "force display" command as forever-living
subtitles, and reworked some code.
* ./src/video_output/video_output.c: we increment the image date even if
we are repeating the previous image, so that subtitles have a chance to
get displayed.
* ./src/video_output/vout_subpictures.c: ephemer subpictures don't timeout.
Use a KURLRequester widget for variables of type CONFIG_ITEM_FILE. This
crates a little button next to the textarea that pops up a file open dialog
where the user can point and click on the file to select. It also drops down
a list of possible completions as the user types.