* include/main.h, src/libvlc.c, src/libvlc.h, src/misc/configuration.c: added a --config, --save-config and --reset-config option to the command line.
* modules/gui/wxwindows/preferences.cpp: fixed breakeage of "Save", "Reset" and SwitchAdvanced().
* modules/video_output/directx/events.c: fix for the mozilla plugin on vout close.
The mozilla plugin seems to be working very well now, except that it doesn't receive mouse and keyboard events yet.
* configure.ac, mozilla/vlcshell.cpp, mozilla/support/npwin.cpp: mozilla plugin for win32 is finally working (well there's still work left).
* src/misc/modules.c: small clean-up and fixed --plugin-path on win32.
* modules/gui/wxwindows/preferences.cpp:
- Created the "General Settings" section
- Added help strings in the two main sections,
in the libvlc categories,
and in the module capabilities
* modules/gui/wxwindows/playlist.cpp & wxwindows.h
-Implemented random, loop and repeat using variables
-The eye candy of the dialog box is not very good
but I have no idea how to improve it.
-Focus on the currently playing item
* src/libvlc.h:
- Added help strings for the libvlc categories
- Changed a few "advanced" flag
* include/vlc_help.h:
- Help strings for the two main sections
- Help string for the module capabilities (both by Anil)
* modules/gui/macosx/playlist.?: implemented Save Playlist
* modules/gui/macosx/output.m: updated part of the Stream output dialog
* modules/demux/util/sub.c: removed sub_detect() and moved the sub-file and
sub-autodetect file options to src/input/input.c
* src/input/input.c: added the moved options and use them to add subtitle
tracks.
* src/libvlc.h: description strings etc for sub-file and sub-autodetect-file
* src/input/subtitles.c: new subtitles_Detect() largely based on the
code used by MPlayer. Adapted for coding style and structure differences.
The autodetect routine can now detect multiple subtitle files and assigns scores
based on their names. if they much well enough they are sorted based on their
score. It will then return this set, and they will all be added as SPU tracks
to the current stream. The (un)selecting of these tracks will need to be fixed
because they all get assigned the es id 0xFF currently.
* include/vlc_common.h: ssize_t is now typedefed in new mingw headers.
* modules/access/dshow/dshow.cpp: compilation fix related to ssize_t.
* share/vlc_win32_rc.rc: stringify version number.
* mozilla/*: compilation fix and cosmetic changes to the .rc.
* include/vlc/vlc.h:
- removed the defines for i_mode concerning random and loop. We use config
variables for all of these.
* src/libvlc.h:
- removed the enqueue playlist config option. It's no longer used.
- added a repeat option. vlc will keep playing the same playlist_item,
until the option is unset.
* src/playlist/playlist.c:
- added a repeat, random and loop variable.
- wxwindows should use these as well I think.
* modules/gui/macosx:
- added the INTF_ABOUT_MSG to the about dialog.
- implemented the about and repeat items.
* src/input/input_programs.c: p_input->stream.p_selected_program needs to be reset in input_DelProgram().
* modules/demux/mpeg/ts.c: use dvbpsi_DetachPMT() when a program is deselected.
* configure.ac, mozilla/*: the win32 mozilla plugin compiles again (most likely won't yet work).
Added a --with-mozilla-sdk-path option (win32 only) to ./configure so you can pass the path of your mozilla sdk tree.
You also need to set the XPIDL env var to the the path of the xpidl mozilla compiler when ./configuring.
* modules/gui/macosx/*:
- implemented the new input variables for control.
- reevaltuated the locking mechanisms in the osx intf.
a lot of this can now be removed, because of the new input structures,
and the vout garbage collector of playlist.
Sam Hocevar [Sat, 20 Sep 2003 03:38:52 +0000 (03:38 +0000)]
* modules/list.sh:
+ "==" is not valid shell test, use "=" instead.
+ Set LANG for consistency of sort output.
(NB: this really belongs to the toolbox script).
* NEWS: updated some entries
* po/pt_BR.po: Updated by Andr� de Barros Martins Ribeiro <andrerib at_ajato.com.br>
* src/libvlc.h: Added es (Spanish) to the list of choices.
* extras/MacOSX/vlc.pbproj/project.pbxproj: Added a slew of file extensions
recognized by VLC
* modules/code/quicktime.c: Added samr (AMR) to the quicktime decoder.
Although it runs on OS X, it only plays back silence for some reason.
Might be a problem with one of the converters?
* modules/gui/macosx/*:
- 'fixed' several compiler warnings
- removed some old no longer necesarry stuff
* src/misc/objects.c: change the way that FIND_ANYWHERE work. Now we
first search the root of the object using p_parent and not directly
using p_vlc. If this first search failed then we search using p_vlc if
it wasn't the case. (I'm not sure it's harmless but I think it's the
correct behavour for FIND_ANYWHERE)
* src/video_output/video_output.c : we could now use FIND_ANYWHERE to
catch the playlist (even when the vlc is exiting. (Hehe, now visual
effects won't reopen the vout every playlist item.)
Jean-Paul Saman [Fri, 19 Sep 2003 15:24:28 +0000 (15:24 +0000)]
New dvb and old satellite modules now use the *correct* order of unit for tuning to a satellite channel. All information must be supplied in KHz not in MHz !!!
Jean-Paul Saman [Fri, 19 Sep 2003 13:09:57 +0000 (13:09 +0000)]
Frequency et al is really specified in KHz and not in Hz. I got an order of magnitude wrong. The same mistake is in the old satellite plugin's and user interface for specifying the frequency. It is specified in MHz instead of the KHz it should be.
src/video_output/video_output.c:
* if the given vout thread is a filter, then don't sleep untill the display
date. This reduces the chance of pictures being late when reaching the vout
if one or more filters are in use
* don't include current render time in the render_time sliding mean if it
is way too large ( as inspired by Simon Gittins ).
* weight the current sliding mean tree times more than the current render
time when calculating the new render time. This should make the code more
robust to jitter in render time
* src/video_output/video_output.c : do not use FIND_ANYWHERE to catch
the playlist. but use FIND_PARENT. vlc_object_find with FIND_ANYWHERE
use p_obj->p_vlc as a starting point and that doesn't work as playlist
is detach from vlc before vout is destroyed by the decoders (when
shutting down) Perhaps vlc_object_find should be fixing to find the
root object, but I'm not sure.
* src/input/* : move subtitle handling from avi to input. Now subs
should works with all file types _BUT_ won't be in synch if the demuxer
doesn't implement a _precise_ DEMUX_GET_TIME. So only .avi, .mp4 will
be ok. Others could works if perfectly cbr.
Now Subtitle track is only selected when specified by sub-file
option.(auto-dectected file is always added but not selected by default)
Btw, the code could support multiple subs files, but I don't know how
to pass multiple filenames, any ideas ?
* demux/mpeg/mpga.c : play with es_out_t. I'm investigating for now so
don't use that elsewhere.
* include/stream_output.h include/vlc_common.h : move TAB_APPEND,
TAB_FIND and TAB_APPEND (could be used every where now). There are a
bit like INSERT_ITEM, ... but not exactly, perhaps I should try to
merge them).
* src/input/input.c : begin to implement es_out_t thing (unsusable now).
* include/input_ext-intf.h : added stream_t member to input_thread_t.
* modules/demux/* : use the stream_t from input_thread_t.
* include/ninput.h : begin to add new way to register es. (unused for now).
(in the long term I want to split input_thread_t and intoduce demux_t and
access_t and perhaps something like access_demux_t)
* a new option for the text rendering. It sets the fontsize taking into
account the window size. This should allow consistent font sizes independant of
how large a movie is.
The options currently are smaller,small,normal,large,larger.
It should be much more userfriendly.
* demux/sdp: a msg_Err -> msg_Warn. Btw, it begins to work well (under linux).
(MPEG-I/II/4 audio and video, h261 video, some ac3 streams sould work).
* demux/* : removed useless include
* modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/wxwindows.h:
- give default to the search button when user enters text
- case-insensitive search
* sdp : begin to play rtsp stream (as well as sdp). MPEG4 Audio/Video,
mp3/raw audio should work.
If you want to try download
http://via.ecp.fr/~fenrir/libmtools-2003-09-08.tgz (but you will have to
change configure.ac yourself)
* control: use new variables and 'title*', 'chapter*' ones.
* gui/beos: removed not really used STARTED_S, and NOT_STARTED_S input
state.
* gui/wxwindows: use 'position' and 'time' variables -> seek improved
for avi and mp4 and accurate time display :)
* input: introduce 'position', 'time', 'length', 'state' and 'rate'
object variables and begin to use pf_demux_control.
* variables: new time type handling.
* all : demuxers *have to* set pf_demux_control. (demux_vaControlDefault
is a generic handler)
* avi, mp4 : begin to implement a specific pf_demux_control.
* ninput.h : change control parameters.
* variables : changed time variables to signed long long type (I hope
it is always more than 64 bits)
* input.h : include ninput.h
* libvlc: removed some unused options.
added sout-keep option to keep sout instance across playlist
items (usefull with 'gather' stream_out)
* stream_output : implement the sout-keep mode.
* playlist, video_output, stream_output: vout and sout are now reattached
to playlist instead of being destroyed. There are automatically destroy
if unused byt the new input (200 ms after access and demuxer have finished
their inittialisation step.)
Sam Hocevar [Fri, 5 Sep 2003 00:36:10 +0000 (00:36 +0000)]
* debian/control:
+ Set libmatroska-dev build-dependency to (>= 0.5.0-3) because previous
versions were broken on platforms where PIC/non-PIC cannot be mixed in
objects (Closes Debian bug #208383).
+ Set policy to 3.6.1.0.
Benjamin Pracht [Wed, 3 Sep 2003 11:28:32 +0000 (11:28 +0000)]
* qdsk.c : fix a typo
* access.c :
- new syntax : dvb:frequency=1234500:fec=3:poalrization=H:program=2499... (all parameters should be parsed
- "program" is still untested (anybody with a DVB card to try it ?)
- old syntax should still work, with a warning.
* ALL: Introduction of a new api for decoders.
The final aim of this new api is to make it possible to use the decoders from other modules like the transcoder for instance.
Only a few decoders have been ported to the new api (a52, libmpeg2, dts, vorbis, theora) so the old api is still supported.
Don't hold your breath, there is still much work to do before we reach this goal.
* modules/codec/a52.c, libmpeg2., dts.c, vorbis.c, theora.c:
Converted to the new api.
Merged the a52 and vorbis packetizers in their respective decoders (removes a lot of code duplication).
New dts and theora packetizers (merged in their respective decoders).