Sam Hocevar [Tue, 7 Aug 2001 02:48:25 +0000 (02:48 +0000)]
* Got Makefile to launch ./configure almost properly. $(MAKECMDGOALS) rules !
* Various debian scripts fixes.
* Added -lmsvcrt40 to the win32 flags for proper execution under Wine.
* Fixed broken soname setting under Solaris (and OS X, sort of).
* Made the illegal instruction report more explicit.
* BSD/OS 4.3beta1 fixes by Steven M. Schultz <sms@TO.GD-ES.COM>.
Sam Hocevar [Mon, 6 Aug 2001 13:28:01 +0000 (13:28 +0000)]
* Added a dummy libdvdcss so that the DVD plugin can be used without
libdvdcss. It will try to dlopen() libdvdcss at runtime, though,
and will use the dummy functions only if it couldn't find a valid
libdvdcss. This is probably only useful to package maintainers.
* Tidied the snapshot-* Makefile rules.
* Tidied the modules Makefiles.
* Removed useless stuff in the debian/ directory.
* Removed the "make all" kludge in the Makefile.opts rule. I hope this
patch is harmless on all systems.
Gildas Bazin [Sun, 5 Aug 2001 15:32:47 +0000 (15:32 +0000)]
* Big rewrite of the DirectX audio plugin. The audio output is now (almost)
perfect on Win32.
* Fixed a bug in ac3dec_CreateThread() in ac3_decoder_thread.
* On Win32, open() will now open files in binary mode by default.
* A few minor changes to vout_xvideo.c
Gildas Bazin [Fri, 3 Aug 2001 16:04:17 +0000 (16:04 +0000)]
* Fixed a segfault in yuv_End() in video_yuvmmx.c
* Fixed the "Gdk-ERROR **: BadCursor" bug in the x11 and xvideo plugins
* Fixed a segfault in SetBufferPicture() in video_output.c. This segfault
only happened with the xvideo plugin because this one is not using
SetBuffers().
PS: The last fix broke the overlay output of SDL (black screen) I will
investigate this later on.
* Fixed a segfault in PSEnd in input_ps.c
* The video decoder thread is now also reniced to a lower priority on
Win32 (as in the linux version). This slightly increases the responsiveness of vlc.
* Fixed a Win32 bug in libdvdcss. This bug was appearing on title change.
* Modified input_dvd so you can now go directly to the selected chapter
when you change the title.
* Implemented the Probe function in the Xvideo plugin. Xvideo is now the
default video output plugin when it is supported.
* 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.