]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:34:16 +0000 (00:34 +0200)]
ASF: thread-safe pseudo-random numbers
Rémi Denis-Courmont [Fri, 5 Mar 2010 22:03:27 +0000 (00:03 +0200)]
nrand48 replacement
This is the POSIX linear congruential pseudo-random generator with
48-bits of state. It is non-secure/reproducible and thread-safe.
rand() is not thread-safe and *ahem* must not be used in VLC code.
rand_r() is thread-safe but obsoleted in POSIX.2008.
For secure random numbers, use the slower vlc_rand_bytes().
vlc_rand_bytes() can also be used to generate the seed if you are short
on idea for a 48-bits pseudo-random value.
Rémi Denis-Courmont [Fri, 5 Mar 2010 21:14:56 +0000 (23:14 +0200)]
Run system_Configure after playlist is created (fixes #3344)
Kaarlo Raiha [Fri, 5 Mar 2010 19:30:31 +0000 (20:30 +0100)]
NSIS: fix autoplay of DVD and CDAudio
Signed-off-by: Geoffroy Couprie <geal@videolan.org>
Geoffroy Couprie [Fri, 5 Mar 2010 19:15:14 +0000 (20:15 +0100)]
NSIS: small path fix
Geoffroy Couprie [Fri, 5 Mar 2010 18:48:17 +0000 (19:48 +0100)]
Win32: don't launch VLC as admin after installing
Fixes 3192
Geoffroy Couprie [Wed, 3 Mar 2010 19:38:02 +0000 (20:38 +0100)]
Win32: use ShellExecuteW instead of ShellExecuteA in the update code
Fixes #3355
Geoffroy Couprie [Wed, 3 Mar 2010 17:49:59 +0000 (18:49 +0100)]
Win32: Store the plugins cache in c:\ProgramData\VideoLAN\VLC, run vlc-cache-gen.exe at install time, and as a bonus, fixes #3308
Antoine Cellerier [Fri, 5 Mar 2010 18:37:03 +0000 (19:37 +0100)]
Fix quoted values containing # in VLM shell.
(close #3154, thanks to Marnik Vander Elst)
Antoine Cellerier [Fri, 5 Mar 2010 10:34:42 +0000 (11:34 +0100)]
Fix randomisation algorithm. Thanks to jawbroken on IRC.
Pierre d'Herbemont [Fri, 5 Mar 2010 13:58:20 +0000 (14:58 +0100)]
Revert "modules: Put bool at the end of the structure to eventually ease packing."
This reverts commit
58275b9dd582d873d42c08a47873ae44b67f1003 .
This is probably too late for this kind of changes. And it's probably not the best way to reduce the hudge memory footprint of the module bank.
Pierre d'Herbemont [Fri, 5 Mar 2010 13:24:37 +0000 (14:24 +0100)]
modules: Put bool at the end of the structure to eventually ease packing.
Rémi Denis-Courmont [Wed, 3 Mar 2010 18:51:49 +0000 (20:51 +0200)]
kilobit is kb, not kB
Rémi Denis-Courmont [Wed, 3 Mar 2010 15:33:44 +0000 (17:33 +0200)]
Use KiB instead of kB for input statistics
This is an arbitrary choice. But KiB are much more common than kB.
Also the notation is unambiguous.
Note that we keep kbps for *bit* rates.
Rémi Duraffort [Fri, 5 Mar 2010 17:33:57 +0000 (18:33 +0100)]
Lower the size of the module_t structure because not any module as more than 15 shortcut (I choose 20 to be safe)
Thanks to Pierre d'Herbemont who pointed this out.
Jakob Leben [Fri, 5 Mar 2010 14:13:27 +0000 (15:13 +0100)]
Qt: prevent having cached a deleted item
When deleting, clear cache in any case since deleting an item deletes all it's children too.
Pierre d'Herbemont [Fri, 5 Mar 2010 13:58:20 +0000 (14:58 +0100)]
Revert "modules: Put bool at the end of the structure to eventually ease packing."
This reverts commit
58275b9dd582d873d42c08a47873ae44b67f1003 .
This is probably too late for this kind of changes. And it's probably not the best way to reduce the hudge memory footprint of the module bank.
Pierre d'Herbemont [Fri, 5 Mar 2010 13:24:37 +0000 (14:24 +0100)]
modules: Put bool at the end of the structure to eventually ease packing.
Pierre d'Herbemont [Fri, 5 Mar 2010 10:01:32 +0000 (11:01 +0100)]
luasd: Force a garbage collect at the end of Run().
Generally the core won't call Close() until the end of vlc's life. Hence
it's our last chance to gc collect before the end of vlc's life.
This gets important because some sd (freebox...) will open a vlc.stream
which (and that's an other issue) will eat 12MB at creation for a cache
that will never be completely filed. It also mean that if you vlc.stream
N small files, we may consume N * 12MB until finally lua decides to garabge
collect. And because we don't teach lua that vlc.stream takes 12MB this
is not likely to happen.
Pierre d'Herbemont [Fri, 5 Mar 2010 00:27:07 +0000 (01:27 +0100)]
Revert "Lua SD: let the user know we are working"
This reverts commit
d38329b4dbcc1901e2f3ac147e1dd0697a174a7e .
This is reverted because it is a hack.
Rémi Duraffort [Fri, 5 Mar 2010 08:57:46 +0000 (09:57 +0100)]
Fix make distcheck
Rémi Duraffort [Fri, 5 Mar 2010 07:24:29 +0000 (08:24 +0100)]
Use var_Type to test for the existence of a variable (even more for a void variable).
Should fix #3385
Laurent Aimar [Thu, 4 Mar 2010 22:03:40 +0000 (23:03 +0100)]
Added an option (clock-jitter) to control the maximum compensated jitter.
Only input jitters lower than clock-jitter will be compensated. You
may set it to 0 to avoid having the latency increased automatically
by VLC.
Laurent Aimar [Thu, 4 Mar 2010 21:23:29 +0000 (22:23 +0100)]
Prepare for maximal clock jitter configuration.
No functionnal changes.
Laurent Aimar [Thu, 4 Mar 2010 21:15:49 +0000 (22:15 +0100)]
Cosmetic.
Jean-Baptiste Kempf [Thu, 4 Mar 2010 21:37:33 +0000 (22:37 +0100)]
Qt: clean bgWidget
Rémi Denis-Courmont [Thu, 4 Mar 2010 21:09:23 +0000 (23:09 +0200)]
Fix make install plugins path
Pierre d'Herbemont [Thu, 4 Mar 2010 19:42:22 +0000 (20:42 +0100)]
luasd: Fix a leak.
Laurent Aimar [Thu, 4 Mar 2010 19:31:34 +0000 (20:31 +0100)]
Fixed ogg demuxer with non xiph extra header (close #3379).
Laurent Aimar [Thu, 4 Mar 2010 19:07:23 +0000 (20:07 +0100)]
Always use direct rendering with H264 in avcodec (close #3380).
Laurent Aimar [Thu, 4 Mar 2010 19:06:21 +0000 (20:06 +0100)]
Increased VOUT_MAX_PICTURES to allows H264 direct rendering.
Pierre d'Herbemont [Thu, 4 Mar 2010 18:34:21 +0000 (19:34 +0100)]
VLCKit: Fix Pre-Compile.sh when building VLC-release.app.
Pierre d'Herbemont [Thu, 4 Mar 2010 18:24:47 +0000 (19:24 +0100)]
am: Use plugins/ for VLC.app.
Rémi Denis-Courmont [Thu, 4 Mar 2010 17:51:29 +0000 (19:51 +0200)]
Get rid of PLUGIN_PATH
Rémi Denis-Courmont [Thu, 4 Mar 2010 17:44:11 +0000 (19:44 +0200)]
Set libvlc path for other platforms
Rémi Denis-Courmont [Thu, 4 Mar 2010 17:43:29 +0000 (19:43 +0200)]
Avoid tabs
Rémi Denis-Courmont [Thu, 4 Mar 2010 17:50:38 +0000 (19:50 +0200)]
LIBDIR is not used anywhere
Rémi Denis-Courmont [Thu, 4 Mar 2010 17:42:47 +0000 (19:42 +0200)]
Linux: fix set_libvlc_path and enable it
Pierre d'Herbemont [Thu, 4 Mar 2010 17:47:57 +0000 (18:47 +0100)]
VLCKit: No need to force the -arch flag now.
Pierre d'Herbemont [Thu, 4 Mar 2010 17:44:55 +0000 (18:44 +0100)]
configure: Properly set gcc -arch flag depending what host we are targeting.
Now you just need to properly set --host to build for the arch you want (ppc, i386, x86_64).
Pierre d'Herbemont [Thu, 4 Mar 2010 12:55:58 +0000 (13:55 +0100)]
VLCKit: Update Pre-Compile.sh to use plugins/ instead of modules/
Pierre d'Herbemont [Thu, 4 Mar 2010 12:29:22 +0000 (13:29 +0100)]
modules: Don't look in install directory on the Mac OS.
This could be mitigated one day by using a configure flag for command line builder.
Jean-Baptiste Kempf [Thu, 4 Mar 2010 14:41:10 +0000 (15:41 +0100)]
Contrib: use libass 0.9.9 and stop using Git
There are no reason to use Git anymore, since upstream is now clear and reactive.
Jakob Leben [Thu, 4 Mar 2010 13:33:32 +0000 (14:33 +0100)]
Qt: reorganize playlist actions, rename "Delete" to "Remove Selected"
Jean-Paul Saman [Fri, 26 Feb 2010 10:06:07 +0000 (11:06 +0100)]
Revert "Do not try to compile mozilla plugin for win32."
This reverts commit
b21ac0359611a99f8bea0c1bbcdcf1d8f4ee1768 .
Commit
cc59f6552bde51010ec2fc67bfa101a44acd6967 fixes building for win32.
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Jean-Paul Saman [Wed, 3 Mar 2010 09:02:12 +0000 (10:02 +0100)]
mozilla: use locking wrapper
Conflicts:
projects/mozilla/vlcplugin.cpp
Jean-Paul Saman [Thu, 25 Feb 2010 15:05:39 +0000 (16:05 +0100)]
mozilla: fix building for win32 (events not implemented yet)
ifdef the dependency on pthread for windows. It restricts pthread usage to XP_UNIX only. The events object should be extended to support MacOS X and Win32 too, this will be done in coming commits.
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Jakob Leben [Thu, 4 Mar 2010 09:31:45 +0000 (10:31 +0100)]
Qt: allow sorting by any meta in any view using right-click menu
Jakob Leben [Wed, 3 Mar 2010 17:58:58 +0000 (18:58 +0100)]
Qt: adjust item text position in listView for better readability
Jean-Baptiste Kempf [Thu, 4 Mar 2010 00:32:01 +0000 (01:32 +0100)]
Qt: do "normal->loopall->loop1->normal" instead of "normal->loop1->loopall->normal"
And fix logic
Jean-Baptiste Kempf [Thu, 4 Mar 2010 00:18:53 +0000 (01:18 +0100)]
Qt: New shuffle icon, still from Daniel Dreibrodt
Jean-Baptiste Kempf [Wed, 3 Mar 2010 23:16:04 +0000 (00:16 +0100)]
New icons for repeat, more obvious, done by Daniel Dreibrodt
At least we can now see the difference between loop1 and loop-all
Laurent Aimar [Wed, 3 Mar 2010 21:34:57 +0000 (22:34 +0100)]
Fixed mix up between pitches in magnify filter.
Rémi Denis-Courmont [Wed, 3 Mar 2010 21:32:21 +0000 (23:32 +0200)]
utf8_lstat -> vlc_lstat for consistency
Laurent Aimar [Wed, 3 Mar 2010 21:10:34 +0000 (22:10 +0100)]
Fixed picture leaks when unlinking a non displayed picture.
Laurent Aimar [Wed, 3 Mar 2010 21:09:51 +0000 (22:09 +0100)]
Fixed invalid var_SetBool in video_filter wrapper .
Rémi Denis-Courmont [Wed, 3 Mar 2010 19:35:26 +0000 (21:35 +0200)]
VAAPI: call XInitThreads() before XOpenDisplay()
Rémi Denis-Courmont [Wed, 3 Mar 2010 19:33:06 +0000 (21:33 +0200)]
GLX: uses Xlib, needs XInitThreads()
Rémi Denis-Courmont [Wed, 3 Mar 2010 19:27:15 +0000 (21:27 +0200)]
Pulse: uses Xlib, needs XInitThreads()
Rémi Denis-Courmont [Wed, 3 Mar 2010 19:20:46 +0000 (21:20 +0200)]
Pulse: fix warning
Rémi Denis-Courmont [Wed, 3 Mar 2010 18:51:49 +0000 (20:51 +0200)]
kilobit is kb, not kB
Rémi Denis-Courmont [Wed, 3 Mar 2010 18:09:49 +0000 (20:09 +0200)]
Merge branch 'master' of git.videolan.org:vlc
Jakob Leben [Wed, 3 Mar 2010 17:38:49 +0000 (18:38 +0100)]
Qt: show folder icon for non-leaf nodes in iconView and listView
close #3343
Rémi Denis-Courmont [Wed, 3 Mar 2010 17:12:57 +0000 (19:12 +0200)]
Remove HTML anchor from URI in all cases, not just file://
Rémi Denis-Courmont [Wed, 3 Mar 2010 17:01:01 +0000 (19:01 +0200)]
Qt4: only embed video coming from the playlist (i.e. not VLM)
Rémi Denis-Courmont [Wed, 3 Mar 2010 16:53:21 +0000 (18:53 +0200)]
Qt4: --embedded-video must be checked on the window object (not the UI)
Rémi Denis-Courmont [Wed, 3 Mar 2010 16:52:29 +0000 (18:52 +0200)]
Qt4-X11: cannot embed video if wallpaper mode is on
Rémi Denis-Courmont [Wed, 3 Mar 2010 16:50:15 +0000 (18:50 +0200)]
Grammar
Rémi Denis-Courmont [Wed, 3 Mar 2010 15:33:44 +0000 (17:33 +0200)]
Use KiB instead of kB for input statistics
This is an arbitrary choice. But KiB are much more common than kB.
Also the notation is unambiguous.
Note that we keep kbps for *bit* rates.
Rémi Denis-Courmont [Wed, 3 Mar 2010 15:48:51 +0000 (17:48 +0200)]
Use MiB rather than MB for arbitrary memory limits
Rémi Denis-Courmont [Wed, 3 Mar 2010 15:47:48 +0000 (17:47 +0200)]
Use ISO 80000 units for byte quantities as adequate
Jakob Leben [Wed, 3 Mar 2010 12:44:25 +0000 (13:44 +0100)]
Qt: ensure that item selection has visible effect in playlist views
Fix #3349.
Unfortunately we can not use QStyle to handle selection generically across platforms.
Jean-Baptiste Kempf [Tue, 2 Mar 2010 23:07:10 +0000 (00:07 +0100)]
Qt: use float for rate and fix a bug when mouseWheeling
Antoine Cellerier [Tue, 2 Mar 2010 22:19:06 +0000 (23:19 +0100)]
Update the rate value when setting the input.
Antoine Cellerier [Tue, 2 Mar 2010 22:09:34 +0000 (23:09 +0100)]
Parse input specific options earlier to enable using :rate=something
Antoine Cellerier [Tue, 2 Mar 2010 21:56:59 +0000 (22:56 +0100)]
Check rate value before using.
Laurent Aimar [Tue, 2 Mar 2010 20:26:35 +0000 (21:26 +0100)]
Removed down/up mixing support from mpgatofixed32.
It was incomplete and was creating issues when the audio output provided a
non mono device (close #3272).
Antoine Cellerier [Tue, 2 Mar 2010 13:51:05 +0000 (14:51 +0100)]
Prefer use of function references for buttons
Use of function references rather than function names to store button
actions. This allows using all kinds of functions, including non global
ones. Note that the old mechanism using global function names is not
supported anymore. Existing scripts will need to be fixed (-> just
remove the quotes around the function name).
Antoine Cellerier [Tue, 2 Mar 2010 13:33:11 +0000 (14:33 +0100)]
Lua: Misc simplifications.
Antoine Cellerier [Tue, 2 Mar 2010 11:44:26 +0000 (12:44 +0100)]
Change vlc.stream() and vlc.memory_stream() error reporting to behave like lua's io.open() or loadfile() functions.
Rémi Denis-Courmont [Tue, 2 Mar 2010 20:12:02 +0000 (22:12 +0200)]
Handle -v correctly (i.e. as most other programs do)
Rémi Denis-Courmont [Tue, 2 Mar 2010 20:07:50 +0000 (22:07 +0200)]
Install and look for plugins in plugins/, not modules/ (fixes: #3352)
Rémi Denis-Courmont [Tue, 2 Mar 2010 19:30:08 +0000 (21:30 +0200)]
XSPF: fix NULL dereference on empty <location>
Rémi Denis-Courmont [Tue, 2 Mar 2010 19:24:29 +0000 (21:24 +0200)]
Input item URI cannot be NULL
Jean-Baptiste Kempf [Tue, 2 Mar 2010 15:53:11 +0000 (16:53 +0100)]
Qt: display the correct rate
Close #3368
Jean-Baptiste Kempf [Tue, 2 Mar 2010 10:59:37 +0000 (11:59 +0100)]
Qt: simplify SpeedLabel constructor
Ref #3368
Rémi Denis-Courmont [Mon, 1 Mar 2010 21:22:46 +0000 (23:22 +0200)]
SplitMRL: warn if we get a path instead of a MRL/URI
Rémi Denis-Courmont [Mon, 1 Mar 2010 21:21:49 +0000 (23:21 +0200)]
stream redirected path is a path, not a URI (i.e. no scheme)
Antoine Cellerier [Tue, 2 Mar 2010 11:24:41 +0000 (12:24 +0100)]
Revert "Use pushliteral instead of pushstring where possible. Saves a strlen call."
This reverts commit
d69b5e609845a113328dc724e241d5e900091c9f .
Antoine Cellerier [Tue, 2 Mar 2010 11:21:25 +0000 (12:21 +0100)]
Use var_Inherit instead of var_CreateGet + var_Destroy.
Antoine Cellerier [Fri, 26 Feb 2010 11:14:26 +0000 (12:14 +0100)]
Use pushliteral instead of pushstring where possible. Saves a strlen call.
Jakob Leben [Tue, 2 Mar 2010 10:12:03 +0000 (11:12 +0100)]
Playlist: fix faulty duration sorting due to integer overflow
close #3361
Laurent Aimar [Mon, 1 Mar 2010 20:11:17 +0000 (21:11 +0100)]
Fixed closed caption decoder with CC3/4 and TX data.
Erwan Tulou [Mon, 1 Mar 2010 20:50:32 +0000 (21:50 +0100)]
core: two typos
Erwan Tulou [Mon, 1 Mar 2010 20:12:42 +0000 (21:12 +0100)]
skins2(Win32): no need to manage a two window classes
Erwan Tulou [Mon, 1 Mar 2010 17:16:47 +0000 (18:16 +0100)]
skins(Win32): replace GetWindowDC with GetDC
GetWindowDC paints in nonclient area (not recommended on msdn)
and not needed for skins. Also, it doesn't take WS_CLIPCHILDREN
into account and forced to add a lengthy hack which can now be removed.
This patch hopefully could also fix a refresh issue found only on
Vista/Win7 (to be tested) (http://forum.videolan.org/viewtopic.php?f=15&t=68891)
Rémi Denis-Courmont [Mon, 1 Mar 2010 19:06:10 +0000 (21:06 +0200)]
Qt4: use explicit direct connections when passing VLC pointers...
...without reference. With a direct connection, the call stack ensures
that the pointer remains valid until the slot returns. This is not the
case for asynchronous ("queued" in Qt4 documentation) signals.
Obviously, this means we have to emit the signals from the Qt4 main loop
thread, *or* alternatively not touch any Qt4 UI stuff fromt he slot.
Hopefully, any such bug would be easier to find this ways.
Rémi Denis-Courmont [Mon, 1 Mar 2010 18:40:34 +0000 (20:40 +0200)]
Revert "Qt4: passing pointers over thread signals is not allowed..."
This reverts commit
dcd592840d22bc93d287c9edbba72625746d1096 .
This bug is so pervasive within the Qt4 interface that removing this
instance won't make a difference.
Pierre d'Herbemont [Sun, 28 Feb 2010 22:53:00 +0000 (23:53 +0100)]
libvlc: Attempt to fix set_nsobject() with QMacCocoaViewContainer and improve documentation.
Pierre d'Herbemont [Fri, 26 Feb 2010 14:11:29 +0000 (15:11 +0100)]
VLCKit: isPreparsed doesn't exists anymore.