Jean-Paul Saman [Thu, 2 Oct 2003 15:43:44 +0000 (15:43 +0000)]
Rework in DVB plugin to allow tuning to DVB-T cards.
- cleanup of messages
- adding status events messages from frontend
- separated tuning for DVB-S, DVB-T and DVB-C into seperate functions.
* src/libvlc.h:
- Removed a dupe.
- Added a 'L' commandline shortcut for loop and 'R' for repeat. There
already is a 'Z' shortcut for random.
* modules/codec/subsdec.c: debug info.
Jean-Paul Saman [Thu, 2 Oct 2003 10:28:04 +0000 (10:28 +0000)]
Fix bug for DVB-T tuning. The code always used default upper and lower frequencies from DVB-S for DVB-T, but for DVB-T they could very well be different. Now using --lnb-lof1, --lnb-lof2 and --lnb-slof values are used by default instead. This make it overrideable on the commandline.
* modules/misc/freetype.c: spelling errors
* src/libvlc.h: spelling error
* include/ninput.h: There should not yet be a Subtitles section in Doxygen
* src/input/subtitles.c: Doxygen comments for this file
Jean-Paul Saman [Wed, 1 Oct 2003 20:58:45 +0000 (20:58 +0000)]
Implementing new PDA User Interface design using the GTK2 widget set. This interface is currently in a rewrite and is currently unuseable. However:
- it compiles ;-)
- will have more UI assets to tweak with, then the old interface had
to name a few: supports stream out, camera's through v4l, use preferences,
manage playlists, play audio/video local and from a network source
- is not functional (yet)
So expect more functionality to come in and the necessary bug fixes.
* include/vlc_block.h, modules/codec/libmpeg2.c: re-added the discontinuity flag in block_t and re-enabled the discontinuity gestion in the libmpeg2 codec.
* include/vlc_block_helper.h: implemented bytestream reading helper functions for chained blocks.
* modules/codec/a52.c: modified to use the bytestream reading functions.
The flexibility added by these functions makes the code simpler and better at detecting synchro code emulations.
* modules/mux/ogg.c: always backup the vorbis/theora headers so we can resend them if we close/reopen the stream (chaining).
fixes for text subtitles muxing.
* modules/packetizer/copy.c: support for text subtitles.
* include/os_specific.h, src/libvlc.[c,h], src/misc/win32_specific.c: new win32 specific option (--one-instance) to have only one instance of vlc running at once.
Running another vlc (with --one-instance as well) will only transfer the requested playlist items to the first instance.
Doxyfile:
* changed project name from 'vlc' to 'VLC'
* excluded src/extras from the documentation
src/misc/variables.c, include/variables.h:
* Doxygen-documented most of the vlc variables code
* modules/demux/ogg.c, modules/codec/vorbis.c: misc small fixes.
* modules/mux/ogg.c: support for inserting/removing elementary streams on the fly (really handy for the --sout-keep option). This will produce a chained Ogg bitstream.
* modules/demux/ogg.c: reworked a bit. Ogg web radios should work again, vorbis audio tracks switching should work better as well.
* modules/mux/ogg.c: attempt at supporting theora.
* 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.