Derk-Jan Hartman [Sun, 11 May 2003 18:40:11 +0000 (18:40 +0000)]
* src/input/input_programs.c: Added a 'intf-changed' variable as vout, aout
and playlist already have, to be notified of menu changes.
* src/video_output/video_output.c: Changed a 1 to a VLC_TRUE
* modules/gui/macosx/intf.?: Interface listens for changes in the input
menu's now.
Added code to render subtitles with the freetype module (disabled by default).
To test it out define USE_FREETYPE in the top of modules/demux/util/sub.c
and modules/codec/spudec/text.c and run with --filter osdtext
* modules/audio_filter/resampler/coreaudio.c: more accurate frame length
calculation
* modules/audio_output/coreaudio.c: apparently the audio card clock can
be screwed, so probe it at every buffer
* src/audio_output/output.c: Thou shalt not drop buffers
Derk-Jan Hartman [Sat, 10 May 2003 20:49:07 +0000 (20:49 +0000)]
* fix titer's language commit. The list needs to end with a NULL, or VLC will
no longer start. (it fails on the duplication of the config of this variable)
Eric Petit [Sat, 10 May 2003 13:40:37 +0000 (13:40 +0000)]
* src/libvlc.[ch]: removed --translation to avoid breaking compatibility
with old config files; --language is now a string_from_list you can use
to specify the language (default is auto-detection).
Derk-Jan Hartman [Sat, 10 May 2003 11:05:52 +0000 (11:05 +0000)]
* added VP31 fourcc's.
* disabled the vp31 and iv31 iv32. In it's current state it is too ugly too
actually use it. It would generate too many bugreports.
* modules/gui/macosx/prefs.m:
- possibly fixed a crash situation when clicking the OK button (not sure though)
* modules/gui/macosx/macosx.m:
- made the transparency option an advanced option.
Eric Petit [Fri, 9 May 2003 00:58:25 +0000 (00:58 +0000)]
* src/misc/messages.c: forget a defined(SYS_BEOS) in my last commit
* src/misc/configuration.c: config_PutPsz now sets the variable to NULL
if the string is empty
* modules/gui/macosx/prefs.m: remove duplicate (now) code with config_PutPsz
* modules/gui/macosx/prefs.?:
- made the advanced button better.
- added missing CONFIG_ITEM_DIRECTORY support
* extras/MacOSX/Resources/English.lproj/MainMenu.nib/*:
- added the semi 'apple' default of com-, as a hotkey for the prefs.
* modules/gui/macosx: Fixed crashes with the new submenus when used on a
localized system
* Removed the "EXPERIMENTAL" in "DVD menus (EXPERIMENTAL)", and enabled
the DVD menus by default.
ALL: autogenerated menu's for chapter,title,program,audio-es,spu-es and video-es.
- video-es seems broken. it always starts with -1 (Disabled) selected.
- moved some menuitems to other menu's for gui interface consistency with
other gui's.
- added a "fit to screen" menuitem.
Laurent Aimar [Wed, 7 May 2003 15:44:59 +0000 (15:44 +0000)]
* ffmpeg: --ffmpeg-truncated is now an int :
* -1 -> CODEC_FLAG_TRUNCATED is set only if width == height == 0 (only TS should produce this)
* 0 -> disable CODEC_FLAG_TRUNCATED
* 1 -> force CODEC_FLAG_TRUNCATED
Laurent Aimar [Wed, 7 May 2003 02:31:20 +0000 (02:31 +0000)]
* mp4: raaaah, sometime moov box are masqueraded by a free box, so I look
at free box content to see if it could be moov box, I hope there won't be
any misdetection. (Even when there is a spec, nobody follows it :((
Laurent Aimar [Wed, 7 May 2003 00:28:38 +0000 (00:28 +0000)]
* ffmpeg: do not use CODEC_FLAG_TRUNCATED by default as it seems buggy
with valid files. You have to use --ffmpeg-truncated to force it.
MPEG-4 in TS won't work unless you use --ffmpeg-truncated :((
* 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.