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.
* stream_output: * some clean and fixed a little memory leak.
* give to access and muxers options. Now you can use:
--sout 'access{option1=value}/mux{a=value,b=value}:/path'. It should also
works with '#std{access=access{o=v}, mux=...}' (but untested). For now it's
not used.
Jean-Paul Saman [Thu, 31 Jul 2003 15:30:51 +0000 (15:30 +0000)]
Adding DVB module to support satellite, cable and terestrial DVB streaming. The status is that tuning works, but have had no success with video/audio yet. (Setting of filters does not seem to work perfectly yet.).
* modules/control/http.c: on win32 we store the html interface in "http" not "share/http".
* src/input/input_programs.c: check for "" descriptions in AddES().
* transcode:
- added new HQ mode (recent ffmpeg only). hq now accept "simple",
"bits" and "rd" as paramters.
- automaticaly try stereo mode encoding when failed with more
than 2 channels. (eg a52 -> mpga)
* modules/gui/macosx/controls.m: fixed race condition in prev/next commands.
* modules/gui/wxwindows/wxwindows.cpp: raised the priority of the wxwin interface so it is now the default.
We also lower the priority if there is no DISPLAY env variable.
* modules/gui/wxwindows/interface.cpp: prev/next buttons are also used to navigate through titles.
* modules/video_output/directx/events.c: use arrow keys for DVD navigation.
* modules/video_output/x11/xcommon.c: page up/down now seek -10/10 secs.
* share/vlc_win32_rc.rc: compilation fix.
* configure.ac: bumped version number to 0.6.1.
Enabled matroska support by default.
* extras/MacOSX/*: bumped version number to 0.6.1.
* INSTALL.win32: instructions update.
* share/Makefile.am: included the html files for the http interface.
* po/*: ran ./toolbox --update-po.
* configure.ac: Worked around a bug in the OS X linker, with multiply
defined symbols and libmp3lame
* Makefile.am: Build po before . because we need the po files to build
VLC.app
* po/fr.po: French translation courtesy of Jean-Pierre Kuypers
* OS X interface: cosmetics
* src/input/input_clock.c: Fixed two long-standing (> 2 years) bugs
- there should be fewer resampling, particularly on DVD chapter changes
- when you unpause a DVD, VLC will wait for the drive to spin up, so you
won't lose several seconds of movies
* modules/gui/macosx/controls.m: Seeking in paused mode resumes the play
mode, make the interface take that into account.
* modules/gui/wxwindows/*: fixed clean-up of the dialogs provider on exit.
* modules/gui/skins/x11/*: proper initialization of a global var so we can start/exit the skins interface several times.
* INSTALL.win32: updated build instructions (btw since the last build changes, mingw+msys can be used again to compile VLC).
* modules/gui/wxwindows/wxwindows.cpp: oops.
* src/misc/modules.c: if module_Need() was passed an interface module name, respect this choice even if vlc was run with a specific interface shortcut.
Sam Hocevar [Thu, 24 Jul 2003 22:05:16 +0000 (22:05 +0000)]
* modules/access/v4l/v4l.c:
+ Removed my name from this file, I didn't contribute anything major to it.
+ Added strerror(errno) where adequate, as well as additional debug
information, hopefully more useful than "cannot open".
* modules/gui/wxwindows/*: you can now specify input options in the stream output MRL as well.
* modules/misc/freetype.c: bail out if no font has been specified.
* modules/demux/util/sub.h: don't forget to detach the demuxsub object.
* modules/gui/wxwindows/*: added support for input options in the open dialog.
The stream output and subtitles options use them and you can also add options in the MRL itself.
* include/variables.h, src/misc/variables.c: you can now use var_Create() directly to create an object variable with an inherited value.
eg. var_Create( p_vout, "zoom", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT );
Beware, the object in which you create the var must be attached to a parent for this to work (otherwise we can't navigate the parents hierarchy to find the value to inherit).
* src/input/input.c, src/input/input_programs.c, src/video_output/video_output.c: converted more config_GetFoo() into var_Create()/var_Get();
* include/vlc_common.h: MAX_PATH PATH_MAX, we don't wanna bother and use the
latter everywhere.
* modules/demux/util/sub.c: Bring the config options in here to the variable structure.
* modules/misc/freetype.c: Bring the config options in here to the variable structure.
Fix the linespacing. Dnumgis, it works, just define another linespacing :)
Jean-Paul Saman [Wed, 23 Jul 2003 07:37:34 +0000 (07:37 +0000)]
When recv() returns -1 a bug is triggered inside RTPRead() and RTPChoose(). The return value of Read() is then -1. The test "if (!i_ret) return 0;" will be false and the function will continue resulting in segfault while copying from buffers that are in an undetermined state. The correct test is "if (i_ret<0) return 0;".
* ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input.
* src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value.
* src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options.
* src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'.
All these changes allow you to specify input specific options.
eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg
Here the ":sout" option will only apply to yourvideo.mpeg.
"--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg.
TODO: - the interfaces need to be modified to benefit from the new playlist_Add() api.
- only "sout", "sout-video", "sout-audio" implemented for now. To make it work with other options, we need to get rid of all the config_GetFoo() and replace them with var_Create()/var_Change()/var_Get().