Jean-Paul Saman [Wed, 13 Aug 2003 13:54:02 +0000 (13:54 +0000)]
Fixed segmentation fault in input_SplitBuffer() when input_FillBuffer() could not allocate (actually input_NewBuffer()) another buffer. The code tested for:
if (!i_size)
{
/* Handle error */
}
However input_SplitBuffer() returns -1, which results in if (false) here and a segmentation fault will happen when input_ShareBuffer() is called. All constructs of the above form are supicious to produce a segfault in the code!
Gildas Bazin [Wed, 13 Aug 2003 01:45:13 +0000 (01:45 +0000)]
* modules/access/dvdplay/*: support for dvd menus navigation ("dvd_menus" object variable).
* modules/gui/wxwindows/menus.cpp: support for dvd menus navigation.
* src/input/input_programs.c: programs object var was not reset correctly.
Jean-Paul Saman [Tue, 12 Aug 2003 15:35:26 +0000 (15:35 +0000)]
Fixed long problem with tuning to frequencies like; 12669500 Hz which is not possible with the old satellite plugin, because it reads 12669,5 in kHz and could not be expressed.
* Frequency, symbol rate, LNB_LOF1, LNB_LOF2 and LNB_SLOF are in Hz now. Input methods "dvb", "qpsk", "cable", "terrestrial" use this policy.
* Added backwards compatibility with access method "satellite" as used by the GUI; frequency and symbol rate are interpreted as kHz.
Jean-Paul Saman [Tue, 12 Aug 2003 12:43:47 +0000 (12:43 +0000)]
* Audio is verified to work, it was a problem with the test setup and not with the code ;-).
* Added code to support LNB_LOF1, LNB_LOF2, LNB_SLOF commandline options.
* Cleanup of code.
Gildas Bazin [Mon, 11 Aug 2003 17:31:15 +0000 (17:31 +0000)]
* modules/packetizer/mpegvideo.c: small clarification.
* modules/gui/wxwindows/wxwindows.cpp: don't try to destroy wxWindows objects when wxWindows has already exited.
Laurent Aimar [Sun, 10 Aug 2003 22:13:05 +0000 (22:13 +0000)]
* mpegvideo.c: try to set a better value for length. (I am not sure it is
the good one but it give far better result). dts/pts/length computation
should be verified.
Gildas Bazin [Sun, 10 Aug 2003 10:22:52 +0000 (10:22 +0000)]
* modules/codec/subsdec/subsdec.[c,h]: added --subsdec-align option to specify center, left or right alignment.
* include/osd.h, modules/misc/freetype.c: support for center alignment.
* modules/gui/wxwindows/subtitles.cpp: string change.
Gildas Bazin [Sat, 9 Aug 2003 19:49:13 +0000 (19:49 +0000)]
* modules/codec/ffmpeg/video.c: temporary hack to work around demuxers that set the DTS value in p_pes->i_pts.
* modules/demux/ogg.c: don't try anymore to send interpolated pts to ffmpeg.
Gildas Bazin [Sat, 9 Aug 2003 19:14:16 +0000 (19:14 +0000)]
* modules/access/vcd/cdrom.c: switching to YellowMode2 for reading VCDs apparently created problems for some people so the reading is reverted to XAForm2 and only if this one fails we try YellowMode2. Hopefully that will still allow us to read the SVCD DATA track.
Gildas Bazin [Sat, 9 Aug 2003 14:59:24 +0000 (14:59 +0000)]
* src/stream_output/stream_output.c, include/stream_output.h: added an i_padding field to sout_instance_t so we can allocate sout_buffers with a bit more space than asked for (needed for ffmpeg decoding).
* modules/stream_out/transcode.c: proper pts/dts generation. This allows the transcoder module to finally generate proper streams.
Added support for b frames (bframe=x option) + couple of bug fixes.
Gildas Bazin [Fri, 8 Aug 2003 17:08:32 +0000 (17:08 +0000)]
* modules/codec/ffmpeg/: proper generation of pts in the video decoder + couple of bug fixes + cleanup.
The ffmpeg video decoder can now be used to decode mpeg1/2 videos as well.
* modules/codec/libmpeg2.c: upped priority so it will be used to decode mpeg1/2 videos instead of ffmpeg.
Gildas Bazin [Fri, 8 Aug 2003 16:50:27 +0000 (16:50 +0000)]
* src/input/input_clock.c: reverted the patch that caused the regression in 0.6.1
* modules/packetizer/copy.c: fixed segfault
* modules/gui/wxwindows/wxwindows.cpp: compilation fix for wxWindows 2.5 cvs
Jean-Paul Saman [Tue, 5 Aug 2003 11:54:11 +0000 (11:54 +0000)]
The familiar interface is now officially removed from VLC. The interface is superseeded by the PDA interface for handhelds. It uses Gtk+2 and can be built using the configure option '--enable-pda'.
Laurent Aimar [Mon, 4 Aug 2003 00:48:11 +0000 (00:48 +0000)]
* sdp: - fixed loading of file > 1024 bytes.
- more processing -> now it should extract enough informations to
build RTP/RTSP session.
(Does not play anything yet)
Gildas Bazin [Sun, 3 Aug 2003 23:11:21 +0000 (23:11 +0000)]
* src/misc/configuration.c, include/configuration.h, src/audio_output/intf.c, include/audio_output.h, modules/gui/gtk/display.[ch]: configuration variables now use vlc_callback_t callbacks (same as the object variables).
* modules/video_output/x11/*: support for the _NET_WM_STATE_FULLSCREEN hint from the Extended Window Manager Hints spec.
* modules/audio_output/alsa.c: support for 4.0 and 5.1 audio channels. This time it has been tested ;)
Laurent Aimar [Sun, 3 Aug 2003 02:00:00 +0000 (02:00 +0000)]
rtsp: connect to an RTSP server, issue a DESCRIBE command and return
the answer. It WON'T let you do rtsp as we first need a SDP
parser/demuxer, but it is on the way.
The idea is to have a generic SDP demuxer that will work with SDP from
file, http or rtsp.
Benjamin Pracht [Sat, 2 Aug 2003 19:30:35 +0000 (19:30 +0000)]
* modules/access/http.c
- Didn't take into consideration a little change of behavior between config_GetPsz and var_Get during my last commit, so that we were sending authentification information even if there wasn't any.
Gildas Bazin [Sat, 2 Aug 2003 14:06:23 +0000 (14:06 +0000)]
* ALL: bumped version number to 0.6.2-cvs
* modules/video_output/x11/xcommon.c: closing the video window or using the escape key doesn't exit VLC anymore but stop the input instead.
Laurent Aimar [Fri, 1 Aug 2003 19:38:25 +0000 (19:38 +0000)]
ts: large rewrite of the TS muxer to produce better TS and support DVD
subtitle.
I have added some options:
- bmin : minimum bitrate (bits/s) of the TS. Padding is added in
case of insuffisant bitrate. (default: disabled).
- bmax : maximum bitrate (bit/s) of the TS. It just drops packets
to achieve the target. (default: disabled)
- pcr : minimum delay between two pcr equal to dts of the video
stream (default 100ms)
- pcr-soft : minimum delay between two pcr interpolated from the
pcr that are equal to dts. (default: none)
Remarks:
- bmin/bmax allow to create CBR stream.
- Bitrate is calculated on a PCR time.
- PCR delay cannot be less than length of a frame of the PCR stream.
- PCR soft is used to help when using big PCR delay. It is usefull to
produce stream with smoother bitrate variation.
- Big PCR delay introduce more latency.
Sam Hocevar [Fri, 1 Aug 2003 08:24:53 +0000 (08:24 +0000)]
* debian/rules:
+ Activated freetype support.
* debian/control:
+ Added a build-dependency on freetype6-dev.
+ Added a build-dependency on libdvbpsi2-dev.
+ We now recommend gnome-vlc | wxvlc.
+ We now suggest fortune-mod.
Gildas Bazin [Fri, 1 Aug 2003 00:05:07 +0000 (00:05 +0000)]
* src/input/input_clock.c: fixed 2 regressions in 0.6.1. These fixes are actually there to make us more complacent with broken streams.
* modules/access/dvb/qpsk.c: gettext reserves the use of _("").
* modules/demux/mkv.cpp, modules/demux/avi/libavi.c, modules/demux/mp4/libmp4.c, modules/demux/mpeg/m4v.c: checks for input_SplitBuffer() > 0. (Thanks to Steve Li for pointing this out)
Laurent Aimar [Fri, 1 Aug 2003 00:00:12 +0000 (00:00 +0000)]
* vlc_common.h: include stdarg.h by default. Required by ninput.h
* ninput.h : extracted duplicated stream functions from a lot of
demuxers and do a nice (?) API.
* stream.c: implement basic streams manipulation. It is just a wrapper
but it is useful.
* all: added a i_ttl field in network_socket_t to allow per connection ttl
setting (in fact only used by access_out/udp.c.
* src/misc/win32_specific.c: change the mode of stdin to _O_BINARY so we can use stdin to read files (thanks to Steve Li).
* modules/control/http.c: allow directories of the form "x:\" on win32.