Rocky Bernstein [Mon, 27 Oct 2003 18:57:12 +0000 (18:57 +0000)]
Don't assume when Activate is called that i_tell is at the beginning of
an MPEG. Instead save that position seek to the beggining and restore
the position. This allows Video CD's to be able to start from an
entry other than the first one of a track.
Gildas Bazin [Mon, 27 Oct 2003 01:04:38 +0000 (01:04 +0000)]
* modules/codec/ffmpeg/*: ported the ffmpeg audio and video decoders to the new api.
Isolated the video postprocessing routines in postprocess.c
* modules/codec/ffmpeg/encoder.c, modules/codec/vorbis.c, modules/stream_out/transcode.c,
include/vlc_block.h, include/vlc_codec.h: extracted the encoders out of transcode.c.
transcode now uses encoder plugins (currently ffmpeg, vorbis and theora).
PS: transcoding is currently a bit broken but I'll fix that ASAP.
Gildas Bazin [Sun, 26 Oct 2003 16:12:35 +0000 (16:12 +0000)]
* configure.ac: check for mozilla-config.h on win32 as well.
* mozilla/support/npwin.cpp: some mozilla sdk don't include mozilla-config.h explicitly so do it ourselves.
modules/access/dvdplay/intf.c:
* use new key-pressed in p_vlc, and not the one in p_vout
src/video_output/video_output.c:
* do not create the key-pressed variable in p_vout
src/libvlc.c:
* created a variable "key-pressed" in p_vlc that can be used to
report or read key presses
* allways try to start hotkeys interface in the background
configure.ac, modules/control/Modules.am, modules/control/hotkeys.c:
* a new control module that reads keypresses from "key-pressed" and
performs an action depending on what is asosiated with this key.
Also uses nice on screen messages to indicate what action was performed
modules/video_filter/filter_common.h:
* removed code to pass old style key reporting through filters
modules/video_output/x11/xcommon.c:
* report key-presses through the new mechanism. Incomplete, I need help
with this.
Sam Hocevar [Sat, 25 Oct 2003 04:48:55 +0000 (04:48 +0000)]
* bootstrap:
+ Fixed a typo causing the Mozilla plugin build to fail.
+ Call the generic rule in "all" instead of "all-am" to spare one make level
of recursion.
Gildas Bazin [Fri, 24 Oct 2003 21:27:07 +0000 (21:27 +0000)]
* configure.ac: fix for wxWindows headers detection.
* all: changed the prototype of vout_AllocatePicture() and vout_InitPicture().
* src/video_output/vout_pictures.c: new vout_InitFormat() function that initialises a video_frame_format_t structure.
* include/vlc_video.h: extended video_frame_format_t.
* modules/codec/rawvideo.c: ported to the new decoder api.
* modules/video_output/x11/*: simplifications.
Sam Hocevar [Fri, 24 Oct 2003 17:43:51 +0000 (17:43 +0000)]
* modules/visualization/visual/:
+ Renamed fft_init into visual_fft_init because of a name clash with
the ffmpeg libraries.
+ Replaced u8 s16 etc. with uint8_t int16_t etc.
Sam Hocevar [Fri, 24 Oct 2003 11:31:51 +0000 (11:31 +0000)]
* debian/rules:
+ Disabled the deprecated satellite plugin; the dvb plugin is now
the recommended one (Closes: #216367).
+ Don't install fortunes in /usr/share/games, they are too private for
common mortals (Closes: #212856). They are still available in the
/usr/share/doc/vlc directory though.
* debian/control:
+ Depend on ttf-freefont for subtitles.
Gildas Bazin [Thu, 23 Oct 2003 20:51:20 +0000 (20:51 +0000)]
* include/vlc_block_helper.h: fixed an idiotically stupid bug in block_PeekOffsetBytes().
* modules/codec/mpeg_audio.c, modules/codec/a52.c, modules/packetizer/mpeg4audio.c: fixed a couple of issues.
Sam Hocevar [Thu, 23 Oct 2003 17:04:40 +0000 (17:04 +0000)]
* configure.ac:
+ Detect <mozilla-config.h> on newer Mozilla versions.
* mozilla/vlcpeer.cpp:
+ If neither NP_UNIX, NP_MACOSX nor NP_WIN are defined, default to NP_UNIX.
+ Use <mozilla-config.h> whenever possible.
Gildas Bazin [Thu, 23 Oct 2003 11:26:08 +0000 (11:26 +0000)]
* share/skins/default/theme.xml: set "playondrop" to false for the playlist window.
* Makefile.am, modules/visualization/visual/Modules.am, modules/stream_out/Modules.am: added missing headers.
Olivier Teulière [Wed, 22 Oct 2003 19:12:56 +0000 (19:12 +0000)]
* modules/gui/skins/*: Added a "playondrop" attribute to the "Window"
tag, which enables to choose whether drop files should be played
directly or only enqueued (default is "true", to be backwards
compatible).
Implemented on win32 and x11, only tested on win32.
* doc/skins/skins-howto.txt: Updated the doc accordingly
Gildas Bazin [Wed, 22 Oct 2003 17:12:31 +0000 (17:12 +0000)]
* configure.ac, modules/codec/Modules.am, modules/codec/speex.c: new speex decoder and packetizer using libspeex.
* modules/demux/ogg.c: added support for speex to the Ogg demuxer.
* modules/mux/ogg.c: added support for speex to the Ogg muxer.
* src/misc/variables.c: when creating choices object variables with inheritance enabled, automatically add the inherited value to the list of choices.
* modules/access/udp.c: use an object variable and inheritance for "udp-caching".
* src/input/input.c: disable the hack for filenames with colons on win32 because filenames can't contain colons.
Eric Petit [Tue, 21 Oct 2003 01:05:32 +0000 (01:05 +0000)]
configure.ac:
+ updated libebml/libmatroska detection as matroska headers no longer
include ebml headers directly. Hope you upgraded it - if not, you'll
have to set your CFLAGS accordingly.
+ on BeOS, libmkv_plugin.so has to be linked to libstdc++
Gildas Bazin [Mon, 20 Oct 2003 12:25:22 +0000 (12:25 +0000)]
* modules/gui/wxwindows/preferences*: added GetName(), GetType() and IsAdvanced() to ConfigControl and got rid of ConfigData for even more simplifications.
Gildas Bazin [Mon, 20 Oct 2003 10:37:56 +0000 (10:37 +0000)]
* Makefile.am, bootstrap, mozilla/Makefile.am: don't try to build pic _and_ non-pic code on win32 as there's no need for pic code on this platform. This should almost reduce the compilation time by a factor of 2 when the mozilla plugin is activated in the build process.
Gildas Bazin [Sun, 19 Oct 2003 23:38:09 +0000 (23:38 +0000)]
* modules/gui/wxwindows/preferences_widgets.cpp: compilation fix for unicode build.
Small cosmetic fixes to the code.
* modules/gui/wxwindows/menus.cpp: added a couple of new options.
Derk-Jan Hartman [Sun, 19 Oct 2003 23:12:16 +0000 (23:12 +0000)]
* include/codecs.h: cosmetic fixes.
* modules/gui/macosx/*:
- remove the enqueue option from the open panel. why did i even add it? KISS
- better use of name and uri fields of playlist_item_t
- when users d&d a CD on VLC, it will now play. This breaks d&d folders
located on a CD for now. Not really important but should be fixed later on.
Factored the code for each of the different types of config options out into
separate widgets. This makes preferences.cpp much cleaner and opens up
greater possibilities for the config item controls.
* Added "browse..." button to CONFIG_ITEM_DIRECTORY
* Added a slider to CONFIG_ITEM_INTEGER when i_min or i_max differs from 0
* Made it possible to change CONFIG_ITEM_KEY options with the preferences
dialog
Derk-Jan Hartman [Sun, 19 Oct 2003 13:39:12 +0000 (13:39 +0000)]
* modules/demux/avi/*
- print a debug message in case of 0xfffe audio
This is either a WAVEFORMATEXTENSIBLE or encapsulated vorbis audio
- use c-style comments
* modules/gui/macosx/info.m:
- release your objects when you finished using them.
Derk-Jan Hartman [Sat, 18 Oct 2003 21:46:01 +0000 (21:46 +0000)]
* The SAMI parses did case sensitive tag parsing. However both START, Start
and start are legal tags. I added a local_stristr (also sometime known as strcasestr)
function to this file. It probably doesn't belong here, anyone is welcome
to move it.
Gildas Bazin [Fri, 17 Oct 2003 18:38:47 +0000 (18:38 +0000)]
* src/video_output/vout_synchro.c: mpeg video synchro patch that fixes the susceptibility to timing jitter when decoding the first frame (courtesy of Simon Gittins).