]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Sun, 17 Jan 2010 20:33:45 +0000 (22:33 +0200)]
zsh: remove --save-config
Rémi Denis-Courmont [Sun, 17 Jan 2010 20:28:40 +0000 (22:28 +0200)]
Remove --save-config
Rémi Denis-Courmont [Sun, 17 Jan 2010 20:08:46 +0000 (22:08 +0200)]
Win: use var_Inherit
Rémi Denis-Courmont [Sun, 17 Jan 2010 20:06:52 +0000 (22:06 +0200)]
Revert "Qt4: don't show unsaveable playlist-enqueue option in the simple prefs"
This reverts commit
f2564c1124551c1e05098c9c756e17c0a83846b6 .
Rémi Denis-Courmont [Sun, 17 Jan 2010 20:06:34 +0000 (22:06 +0200)]
Allow --playlist-enqueue to be configured
Rémi Denis-Courmont [Sun, 17 Jan 2010 19:55:39 +0000 (21:55 +0200)]
Load the command line into the LibVLC object variables (fixes #1941)...
...instead of the configuration. As a side effect, the command line
parameter should not be visible in the preferences, and more importantly
not be saved as part of the persistent configuration (fixes #1428)
(and really fixes older #1106).
We might be able to remove a few "dummy" change_unsaveable(). Some of
them really were just work-arounds for this bug. In principle, we could
possibly remove all of them as long as we keep add_internal().
Note that this commit will render any command line option inoperant if
it is read with config_Get*() instead of var_Inherit*() or var_*Get*().
I already fixed the most commonly used occurences, but there are some
left, especially inside plugins.
Rémi Denis-Courmont [Sun, 17 Jan 2010 19:54:11 +0000 (21:54 +0200)]
video output core: use var_Inherit
Rémi Denis-Courmont [Sun, 17 Jan 2010 19:51:36 +0000 (21:51 +0200)]
modules bank: use var_Inherit instead of config_Get
Rémi Denis-Courmont [Sun, 17 Jan 2010 19:51:15 +0000 (21:51 +0200)]
LibVLC: use var_Inherit instead of config_Get
Rémi Denis-Courmont [Sun, 17 Jan 2010 19:24:48 +0000 (21:24 +0200)]
Qt4: don't show unsaveable playlist-enqueue option in the simple prefs
This is silly. This option cannot be set from the configuration, so it
does not beling in the preferences.
Rémi Denis-Courmont [Sun, 17 Jan 2010 18:25:24 +0000 (20:25 +0200)]
Audio format: requires same sample rate and channels count
This fixes #3168. The audio_format plugin was ignorantly claiming to
convert the sample rate and channel count, though it obviously did not.
Jean-Philippe André [Sun, 17 Jan 2010 15:35:10 +0000 (16:35 +0100)]
Audio output: fix integer overflow
This fixes the following bug:
When scrolling the mouse wheel down, volume jumps from 0% to 400%.
Jean-Philippe André [Sun, 17 Jan 2010 12:16:55 +0000 (13:16 +0100)]
Qt: Prevent volume up/down on mouseWheel events inside StdPLPanel
Rémi Duraffort [Sun, 17 Jan 2010 11:44:10 +0000 (12:44 +0100)]
svg: fix possible NULL dereference.
Ilkka Ollakka [Sun, 17 Jan 2010 11:38:12 +0000 (13:38 +0200)]
x264.c: add psy mbtree and intra-refresh boolean options
Rémi Denis-Courmont [Sun, 17 Jan 2010 11:32:57 +0000 (13:32 +0200)]
bandlimited: avoid large stack allocation (refs #3199)
In most cases, there is enough space for the 2 old samples in the
input buffer head room. In other cases, we anyway need to memory copy
the whole buffer. So we now use block_Realloc(). This also saves us from
copying every samples when resampling.
Unfortunately, the transcode plugin seems to be feeding crap into the
resampler, thus it still crashes.
Rémi Denis-Courmont [Sun, 17 Jan 2010 11:06:32 +0000 (13:06 +0200)]
...Because we are using pointer arithmetic with float pointers
Jean-Baptiste Kempf [Sun, 17 Jan 2010 10:50:32 +0000 (11:50 +0100)]
Mention in NEWS the duplicate merge
Rafaël Carré [Sun, 17 Jan 2010 10:43:53 +0000 (11:43 +0100)]
Fix double free after stream_out creation failed
Also fix a use after free
Jean-Baptiste Kempf [Sun, 17 Jan 2010 10:31:33 +0000 (11:31 +0100)]
CPU: win32 simplification
Rafaël Carré [Sun, 17 Jan 2010 10:31:04 +0000 (11:31 +0100)]
Replace a not space blank character
Rémi Denis-Courmont [Sun, 17 Jan 2010 10:13:31 +0000 (12:13 +0200)]
pthread: fix semaphore error handling
POSIX sem_*() functions return -1 on error and the error code in errno
(contrary to most POSIX thread functions).
Rémi Denis-Courmont [Sun, 17 Jan 2010 10:13:07 +0000 (12:13 +0200)]
pthread: mark allocation errors as unlikely
Rémi Denis-Courmont [Sun, 17 Jan 2010 10:12:32 +0000 (12:12 +0200)]
pthread: mark bugs as unlikely
Rafaël Carré [Sun, 17 Jan 2010 10:09:46 +0000 (11:09 +0100)]
qt4: Don't update art when it hasn't changed
This gives a use to the otherwise useless artUrl variable
This prevents qt4 interface from consuming 100% of CPU when art image
has to be scaled from a big source picture
Geoffroy Couprie [Sun, 17 Jan 2010 09:57:20 +0000 (10:57 +0100)]
Revert "Win32: use IsProcessorFeaturePresent() to detect available instructions"
This reverts commit
4b5229c80508c84dbb28b834c5955e1177d9f779 .
Rafaël Carré [Sun, 17 Jan 2010 06:58:45 +0000 (07:58 +0100)]
vlc_es.h: remove useless vlc_common.h include
Rafaël Carré [Sun, 17 Jan 2010 06:37:33 +0000 (07:37 +0100)]
sout: allow duplicate outputs to be merged
The stream_out_t chain creation is modified: all modules are created by
the core (or by stream_out_duplicate) instead of being created by the
previous module.
sout_StreamChain{New,Delete} replace sout_Stream{New,Delete} to handle
modules chains instead of individual modules
sout_Stream{New,Delete} are still used by those new functions but made
static inside stream_output.c
Remove now unneeded psz_chain from struct sout_instance_t
Replace pointer to chain of next module by pointer to next module in
struct sout_stream_t
Example use:
vlc --sout-all input.mp4 --sout
"#duplicate{dst=transcode{vcodec=mp2v},select=es=0,dst=transcode,select=es=1}:std{...}"
(dst=transcode without acodec/vcodec is a hack to pass the encoded stream to
stream_out_standard without transcoding)
Jean-Baptiste Kempf [Sat, 16 Jan 2010 19:15:53 +0000 (20:15 +0100)]
Use the VLC CODEC macros everywhere.
I vote that we remove this plugin now.
FFmpeg supports SIPR natively now.
Jean-Baptiste Kempf [Sat, 16 Jan 2010 18:30:31 +0000 (19:30 +0100)]
Partial revert of debug that was never meant to be pushed.
Sorry
Jean-Baptiste Kempf [Sat, 16 Jan 2010 18:29:42 +0000 (19:29 +0100)]
Qt4: win32 simplification
Geoffroy Couprie [Sat, 16 Jan 2010 16:15:32 +0000 (17:15 +0100)]
Win32: use IsProcessorFeaturePresent() to detect available instructions
Geoffroy Couprie [Sat, 16 Jan 2010 15:39:22 +0000 (16:39 +0100)]
Win32: add support for play and pause buttons in media keys (different from a plya/pause unique button
Geoffroy Couprie [Sat, 16 Jan 2010 12:55:03 +0000 (13:55 +0100)]
Win32: add support for media keys and remotes in Qt.
Tested with an Apple remote v1, and a HP media center remote. I don't know how to get the "menu" message" from the remote.
Geoffroy Couprie [Sat, 16 Jan 2010 01:13:28 +0000 (02:13 +0100)]
Win32: fix Win7's taskbar buttons
Pierre d'Herbemont [Sat, 16 Jan 2010 15:22:09 +0000 (16:22 +0100)]
libvlc: Don't request art if it was already asked before.
Pierre d'Herbemont [Sat, 16 Jan 2010 15:12:55 +0000 (16:12 +0100)]
macosx/framework: Duration is in millisecs, not in microsecs.
Pierre d'Herbemont [Sat, 16 Jan 2010 15:11:08 +0000 (16:11 +0100)]
libvlc: Fix a bunch of messed up mtime_t to libvlc_time_t.
Apparently libvlc_time_t is millisec, whereas mtime_t is microsecs.
Most event callbacks where carying an incorrect mtime_t value.
Pierre d'Herbemont [Sat, 16 Jan 2010 14:41:43 +0000 (15:41 +0100)]
libvlc: Make sure calling get_duration() triggers preparsing and returns -1 if duration is unknown.
Pierre d'Herbemont [Sat, 16 Jan 2010 14:40:47 +0000 (15:40 +0100)]
macosx/framework: Whitespaces cleanup.
Pierre d'Herbemont [Sat, 16 Jan 2010 14:40:26 +0000 (15:40 +0100)]
macosx/framework: handle duration changed events.
Pierre d'Herbemont [Sat, 16 Jan 2010 14:38:05 +0000 (15:38 +0100)]
frenchtv.lua: More logos.
Pierre d'Herbemont [Sat, 16 Jan 2010 11:58:45 +0000 (12:58 +0100)]
frenchtv.lua: Make sure we handle channels name like "XXX HD" or "XXX (bas débit)"
Rémi Denis-Courmont [Sat, 16 Jan 2010 16:56:40 +0000 (18:56 +0200)]
file: rewind before read
Rémi Denis-Courmont [Sat, 16 Jan 2010 16:48:53 +0000 (18:48 +0200)]
directory: restore check against standard input
We could handle directories as descriptors, but we currently don't. In
the mean time, we had better show an error than generate corrupt
playlist entries.
Rémi Denis-Courmont [Sat, 16 Jan 2010 16:34:31 +0000 (18:34 +0200)]
file: handle fd://<fd>/<path>
Rémi Denis-Courmont [Sat, 16 Jan 2010 15:44:07 +0000 (17:44 +0200)]
Access: remove special case for "-" (standard input)
"-" is now converted to "fd://0" by the input code. And file:///- really
means /- (which is a valid file name).
Ilkka Ollakka [Sat, 16 Jan 2010 14:21:26 +0000 (16:21 +0200)]
x264.c: add forgotten options to list, so slicing parameters actually work
Ilkka Ollakka [Sat, 16 Jan 2010 13:52:50 +0000 (15:52 +0200)]
x264.c: add slicing parameters
venc=x264{slices,slice-max-size,slice-max-mbs} options are there now
Ilkka Ollakka [Fri, 15 Jan 2010 14:45:37 +0000 (16:45 +0200)]
x264.c: handle dts/pts from libx264 on X264_BUILD >= 83 onward
libx264 gives dts-value, but we need to calculate initial delay, so dts doesn't
go < VLC_TS_0.
Tell how many frames are still left on libx264 buffer when we close encoder
Only set BLOCK_FLAG_TYPE_I on IDR-frames on X264_BUILD < 83 and only those
which have b_keyframe on X264_BUILD >= 83.
Rémi Denis-Courmont [Sat, 16 Jan 2010 13:25:01 +0000 (15:25 +0200)]
Remove all default modules from configure.ac
Rémi Denis-Courmont [Sat, 16 Jan 2010 12:57:06 +0000 (14:57 +0200)]
Hard code most video filters
Rémi Denis-Courmont [Sat, 16 Jan 2010 12:55:06 +0000 (14:55 +0200)]
configure: if not a; then b; fi; if a; then b; fi -> b
Rémi Denis-Courmont [Sat, 16 Jan 2010 12:54:25 +0000 (14:54 +0200)]
Remove unused TIME_WITH_SYS_TIME check
Rémi Denis-Courmont [Sat, 16 Jan 2010 12:54:15 +0000 (14:54 +0200)]
Win32: fix linking
Rémi Denis-Courmont [Sat, 16 Jan 2010 12:13:50 +0000 (14:13 +0200)]
Remove sys/types.h check
We assume it is present in plenty of places anyway
Rémi Denis-Courmont [Sat, 16 Jan 2010 12:05:33 +0000 (14:05 +0200)]
Missing files
Rémi Denis-Courmont [Sat, 16 Jan 2010 11:25:23 +0000 (13:25 +0200)]
file: use the same open() path for directories as for regular files
This requires support for fdopendir(). One open() and fstat() calls per
input file are avoided. Ok, this is not such a major improvement).
This should also work around brain-damaged file system drivers such as
Linux HFS+, whereby opendir() succeeds on regular files.
Rémi Denis-Courmont [Sat, 16 Jan 2010 11:13:46 +0000 (13:13 +0200)]
file: initialize access_t after the open operation is succesful
Rémi Denis-Courmont [Sat, 16 Jan 2010 11:00:16 +0000 (13:00 +0200)]
directory: remove special case for '-'
directory does not register the "fd" shortcut, so the standard input
case should not occur.
Rémi Denis-Courmont [Sat, 16 Jan 2010 10:56:44 +0000 (12:56 +0200)]
Merge file and directory plugins
Rémi Denis-Courmont [Sat, 16 Jan 2010 10:14:24 +0000 (12:14 +0200)]
Remove unused setlocale/langinfo checks
Rémi Denis-Courmont [Sat, 16 Jan 2010 10:14:11 +0000 (12:14 +0200)]
Sort/factor function checks
Rémi Denis-Courmont [Sat, 16 Jan 2010 09:43:35 +0000 (11:43 +0200)]
file: expand a (now) trivial and used only once function
Rémi Denis-Courmont [Sat, 16 Jan 2010 09:38:17 +0000 (11:38 +0200)]
Read-ahead only makes sense for seekable file descriptors
(You can't read ahead a pipe)
Rémi Denis-Courmont [Sat, 16 Jan 2010 09:29:07 +0000 (11:29 +0200)]
file: remove Win32 leading slash handling
InputSourceInit() does it globally already
Rémi Denis-Courmont [Sat, 16 Jan 2010 09:28:50 +0000 (11:28 +0200)]
Remove useless (and slightly wrong) cast
Rémi Denis-Courmont [Sat, 16 Jan 2010 09:28:16 +0000 (11:28 +0200)]
Fix tense
Rémi Duraffort [Fri, 15 Jan 2010 18:41:12 +0000 (19:41 +0100)]
libvlc_media: fix typos.
Jean-Baptiste Kempf [Fri, 15 Jan 2010 17:49:51 +0000 (18:49 +0100)]
Qt: sprefs, add the systray popup on minize on the main page
Pierre d'Herbemont [Fri, 15 Jan 2010 15:49:40 +0000 (16:49 +0100)]
lua: Remove dummy printf.
Pierre d'Herbemont [Fri, 15 Jan 2010 15:46:56 +0000 (16:46 +0100)]
tvrage.lua: Update copyright.
Pierre d'Herbemont [Fri, 15 Jan 2010 15:38:42 +0000 (16:38 +0100)]
lua: Properly set the meta according to metas().
Pierre d'Herbemont [Wed, 13 Jan 2010 12:54:14 +0000 (13:54 +0100)]
VLCKit.xcodeproj: Update internal pbxproj.
Pierre d'Herbemont [Wed, 13 Jan 2010 12:17:51 +0000 (13:17 +0100)]
lua: Disable 10_googleimage.lua.
We have too much false positive with this script.
Feel free to revert or to remove.
Pierre d'Herbemont [Wed, 13 Jan 2010 12:16:01 +0000 (13:16 +0100)]
lua: Add a tvrage.lua meta fetcher.
Pierre d'Herbemont [Wed, 13 Jan 2010 12:14:21 +0000 (13:14 +0100)]
lua: Expose a "meta fetcher".
Attempt to run scripts in share/lua/meta/fetcher.
Pierre d'Herbemont [Wed, 13 Jan 2010 12:08:40 +0000 (13:08 +0100)]
playlist/fetcher: Run "meta fetcher" before "art finder".
The result of meta fetching is not cached (except the artwork), but this could be an envisionned goal for the media library.
Pierre d'Herbemont [Wed, 13 Jan 2010 11:55:43 +0000 (12:55 +0100)]
lua: Expose extra meta through vlc.item.metas.
Pierre d'Herbemont [Wed, 13 Jan 2010 11:50:06 +0000 (12:50 +0100)]
am: Support building VLC.app with an external build folder.
Martin T. H. Sandsmark [Thu, 14 Jan 2010 20:22:56 +0000 (21:22 +0100)]
fix crash when switching phonon backends on the fly, remember to stop libvlc media player before releasing it
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Fri, 15 Jan 2010 07:27:44 +0000 (08:27 +0100)]
Qt: remove unneeded hack
Jean-Baptiste Kempf [Fri, 15 Jan 2010 07:22:52 +0000 (08:22 +0100)]
Qt: Allow more video outputs in the list
Jean-Baptiste Kempf [Fri, 15 Jan 2010 07:20:06 +0000 (08:20 +0100)]
Better Shortname for smem
Jean-Baptiste Kempf [Fri, 15 Jan 2010 07:13:28 +0000 (08:13 +0100)]
Qt: Sprefs video, add more space around the text
Jean-Baptiste Kempf [Fri, 15 Jan 2010 07:09:06 +0000 (08:09 +0100)]
Qt: SPrefs input layout change
Rémi Duraffort [Thu, 14 Jan 2010 20:48:25 +0000 (21:48 +0100)]
dbus: add 'time' and 'mtime' meta data as requiered by the MPRIS specifications.
'length' is still used for backward compatibility (even if most of the client
seems to use mtime and time and to use length only if the two first meta
aren't found).
Rémi Duraffort [Thu, 14 Jan 2010 19:58:03 +0000 (20:58 +0100)]
dbus controler: cosmetics (split the meta: the ones requiered by the
specifications and the ones added by vlc).
Rémi Duraffort [Thu, 14 Jan 2010 18:35:00 +0000 (19:35 +0100)]
dbus_control: fix a typo 's/tracknum/tracknumber'
Rémi Denis-Courmont [Thu, 14 Jan 2010 20:52:35 +0000 (22:52 +0200)]
Not only Cygwin lacks the --short switch to hostname
Antoine Cellerier [Thu, 14 Jan 2010 20:33:06 +0000 (21:33 +0100)]
Print a list of available alsa output devices in debug output if the user specified a non existing device. Simple example to get the listing: /vlc --aout alsa,none --alsa-audio-device bla -vvv file.mp3 --verbose-objects -all,+alsa
Rémi Denis-Courmont [Thu, 14 Jan 2010 20:30:42 +0000 (22:30 +0200)]
Remove CPU capability from modules
This is not needed anymore. Modules are not in the bank at all anymore
if they require an incompatible CPU feature.
Rémi Denis-Courmont [Thu, 14 Jan 2010 20:14:10 +0000 (22:14 +0200)]
ALSA: report errors when, and simplify enumerating devices
Laurent Aimar [Thu, 14 Jan 2010 19:54:31 +0000 (20:54 +0100)]
Do not use types not existing in official dxva2api.h header.
As reported on ffmpeg-devel ML.
Rémi Denis-Courmont [Thu, 14 Jan 2010 18:44:48 +0000 (20:44 +0200)]
MMS: fix variable type
Rémi Denis-Courmont [Thu, 14 Jan 2010 16:53:22 +0000 (18:53 +0200)]
HTTP: zlib only supports deflate and gzip
Don't try to handle other codings with it. As of today, IANA lists
compress, exi and pack200-gzip as other legal values.
Erwan Tulou [Wed, 13 Jan 2010 09:10:24 +0000 (10:10 +0100)]
qt4: make dialog provider initialization less convoluted
Erwan Tulou [Thu, 14 Jan 2010 13:34:48 +0000 (14:34 +0100)]
skins2: improve deallocation of ressources for layouts and controls
Layouts and Controls are interrelated. Whatever the ones first deallocated, it leaves pointers referencing objects already destroyed. and potentially means memory leak.
This patch adds an unsetLayout() function to pair the setLayout() function and aimed at releasing resources.
Policy should now be that things allocated in constructor are released in destructor and things allocated in setLayout are released in unsetLayout.
Erwan Tulou [Thu, 14 Jan 2010 10:20:40 +0000 (11:20 +0100)]
skins2: remove dead code
Remove the old way of tracking change in vout size (no longer used)
Erwan Tulou [Thu, 14 Jan 2010 09:01:45 +0000 (10:01 +0100)]
skins2: remove unnecessary notifyLayout()
In today's implementation, notifyLayout() for a control leads to a whole
layout rebuilt. Therefore, this function must be called _only_ if needed.
- Never needed in onResize() since we are already in the process of rebuilding
the whole layout. Calling notifyLayout() means the job is done twice.
- Never needed in onPositionChange() for the same reason as onResize().
- Not needed for a checkbox since already called in setImage() two lines above.