Laurent Aimar [Mon, 29 Mar 2004 18:58:28 +0000 (18:58 +0000)]
* vlc_common.h: removed all cast in TAB_*. GCC doesn't like anymore
cast of lvalue. -> Don't use them anymore in C++ code.
( Don't use *(void**)&p, it won't work because of aliasing problem).
* vlc_meta.h: don't use TAB_* as this file is included in C++ code.
Laurent Aimar [Mon, 29 Mar 2004 14:28:00 +0000 (14:28 +0000)]
* livedotcom.cpp: use stream_Demux* to support muxed stream. It's far
from stable, but begin to work. (Tested only with TS).
Limitation: no synchro with others stream if any (anyway, it would be
a bit stupid to have such stream).
Laurent Aimar [Mon, 29 Mar 2004 14:25:25 +0000 (14:25 +0000)]
* stream: added stream_DemuxNew, stream_DemuxSend, stream_DemuxDelete
to chain demuxer.
- stream_DemuxNew: create a special stream_t, launch a thread that
will open a demuxer, and call p_demux->pf_demux until asked to die.
- stream_DemuxSend: append a block to be used by the new demuxer.
- stream_DemuxDelete : free all data...
Laurent Aimar [Mon, 29 Mar 2004 14:21:47 +0000 (14:21 +0000)]
* mpeg_audio: fixed input infos update, and removed all tabs.
(each vlc_object_find has to be followed by a vlc_object_release once
the object isn't needed anymore)
Btw, I think we should better do that update in src/input/input_dec.c,
this way it will work with every decoder AND a decoder should not touch
p_input (decoders will be used by transcode for instance ...)
Clément Stenac [Mon, 29 Mar 2004 07:28:45 +0000 (07:28 +0000)]
* Implement INPUT_GET_SUBDELAY and INPUT_SET_SUBDELAY
* Allow to modify subtitle delay on the fly and implement hotkeys
(h and j)
* When framerate is available with subrip, use sub-fps to make corrections
(sub-fps default value is now 0, if left to this value, 25fps will be
assumed in microdvd mode and no correction will be applied in subrip)
Main problem is that when seeking in the subtitles, you easily get
several of them displayed. Maybe we could add a flag to subpicture_t,
like SUBTITLE_PICTURE to say that only one of them must be displayed at
a time, but that other subpictures (OSD, ...) can remain present on the
screen at the same time.
Rocky Bernstein [Sun, 28 Mar 2004 20:17:49 +0000 (20:17 +0000)]
Correct multi-default selection. But we need vcdimager 0.71 CVS for
this. (But most poeple won't notice the improvement since video
switching is broken.)
Benjamin Pracht [Sun, 28 Mar 2004 12:29:42 +0000 (12:29 +0000)]
Reverses previous patch, which added 1min/5min forward / backward functions, as it made the interface too unclear. We need to find another way to use hotkeys on the main interface...
Derk-Jan Hartman [Sun, 28 Mar 2004 03:16:05 +0000 (03:16 +0000)]
* src/input/stream.c
- disable stream_ReadLine debug.
* ALL:
- added a new demux2 module to handle Kasenna MediaBase
metadata files. These are application/x-sgimb masked
'mpeg' files on the web. They are in reality mostly constructors
for rtsp links. The reference to SGI is because the MediaBase
solutions originate from SGI.
Derk-Jan Hartman [Sat, 27 Mar 2004 17:36:46 +0000 (17:36 +0000)]
* src/interface/interface.c
- spelling fix
- added telnet intf to 'Add Interface'
* modules/misc/logger.c:
- on Mac OS X, use ~/Library/Logs to write logger intf output.
* ALL
- Added 'Add Interface' to Mac OS X build. Now you can finaly quicklaunch
the SAP intf.
Cyril Deguet [Sat, 27 Mar 2004 00:21:13 +0000 (00:21 +0000)]
* all: beginning of bitmap font support. At the moment only the digits
font for xmms/winamp2 skins is supported (the bitmap must have the
following layout: [0123456789 -] with letters of size 9x13).
Non-digit characters are just skipped, with a hardcoded advance of 6
(it allows correct display of time in xmms skins; the ':' are skipped)
Small example at http://people.via.ecp.fr/~asmax/chaos.vlt (uncomplete skin)
* vars/time.cpp: notify the observers also when the input is stopped
* controls/ctrl_text.cpp: do not reset the FSM state and timer when the
text is displayed (was causing bugs in time display)
Gildas Bazin [Wed, 24 Mar 2004 22:53:36 +0000 (22:53 +0000)]
* src/video_output/vout_intf.c: vout_IntfInit() for some interface/control related initializations.
* src/video_output/video_output.c: moved some stuff to vout_IntfInit().
* include/video_output.h: vout_vaControl()/vout_Control() prototypes.
* modules/video_output/x11/xcommon.c: implemented a vout_Control() (only VOUT_SET_ZOOM for now).
* modules/gui/wxwindows/menus.cpp: handle float object vars, added "zoom" to the menus.
Gildas Bazin [Tue, 23 Mar 2004 23:52:04 +0000 (23:52 +0000)]
* modules/gui/wxwindows/*:
+ bookmarks menu.
+ started work on bookmarks dialog.
+ started support for embeddable vout (via vout_RequestWindow()/vout_ReleaseWindow()).
+ new --wxwin-bookmarks and --wxwin-embed config options.
Gildas Bazin [Tue, 23 Mar 2004 23:44:49 +0000 (23:44 +0000)]
* src/input/*:
+ new input_Control() function (doesn't do much for now).
+ started bookmarks support through input_Control().
+ new --bookmarks={name=foo,bytes=foo,time=foo},{...} config option.
* src/video_output/*:
+ started support for embeddable vouts (vout_RequestWindow()/vout_ReleaseWindow())
+ new --video-x/y config options
Olivier Teulière [Mon, 22 Mar 2004 21:18:12 +0000 (21:18 +0000)]
* skins2/win32/win32_loop.cpp: Refresh the needed rectangle only.
This doesn't fix totally the refresh problems on the skinned vout,
but it improves the situation a lot.
Gildas Bazin [Mon, 22 Mar 2004 15:19:12 +0000 (15:19 +0000)]
* modules/codec/libmpeg2.c: modified last change to use a 4:3 aspect ratio when libmpeg2 gives us an invalid one.
(if this happens, it is a bug in libmpeg2 anyway so we just try to fallback to the most usual value).
Derk-Jan Hartman [Fri, 19 Mar 2004 00:35:21 +0000 (00:35 +0000)]
* the directory plugin no longer uses the m3u demux
- it now does the playlist_Add itself.
- it sets the filename instead of the path as the item name
- it uses dummy demux to fool vlc.
- it's almost twice as fast now.
Gildas Bazin [Wed, 17 Mar 2004 20:13:54 +0000 (20:13 +0000)]
* modules/video_output/directx/events.c:
+ use SetWindowLongPtr() instead of SetWindowLong() whenever required.
+ reset GWLP_USERDATA when calling the parent window windowproc.
Derk-Jan Hartman [Wed, 17 Mar 2004 01:33:34 +0000 (01:33 +0000)]
* Updated the ebuild.
- supports dts
- uses the new ffmpeg + postproc installation fixed ebuild
- uses live.com from portage instead of local
- added libdvdnav
- added pvr and satellite keywords
- other stuff i don't remember atm.