Cyril Deguet [Sat, 24 Jan 2004 13:08:12 +0000 (13:08 +0000)]
* configure.ac: check xml2-config for skins2
* modules/gui/skins2/src/var_manager.cpp: delete the variables in the
right order to avoid invalid reads in the destructor
* modules/gui/skins2/parser/xmlparser: skeleton of a new parser based
on the text reader API of libxml2
Gildas Bazin [Fri, 23 Jan 2004 17:56:14 +0000 (17:56 +0000)]
* src/stream_output/stream_output.c, include/stream_output.h: new sout_AccessOutRead() funcion.
* modules/access_output/file.c: implemented sout_AccessOutRead().
* modules/access_output/udp.c: coding style cleanup.
* modules/mux/mp4.c: Added support for generating "fast start" files (ie. with the moov header at the beginning of the file).
Started some code cleanup.
Eric Petit [Fri, 23 Jan 2004 15:36:23 +0000 (15:36 +0000)]
+ deinterlace.c : added an Altivec version of Merge() - makes the
filter more than 100% faster here (blend mode). Feel free to check
if I haven't broken anything, first time doing Altivec ;)
modules/demux/mkv.cpp:
* comment out parsing of elements that no muxer ever used, and that are
being removed from the spec. (patch by Mosu in the mkv team)
modules/misc/sap.c:
* fixed a nasty integer overflow that caused items to be removed right away
when the timeout value was large.
* fixed a small mem-leak
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().