Derk-Jan Hartman [Tue, 20 Jan 2004 15:34:44 +0000 (15:34 +0000)]
* src/misc/cpu.c: New altivec detection for Darwin. Using the correct
official method.
* modules/gui/macosx/playlist.m: Fix Add with options and no enqueue.
* modules/gui/macosx/applescript.m: PLAYLIST_GO fix
Laurent Aimar [Tue, 20 Jan 2004 14:51:30 +0000 (14:51 +0000)]
* demux2: once demux2 opened, do a DEMUX_GET_LENGTH and call
playlist_SetDuration.
TODO -> add meta info queries trough demux2_Control (a demuxer should
NEVER touch playlist themself).
Laurent Aimar [Mon, 19 Jan 2004 20:31:21 +0000 (20:31 +0000)]
* dvdnav: a lot of fixes :
- subtitle/audio selection works
- subtitle display works
- menu fixed.
Problem:
- when we see a menu, the currently selected item isn't highlighted
You have to select another to see them. I don't understand why ...
- manual audio/sub selection is lost when we switch back to the menu.
Gildas Bazin [Sun, 18 Jan 2004 23:52:02 +0000 (23:52 +0000)]
* modules/demux/dvdnav.c: restart the decoders on VTS change only, not CELL change.
* src/input/input_dec.c: fixed the pictures leak work-around.
Wasn't working before because there always is at least one READY_PICTURE which is the last/currently displayed picture.
Cyril Deguet [Sun, 18 Jan 2004 19:54:46 +0000 (19:54 +0000)]
* utils/var_bool.*: VarBool is now an interface for reading bool variables
(not writing); use VarBoolImpl instead to instanciate read/write variables.
Bool variables can now be combined with VarNotBool and VarBoolAndBool
(TODO: VarBoolOrBool)
* commands/cmd_show_window.hpp: the commands now call directly
GenericWindow::show/hide, because the visibility variable of a
window is a VarBool (so, read-only)
* commands/cmd_input.hpp: added Play and Pause commands
* parser/interpreter.cpp: beginning of support of boolean expressions,
like "vlc.isSeekable and not vlc.isStopped" (operator precedence is
not really well handled yet)
* src/vlcproc.*: new variables "vlc.isSeekable", "vlc.isStopped" and
"vlc.isPaused"
* controls/ctrl_checkbox.cpp: the "state" variable of a checkbox is
now a passive VarBool, so actions must be explicitely set with
'action1="..." action2="..."' in the xml file
* removed src/vlcvars.* => "vlc.isMute" doesn't work any more
(anyway it didn't work well...)
* theme/theme.xml: updated with the new VarBool behaviour
Gildas Bazin [Sun, 18 Jan 2004 11:14:23 +0000 (11:14 +0000)]
* configure.ac, modules/demux/Modules.am: added ps2, ts2 and dvdnav modules to the build system.
* modules/demux/demux2.c: added an "ffmpeg" shortcut for the ffmpeg/libavformat demuxer.
Laurent Aimar [Sun, 18 Jan 2004 05:14:39 +0000 (05:14 +0000)]
* input_dec: exported correct i_group.
Now vlc can read a TS with multiple programs and streams them as
indepandant output (well you need the new TS demuxer so ...)
(It is not well tested)
Laurent Aimar [Sun, 18 Jan 2004 02:20:28 +0000 (02:20 +0000)]
* duplicate : added a select option :) The format is
selector[,selector] where 'selector' are from:
* no-audio, noaudio, audio
* no-video, novideo, video
* no-spu, nospu, spu
* es=num or es=num_start-num_end
* prgm=num or prgm=num_start-num_end (you can also use program
instead of prgm)
It applies for the last dst. selector1,selector2 means selector1 and
selector2.
Ex:
vlc file --sout '#duplicate{dst="1� dst", select="selection for 1� dst",
dst="2� dst", dst="3� dst", select="selection for 3� dst" }'
Sam Hocevar [Sun, 18 Jan 2004 01:21:33 +0000 (01:21 +0000)]
* modules/demux/mp3/drms.c:
+ More code cleanup. Thanks a lot to jlj for testing my changes.
+ Removed AddNativeMD5 and merged Bordelize() into DoShuffle().
+ Decrypt the SCI data in-place and shuffle it in the same loop.
Cyril Deguet [Sun, 18 Jan 2004 00:25:02 +0000 (00:25 +0000)]
* src/theme_loader.cpp: use yyrestart() instead of yyin= (should fix
issues after reading a bad theme)
* x11/.*: removed the hack of storing pointers as window properties
Laurent Aimar [Sat, 17 Jan 2004 22:32:50 +0000 (22:32 +0000)]
* ps.* : new PS demuxer (still incomplete)
* dvdnav.c: begin of a dvdnav plugin. It's more to test that to be a real
plugin for now. (a lot of design problems are raised with it).
Gildas Bazin [Sat, 17 Jan 2004 16:24:14 +0000 (16:24 +0000)]
* src/playlist/info.c: get rid of the #ifdef HAVE_VASPRINTF now that we have it in our small libc.
* modules/control/http.c: fixed parsing in uri_extract_value().
Sam Hocevar [Fri, 16 Jan 2004 18:26:57 +0000 (18:26 +0000)]
* modules/demux/mp4/drms.c:
+ Merged redundant functions.
+ Unobfuscated and cleaned up many parts of the crypto code.
+ Added comments here and there.
Rocky Bernstein [Fri, 16 Jan 2004 13:32:37 +0000 (13:32 +0000)]
Add horizontal and vertical subtitle offset corrections. Some cleanup
and work done to allow for palettized rendering (by not expanding
inline colormap entries when RGB2).
Rocky Bernstein [Fri, 16 Jan 2004 04:14:54 +0000 (04:14 +0000)]
render.c: RV16 now works great - uses all colors, but no transparancy.
Started RV32 and- has bugs. (It'd be nice if something in rendering
worked the first time without a hassle).
Modules.am, pixmap.h, subtitle.h: Some of the pixel stuff has been
moved here.
cvd.c: remove option duplicated with ogt.c Probably should be hoisted more
to a main routine. Perhaps if spudec is folded in.
Laurent Aimar [Fri, 16 Jan 2004 01:47:41 +0000 (01:47 +0000)]
* ts: rewrite from scratch of the TS demuxer to fit the new API.
Introduced a --ts-extra-pmt <pmt_pid=pid:stream_type[,...]> option to
allow user to enter a pmt description (for stream without PAT/PMT).
TODO: - test all codec.
- test stream with more than 1 PMT
- test stream with PAT/PMT change(s)
- re-add support for dvb subtitles.
- test with broken streams.
- test --ts-extra-pmt
Gildas Bazin [Mon, 12 Jan 2004 23:41:59 +0000 (23:41 +0000)]
* src/misc/configuration.c: fixed stupid bug in the 0.7.0 release which prevented from saving bool/int/float config options.
-> I should really go and by myself a brain.
Cyril Deguet [Sun, 11 Jan 2004 17:12:17 +0000 (17:12 +0000)]
* modules/gui/skins/*:
- huge cleaning of the interpreter; all the variables are stored in
the container VarManager, and can be retrieved by their name (with
type checking if needed). Some variables are still owned by VlcProc
for technical reasons (their interface is not compliant with normal
variable, because of the "updateVLC" trick)
- replaced double by float