* ALL: there were reports of crashes in the menucode. i think it was that
the VLCWindow could suddenly disappear (the vout closed) and therefore we
could no longer reference it. This should fix that. Also made this code
more generic to avoid code duplication.
Laurent Aimar [Tue, 6 May 2003 14:19:29 +0000 (14:19 +0000)]
* http: redirect to main page each time we pass arguments. (it's done by
an html header and not by the http protocol. I know it's bad but it's a
lot easier ;)
Gildas Bazin [Mon, 5 May 2003 22:48:23 +0000 (22:48 +0000)]
* modules/demux/mpeg/ts.c: compiler warning fix.
* src/input/input_programs.c: a "Disable" choice is added by default to "audio-es", "video-es" and "spu-es".
Gildas Bazin [Mon, 5 May 2003 22:23:42 +0000 (22:23 +0000)]
* ALL: changed the prototype of input_AddES() to include enough information so we can build an "video-es", "audio-es" and "spu-es" object variable. These variables can be used by the interfaces to navigate between the elementary streams.
* modules/gui/wxwindows/menus.cpp: use the "foo-es" object variables.
Gildas Bazin [Sun, 4 May 2003 22:42:18 +0000 (22:42 +0000)]
* src/misc/variables.c, ALL: improvements to the object variables api.
- added another argument to var_Change().
- added a VLC_VAR_SETTEXT and VLC_VAR_GETTEXT method to var_Change()
that are used to set/get a friendly name to an object variable.
- added VLC_VAR_CHOICESCOUNT to var_Change() to be able to retrieve
the number of availabel choices without having to get their value
as well.
- VLC_VAR_ADDCHOICE uses the extra var_Change() argument to assign
a friendly name to the choice value.
- VLC_VAR_GETCHOICES retrieves the choices values and their friendly
names.
* modules/gui/wxwindows/*: first step in implementing menu auto-generation in the wxWindows interface.
Laurent Aimar [Sun, 4 May 2003 18:51:34 +0000 (18:51 +0000)]
* transcode: follow the same logic for ab than vb. (ie for a small value
it's used as kb/s for higher ones it's b/s).
Just a remember, transcode options are:
acodec= mpga,a52
ab (kb/s)
vcodec= mpgv,mp4v,h263,DIV1,DIV2,DIV3,I420,I422,I444,RV24,YUY2
width
height
vb (kb/s)
vt (b/s)
deinterlace
croptop
cropbottom
cropleft
cropright
keyint
hq
qmin (between 1 and 32)
qmax (between 1 and 32)
only acodec and/or vcodec are mandatories (and it's a good idea to always
define vb,vt, and/or ab)
* modules/audio_output/coreaudio.c: worked around a CoreAudio bug (should
fix the "sound drops after half an hour" bug)
* modules/audio_filter/resampler/coreaudio.c: reenabled the coreaudio
resampler which works perfectly fine here
Please test that I didn't break S/PDIF output on OS X.
Gildas Bazin [Fri, 2 May 2003 15:53:32 +0000 (15:53 +0000)]
* modules/gui/skins/*: compilation fixes for MSVC. Almost working, we just to find a way to have flex.c not include unistd.h on win32 and not compile the wxwindows files when SKINS_BASIC is defined.
* ./modules/gui/skins/gtk2/gtk2_run.cpp: fixed compilation of the
basic-skins plugin with GTK2
* modules/gui/skins/parser/skin.*: small compilation fix, but i don't
really understand why it is necessary :)
* modules/gui/macosx/macosx.m
- added a macosx-float config option
- changed 'opaqueness' into 'macosx-opaqueness'
* modules/gui/macosx/vout.?
- let vout respect 'float' on top option.
- added a toggle function to toggle float on top.
ALL:
- menuitem and corresponding code for float on top.
ALL: New output dialog that uses the new --sout syntax.
- it is not so powerful as --sout (does not allow for multiple unicasts ie)
- there is a bug in the transcode settings. not sure what is causing it.
* ./configure.ac.in:
- added a basic-skins plugin, which doesn't make use of wxWindows
dialogs (currently only works for win32)
- renamed with-wx-config-path in with-skins-wx-config-path for the
skins plugin, to avoid problems with the wxwindows plugin
modules/access/http.c:
modules/access/ftp.c:
* fixed a very serious bug in the atoll code. this contained a never ending while loop.
It showed on systems without atoll() (MacOSX) as an inability to view http
and ftp streams.
* stream_output.c: some sanity checks and bypass default behavour of
module_Need (when I ask for udp I want udp or an error, but not file
or something else) by adding ",none" when a module name is specified.
I will clean up that by adding a flag to module_Need or something like
that.
* vlc_config.h: increased AOUT_PTS_TOLERANCE to 40ms, it avoids a lot of
resampling with some files while keeping good synchronisation.
Anybody has an idea of the maximum desynchronisation between audio and
video that still be imperceptible ?
* modules/audio_output/directx.c: fixed the "no sound on NT4" problem. The directx audio plugin wasn't freeing its resources properly in case Probe() failed so the waveout plugin couldn't open the audio device afterwards.
* modules/video_output/directx/directx.c: work-around buggy video drivers that create unsupported surfaces without shouting. Hopefully, non overlay YUV surfaces shouldn't be created anymore if not supported.
* modules/gui/skins/*, configure.ac.in: removed the skins plugin depandancy on msimg32.dll. Additionnaly, TransparentBlt() and SetLayeredWindowAttributes() are only used if present on the system. This allows us to run the plugin (without transparency though) on NT4/win95/98 as well.
* src/video_output/vout_pictures.c, include/video_output.h: added a vout_InitPicture() function that initializes a picture_t structure based on the given chroma and sizes.
* modules/encoder/ffmpeg/video.c: misc improvements. Should also be able to handle more input chroma format.
* modules/codec/rawvideo.c: a few fixes.
* modules/access/v4l/v4l.c: misc improvments and cleanup. Should be able to handle more source chroma formats. On the fly video encoding is also working perfectly now.
* src/video_output/video_output.c: small bugfix + vout_Create() is now blocking until InitThread() has been run.
* src/video_output/vout_pictures.[ch]: added support for FOURCC I411.
* modules/codec/rawvideo.c: support for more chroma formats.
* modules/codec/ffmpeg/*: added chroma conversion capabilities to the ffmpeg plugin (using libavcodec's img_convert() facility).
(I can finaly watch my RGB tarkin samples :))
* modules/demux/rawdv.c: fixed a couple of compiler warnings.
* libmp4: clean up and preliminary work to read mp4 file through http.
* mp4: don't return a failed value when recognize a ref file, but use
a dummy Demux function that return EOF.