Cyril Deguet [Sun, 6 Nov 2005 16:17:57 +0000 (16:17 +0000)]
* winamp2.xml: generic theme file for winamp2 skins. Still a
lot of things to do but it works !
* theme_loader.cpp: when a theme contains no XML file, assume
we are trying to load a winamp skin, and use winamp2.xml
* vlcproc.cpp: repaired text variables ($N was broken)
Cyril Deguet [Sun, 6 Nov 2005 14:23:16 +0000 (14:23 +0000)]
* all: added a new xml element: "SubBitmap". It allows to define
several bitmaps in a skin from regions of the same image file.
Usage is:
<Bitmap id="body" file="main.bmp" alphacolor="#FF0000">
<SubBitmap id="sub1" x="0" y="10" width="100" height="100" />
<SubBitmap id="sub2" x="100" y="10" width="100" height="100" />
</Bitmap>
Cyril Deguet [Sun, 6 Nov 2005 12:31:53 +0000 (12:31 +0000)]
* all: support .zip for skin themes in addition to tar.gz (vlt)
Borrowed code from Gilles Vollant for the unzip part
(I guess this code should be put elsewhere in vlc, but it was
the easy way for me at the moment;) I hope it compiles fine
everywhere, I've tested only on linux.
Now, everything's ready for winamp skins ;)
Cyril Deguet [Sat, 5 Nov 2005 17:05:25 +0000 (17:05 +0000)]
* sdl_image.c: fixed decoding of 24/32 bpp images (the color masks were not
taken into account, which caused getting RGBA pictures instead of ARGB,
or GBR instead of RGB). 8bpp is obviously broken too, I have not tested it.
--> now BMP images (and other formats) can be used in skins, not only PNG!
(of course the goal is to add a winamp skins loader ;-)
Cyril Deguet [Sat, 5 Nov 2005 11:54:38 +0000 (11:54 +0000)]
* all: added a variable "equalizer.isEnabled" and commands
"equalizer.enable()" and "equalizer.disable()" to enable
or disable the equalizer audio filter.
+ small fixes
Cyril Deguet [Wed, 2 Nov 2005 22:01:06 +0000 (22:01 +0000)]
* all: first support of graphical equalizer in the skins2 interface.
It can be defined in the XML with usual sliders, using the new
variables equalizer.band(0), ..., equalizer.band(9)
(0% means -20dB, and 100% means +20 dB).
More things to come, but it is already working as is.
* all: AsyncQueue::push() now does also a remove() by default, as
the two methods are always called together
Gildas Bazin [Wed, 2 Nov 2005 16:02:01 +0000 (16:02 +0000)]
* modules/gui/wxwidgets/playlist.cpp: don't call treectrl->EnsureVisible() when updating a playlist item. That just makes navigation of the playlist unusable.
Gildas Bazin [Wed, 2 Nov 2005 10:25:41 +0000 (10:25 +0000)]
* modules/gui/wxwidgets/playlist.cpp: if too many items are queued to be added to the playlist then it is quicker to just rebuild the whole playlist instead of inserting items one by one (fixes huge slowdown when using shoutcast).
Marian Durkovic [Mon, 31 Oct 2005 07:28:26 +0000 (07:28 +0000)]
VOUT_SET_ZOOM can't be relative, since it doesn't work if user saved
anything else than zoom=1.0 in Preferences.
Reworked it to always go through InitWindowsize()
Derk-Jan Hartman [Mon, 31 Oct 2005 01:46:14 +0000 (01:46 +0000)]
* changed default value of sub-margin to 0
* sub elements can be moved up (positive values) and down (negative)
* force_crop'ed elements cannot be moves (usually only dvd menu's)
* works for spudec and subsdec
* if the margin / offset correction forces the picture out of the main picture, the offset is cropped so that the subpicture is still 100% visible.
Felix Paul Kühne [Sun, 30 Oct 2005 19:52:47 +0000 (19:52 +0000)]
* added DJ's 10.2-patch again. Fixes the compilation of libcddb on the xserve.
* macosx.m: renamed "Stretch Aspect ratio" to "Stretch video to fill window" to make the option's meaning a bit more clear (thanks to Jonas for the hint)
Gildas Bazin [Sun, 30 Oct 2005 19:00:12 +0000 (19:00 +0000)]
* modules/demux/mp4/mp4.c: set fmt.video.i_bits_per_pixel (needed at least for QT RLE).
* modules/codec/ffmpeg/ffmpeg.c: added QT RLE fourcc.
--This line, and
those below, will be ignored--
Felix Paul Kühne [Sun, 30 Oct 2005 17:27:01 +0000 (17:27 +0000)]
* fixed some untranslatable strings and strings which existed both with and without trailing spaces. Thanks to Jonas A. Larsen for notifying me about them.
Gildas Bazin [Sun, 30 Oct 2005 14:58:05 +0000 (14:58 +0000)]
* src/video_output/video_output.c, src/input/decoder.c, include/video_output.h: try to reduce i_sar_num/i_sar_den a bit hader to prevent overflows + remove p_vout->b_override_aspect which isn't used anymore.
Benjamin Pracht [Sat, 29 Oct 2005 20:20:14 +0000 (20:20 +0000)]
set the samplerate before the format. The open of the device will fail when trying to set the sample rate to a value the soundcard doesn' support afet having set the format to fl32. Now, we will fall back to s16l if the device doesn't support the rate in fl32.