Sreng Jean [Mon, 1 May 2006 22:06:57 +0000 (22:06 +0000)]
First rough demux2 implementation for game music files using Game_Music_Emu
(Super Nintendo (SPC), Nintendo NES (NSF), Nintendo Game Boy (GBS),
Sega Genesis/Mega Drive (VGM/VGZ/GYM), and Sega Master System (VGM/VGZ)).
Fix handling of buffer underruns in ALSA. Probably closes #461
We passed the delay verbatim to ...frames_to_bytes function which doesn't like negative numbers.
Benjamin Pracht [Sun, 30 Apr 2006 19:26:25 +0000 (19:26 +0000)]
* Patch from Basil Achermann to handle esc and space keyboard events in VLCControl when the controller is active
* It seems that corrects a bug when the controller was the acrtive window in fullscreen (that shouldn't happen, but well...)
* Best thing to do would be to handle the keypresses from the vout here too, I guess...
Benjamin Pracht [Fri, 28 Apr 2006 17:18:46 +0000 (17:18 +0000)]
* Revert 15357, as it would make vlc crash if you try to load a main interface that doesn't exist
* Instead, use "screensaver,none" when trying to load the screensaver interface
* Same fix for onther interfaces loaded by libvlc
- Fix POSIX setting of non-blocking mode (we were clearing the R/W flags)
- Close-on-exec: Don't leak httpd client sockets into CGI scripts or
whatever child process we spawn.
Hmm, damn stupid fd_set implementation by Winsock does of course not
work like any other one: it's actually thirty two times as big than the
POSIX ones for any given FD_SETSIZE, plus FD_SET and FD_ISSET are O(n)
instead of O(1). But at least, the mingw implementations of FD_SET has
built-in overflow checks.
Also, Winsock insists on returning big socket numbers, so we can't drop
those above FD_SETSIZE or we have no TCP/IP support at all, anyway.
Whenever using select() companion macro FD_SET(), one must ensure that
the specified file descriptor does not exceeds the fd_set limit (FD_SETSIZE).
Registering a file descriptor above this limit is not defined (read: this is
a buffer overflow).
This is not normally exploitable on Linux because FD_SETSIZE equals the
default limit for file descriptors per processes, but should work on BSDs.
Cygwin is also very prone to this problem (but right, we don't use it). As
for Windows, it will overflow if you try to select() more than 64 sockets at
a time (regardless of the total numbers of socket), but for the sake of
simplicity and portability, this patch actually prevent opening more than
64 sockets at all.
There are still quite a bunch of plugins that needs fixing.
Jean-Paul Saman [Thu, 27 Apr 2006 19:13:42 +0000 (19:13 +0000)]
Play VOD RTSP from Amino STB with RTSP url: 'rtsp://192.168.0.5:5554//192.168.0.5:5554/dvd;type=VOD;servertype=MediaBase' Note the double slash // between the ip-addresses. Patch by Rob Casey (rob dot casey AT swishgroup dot com dot au)
Add option to force timeshift filter even if access can control pace or pause.
The goal is to be able to timeshift on live rtsp streams. The true fix would be to fix the rtsp access ...
Benjamin Pracht [Tue, 25 Apr 2006 16:47:56 +0000 (16:47 +0000)]
* screensaver.c, configure.ac: use directly dbus to disable gnome-screensaver if dbus is available upon compilation, instead of using system(gnome-screensaver-command
* interface.c: use the b_strict boolean when calling module_Need upon extra interface launching. This prevents vlc to try to launch a 2nd wx gui if the screensaver module isn't available.