* Don't miserably die in `make` when ./configure hasn't be run ;
* Fixed a bug when compiling KDE plug-in without Qt plug-in ;
* Now taking into account $KDEDIR ;
* Made SDL configure error messages more explicit ;
* --disable-sdl is now correctly taken into account ;
* Changed the order of evaluation of sdl-config and sdl11-config ;
* Finally fixed SDL*/SDL.h check ;
Sam Hocevar [Fri, 27 Jul 2001 14:43:30 +0000 (14:43 +0000)]
* Updated version numbers for imminent release.
* Fixed the --with-dvdcss flag:
o --with-dvdcss - build libdvdcss, link statically (also default behaviour)
o --with-dvdcss=local-static - build libdvdcss, link statically
o --with-dvdcss=local-shared - build libdvdcss, link dynamically
o --with-dvdcss=/foo/bar - don't build libdvdcss, use libdvdcss in /foo/bar
* Fixed an omission in the dvdcss.h header.
Sam Hocevar [Fri, 27 Jul 2001 01:05:17 +0000 (01:05 +0000)]
* Changed libdvdcss API to force binary incompatibility. Yeah, this is
evil, but if we don't do it now we'll have to do it when more people
are using it.
* Fixed minor libdvdcss stuff such as the soname and compilation flags.
* New --with-dvdcss flag.
Explanation:
o default: build libdvdcss, statically link vlc against it.
o --with-dvdcss=no: build libdvdcss, dynamically link vlc against it.
o --with-dvdcss=yes: don't build libdvdcss, use already installed one.
o --with-dvdcss=/foo: don't build libdvdcss, use libdvdcss from /foo/*.
(this looks a bit strange to me, I'll find better flag settings)
* dvdcss_readv optimisations for Win32. We now send only one read command
to the DVD drive for the whole iovec.
* Fixed _win32_dvdcss_aread to work around the WinASPI32 64kb transfer
size restriction.
* New and theoretically better Win32 pthread implementation which fixes a
problem I was having when changing title on a DVD (netlist related).
vlc_cond_multicast may or may not work.
* Fixed the "quit" event handling in directx/vout_events.c.
* dvd_ifo.c now takes into account error messages from UDFFindFile.
* Temporarily disabled aout_Probe() in aout_SDL (this function
is creating an awful lot of problems - libSDL bug ).
Sam Hocevar [Wed, 25 Jul 2001 03:12:33 +0000 (03:12 +0000)]
* ncurses compilation fix by Michael Mondragon <mammon@lokmail.net>.
* fix for large inline functions and gcc 3.0.
* fixed the gnome plugin so that it does not include gtk headers.
Quick and ugly hack in the makefile to allow vlc_win32 to compile when
getting it directly from the CVS. As a result, the vlc_win32 program
doesn't have an icon any more. Too bad.
A BIG kludge for the calculation of mux_rate, so that times displayed in
the scroll bar are now correct for MPEG-2 streams. There is probably a
better way to do it, but I haven't found in months.
* Rewrote the video decoder to take advantage of several processors (SMP mode) ;
* Fixed a bug in the video decoder initialization :-p ;
* Added --smp option and several hooks in src/input/input_ext-intf.c ;
* Grayscale mode now turns off chroma IDCT.
- Fixed 2 Win32 bugs in libdvdcss (in _win32_dvdcss_readv), one of them
should have prevented the Win9x dvd input from working.
- Moved the "if(Win2k)" out of the loop in _win32_dvdcss_readv.
- Put a readv() function in input_iovec.h, the input_es now compiles.
- Modified input_ts to use this function.
- Fixed an initialisation bug in vout_directx.c
- Right clicking on the mouse now displays the navigation menu.
PS: If someone is willing to test the DVD input on Win95/98/Me I will
upload an up to date binary package.
DirectX plugin changes:
- The Win32 GetMessage function has been isolated in a thread. This has
been done because this function can block the thread. Thanks to this
change, you can now move your window without any video and audio
interruption.
- Splitted the events handling code into a separate file.
- Fixed the bug associated with the window dragging option in the
diplay properties.
Sam Hocevar [Wed, 11 Jul 2001 02:01:05 +0000 (02:01 +0000)]
* libdvdcss enhancements by Billy Biggs <vektor@dumbterm.net>. This breaks
vlc's DVD input (looks like decoders are expecting data too early and
DVD input can't cope with it due to decryption). Needs to be investigated.
* Plugins are now compiled in plugins/* and libraries in lib/*.
* The KDE UI compiles again but does not work yet.
* ALSA plugin message corrections.
* Calculation modules can now be calledwith a shorter name
(eg. '--downmix mmx' instead of '--downmix downmixmmx').
* Fixed insane verbosity of the SDL plugin.
- Fixed the segfault in vout_UnloadFont
- DestroyThread in video_output doesn't call pf_destroy if pf_create has
failed previously.
- The Xvideo plugin now closes the video window when it XVideoGetPort
fails in vout_Create.
- defined off_t as a long long. This allows DVD navigation to work.
This change is to be implemented on a compiler by compiler basis. For
now, it works on mingw32 (tested) and should work on MSVC (not tested).
- Implemented a quick and dirty hack in intf_msg.c to be able to display
long long integers with printf on Win32. This change is also necessary
to avoid segfaults when debug is enabled in vlc on Win32.
- few minor changes in the directx plugins.
- defined snprintf in common.h and removed a few #ifdef WIN32
- Removed unecessary translations in the win32 code from block offsets to
byte offsets. This was overflowing some variables.
- Reduced the complexity of the Win9x ASPI functions because we only need
to handle DVD drive access.
- Win32 code now handles seeking in areas above 2.1 Go on DVDs.
Sam Hocevar [Fri, 6 Jul 2001 08:43:31 +0000 (08:43 +0000)]
* Small optimization in vpar_blocks.c, sparing a few memset() calls.
* Additional error checking in vout_sdl.c.
* Minor manpage fix, conforming to Debian policy version 3.5.5.0
(Closes Debian bug #99561).
- Portablility fix: We now control the name to be used in the assembler
code for a C function or variable.
GCC for Win32 normally prepends an underscore to the name of a
C function or variable, and the inline assembler code was using the
name without the underscore so we had undefined symbols in some
modules.
- Reenabled all the accelerated modules on Win32.
Gildas Bazin [Thu, 28 Jun 2001 22:12:04 +0000 (22:12 +0000)]
- a few bug fixes for the directx plugin.
- removed the custom usleep function for win32 as we don't really need
this accuracy, and it was eating cpu resources.
Gildas Bazin [Wed, 27 Jun 2001 06:29:59 +0000 (06:29 +0000)]
- Added command line option '--stdout <filename>' which redirects stdout
and stderr to the specified file. This option should mainly be useful
on Win32.
- On Win32, vlc now has an icon associated to the .exe file, and is a full
GUI application (you don't have this annoying dos command box anymore)
- Added INSTALL-win32.txt for specific details to the Win32 port.
I've tested these changes on Win32 and Linux, let's hope I didn't break
vlc for other platforms.
Sam Hocevar [Mon, 25 Jun 2001 11:34:08 +0000 (11:34 +0000)]
* Compile fix for newer versions of MacOS X by Colin Simmonds
<colin_simmonds@Mac.lover.org>.
* Additional MacOS X DVD ioctl work by Eugenio Jarosiewicz
<ej0@cise.ufl.edu>.
Sam Hocevar [Thu, 14 Jun 2001 20:21:04 +0000 (20:21 +0000)]
* Added gprof profiling support with --enable-profiling.
It works at last! configure with --enable-profiling, build, run
vlc (you may want to add --noaudio, it currently segfaults with sound
here) and launch "gprof vlc" when finished.
To make gprof work with multithreaded programs, one needs to set the
internal ITIMER_PROF timer for each new thread launched. I did this
through a wrapper in vlc_thread_create (see include/threads.h).
Sam Hocevar [Thu, 14 Jun 2001 01:49:44 +0000 (01:49 +0000)]
* DirectX enhancements by Gildas Bazin, such as software rendering.
* Merged dvdcss_init and dvdcss_open into dvdcss_open, and dvdcss_close
and dvdcss_end into dvdcss_close. libdvdcss API now has 7 functions.
* Another failed attempt at profiling vlc under Linux: ported the
threads API to GNU Pth. Activate with --enable-pth. It doesn't seem to
spawn new threads for me, maybe someone will have better luck.
* Makefile optimizations.
* Automatic build of libdvdcss if not found.
Stéphane Borel [Tue, 12 Jun 2001 18:16:49 +0000 (18:16 +0000)]
*slight modification in input_dvd since Getiovec wasn't at the right
place
*send escape packet when changing title, not to be stuck in some
decoder.
*the position in the title is now resetted when we change title to
prevent a title from being unavailable because we're stuck at the end
*fixed a bug with 1-chapter-long title that displayed chapter 0.
*added a _temporary_ field in p_main to know whether the audio stream is
ac3 (ugly). It allows a vlc launched in spdif mode to play mpeg or lpcm
audio.
*cleaned the title property messages to get rid of the ugly stars.
Sam Hocevar [Thu, 7 Jun 2001 15:27:44 +0000 (15:27 +0000)]
* Applied old FreeBSD patch for dvd input by German Tischler.
* Found what was causing the slowdowns: a namespace collision. Put all
plugins into builtins again.
Sam Hocevar [Thu, 7 Jun 2001 01:10:33 +0000 (01:10 +0000)]
* Put most builtins in plugins again due to performances issues (more
about this in a forthcoming post here).
* Fixed the painfully slow build process (at last!).
* Moved the null plugin together with the dummy one.
* Added new dummy input plugin.
More on the dummy input plugin: we'll use it to insert commands in
the playlist. Currently implemented are the "quit" and "pause" functions,
here are examples on how they are used:
vlc file.mpeg vlc:quit # exit after file.mpeg has been read.
vlc file1.mpeg vlc:pause:3 file2.mpeg # pause 3 seconds before playing
# the next file.
From now we can more efficiently benchmark vlc. For instance, to test
the video output changes I am doing, I use such a command:
time vlc -I dummy --noaudio file.mpeg vlc:quit
Future extentions might include more interesting stuff like "switch
to full screen", "repeat next file 3 times", "switch to SDL video
output"...
Sam Hocevar [Sun, 3 Jun 2001 12:47:22 +0000 (12:47 +0000)]
* Various little fixes
- BeOS interface compilation fix by Rene Gollent.
- DirectX plugin compilation fix by Gildas Bazin.
- removed %ebx spill in the iMDCT plugins.
Sam Hocevar [Sat, 2 Jun 2001 01:09:03 +0000 (01:09 +0000)]
* DirectX plugin by Gildas Bazin <gbazin@netcourrier.com>.
Notes: o I called it 'directx' instead of 'windx' because it
made a lot more sense to me.
o Completely untested. I didn't manage to compile it yet.
o Code in vout_directx.c will go through a big rewrite when
vout 4 is finished. Xav is already working on this.
Sam Hocevar [Wed, 30 May 2001 17:03:13 +0000 (17:03 +0000)]
* Fixed the BeOS compile typo.
* The ALSA plugin is back.
* A gift for Gildas: plugins don't rely on backlinking any more. The
drawback is the dirty magic in include/modules_export.h which has to
be included whenever a module needs one of the functions in it. But
a) we should less and less rely on those functions
b) no plugin code modification was needed
The BeOS and MacOS X modules may be broken when compiled as plugins,
I'll check this later when I can reboot under BeOS.