]>
git.sesse.net Git - vlc/log
Felix Paul Kühne [Sat, 27 Jun 2009 20:36:11 +0000 (22:36 +0200)]
macosx: reflect nib file changes in make dist
Felix Paul Kühne [Sat, 27 Jun 2009 20:25:45 +0000 (22:25 +0200)]
macosx: converted the remaining nib files to the IB 3.0 file format
Felix Paul Kühne [Sat, 27 Jun 2009 19:15:34 +0000 (21:15 +0200)]
contribs: fixed glib compilation by removing the dependency on gtk-doc
Laurent Aimar [Sat, 27 Jun 2009 23:33:53 +0000 (01:33 +0200)]
Workaround libmpeg2 DPB bugs (#2883).
It should work as the vout never deletes the pictures used by a decoder.
Rémi Denis-Courmont [Sat, 27 Jun 2009 14:51:05 +0000 (17:51 +0300)]
Fix format security warnings (fixes: #2857)
(cherry picked from commit
d323c4eeedd835ce126579c6131a7919255b76c1 )
Conflicts:
modules/control/hotkeys.c
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Derk-Jan Hartman [Fri, 26 Jun 2009 15:08:45 +0000 (17:08 +0200)]
macosx: Don't try to guess a name anymore. This is now done in the core.
Jean-Paul Saman [Fri, 26 Jun 2009 14:46:46 +0000 (16:46 +0200)]
qt4: v4l2 input no longer support audio capture. Use :input-slave=alsa:// instead.
(cherry picked from commit
9723a59803b71523d540d2070e60f2f11907d28e )
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Derk-Jan Hartman [Fri, 26 Jun 2009 14:14:50 +0000 (16:14 +0200)]
macosx: Fix file:// in the open panel
It's either paths or uris.
Derk-Jan Hartman [Fri, 26 Jun 2009 12:54:06 +0000 (14:54 +0200)]
quartztext: fontsizes of <=0 are not useful. use 12 as fallback.
This fixes using marq and rss filter with default options on Mac OS X.
Jean-Baptiste Kempf [Fri, 26 Jun 2009 13:10:35 +0000 (15:10 +0200)]
Update Win32 before 1.0.0
Rémi Duraffort [Fri, 26 Jun 2009 13:28:19 +0000 (15:28 +0200)]
codec_fake: use var_CreateGet* when applicable.
Rémi Duraffort [Fri, 26 Jun 2009 13:07:34 +0000 (15:07 +0200)]
codec_fake: Fix potential crash (add and delete the callback at the right
moment).
Felix Paul Kühne [Fri, 26 Jun 2009 12:06:26 +0000 (14:06 +0200)]
contribs: first step to update the mozilla SDK
Rémi Duraffort [Fri, 26 Jun 2009 10:06:43 +0000 (12:06 +0200)]
These headers are global.
Rémi Duraffort [Fri, 26 Jun 2009 09:54:38 +0000 (11:54 +0200)]
mosaic: fix potential deadlock (unlocking in the right order).
Felix Paul Kühne [Fri, 26 Jun 2009 11:02:39 +0000 (13:02 +0200)]
fixed make dist
Felix Paul Kühne [Fri, 26 Jun 2009 11:02:07 +0000 (13:02 +0200)]
macosx: added missing nib part
Felix Paul Kühne [Fri, 26 Jun 2009 11:00:43 +0000 (13:00 +0200)]
macosx: implemented options to disable Apple Remote and Media keys support
Disabling AR will work instantly, while mediakey require a restart to update the setting. To be fixed later on.
Felix Paul Kühne [Fri, 26 Jun 2009 10:14:39 +0000 (12:14 +0200)]
macosx: fixed compilation warning
Rémi Duraffort [Fri, 26 Jun 2009 09:48:09 +0000 (11:48 +0200)]
mosaic: ad missing var_DelCallback.
Rémi Duraffort [Fri, 26 Jun 2009 09:14:19 +0000 (11:14 +0200)]
Marquee: remove a double var_AddCallback and add a missing var_DelCallback.
Rémi Duraffort [Fri, 26 Jun 2009 08:24:03 +0000 (10:24 +0200)]
No need to test for NULL before free and use calloc when applicable.
Rémi Duraffort [Fri, 26 Jun 2009 08:18:08 +0000 (10:18 +0200)]
Fix encoding (and writing).
Rémi Duraffort [Fri, 26 Jun 2009 07:57:08 +0000 (09:57 +0200)]
Remove uneeded test.
Rémi Duraffort [Fri, 26 Jun 2009 07:56:50 +0000 (09:56 +0200)]
Revert "samba: simplify the configure test."
This reverts commit
26ad82e32be3ef852e577ab320db03e9a55f3c5a .
Rémi Duraffort [Fri, 26 Jun 2009 07:37:56 +0000 (09:37 +0200)]
DynamicOverlay: fix a race condition (psz_(input|output)file must be protected
by a mutex).
Rémi Duraffort [Fri, 26 Jun 2009 07:29:55 +0000 (09:29 +0200)]
Fix potential crash (missing var_DelCallback).
Rémi Duraffort [Fri, 26 Jun 2009 07:27:23 +0000 (09:27 +0200)]
DynamicOverlay: fix crash (invalid free).
The string given in a callback must be copied.
Rémi Duraffort [Fri, 26 Jun 2009 07:26:38 +0000 (09:26 +0200)]
DynamicOverlay: cosmetics.
Rémi Duraffort [Fri, 26 Jun 2009 07:01:38 +0000 (09:01 +0200)]
samba: simplify the configure test.
Rémi Denis-Courmont [Thu, 25 Jun 2009 19:44:29 +0000 (22:44 +0300)]
Process key action immediately, kill the hotkey thread
This saves memory, diminishes latency and fixes an unlikely loss of
events if too many actions are sent. This may expose some re-entrancy
bugs, although I did some succesful smoke tests. Any path that emits a
key action or a key press needs to be careful. vout_thread_t.pf_manage
is the most obvious case. That should be safe as the vout thread holds
no locks when in pf_manage. Not sure about OpenGL though.
A small bug with SPU across vout change remains present as before.
Rémi Denis-Courmont [Thu, 25 Jun 2009 18:02:56 +0000 (21:02 +0300)]
http: check x509 common name against the URL
When we connect through a proxy, the certificate common name does not
match the TCP-level hostname...
Rémi Denis-Courmont [Thu, 25 Jun 2009 17:30:57 +0000 (20:30 +0300)]
Check for remote file - Linux support
Derk-Jan Hartman [Thu, 25 Jun 2009 16:40:37 +0000 (18:40 +0200)]
file: When loading a non-local file, raise the caching with 700ms.
Derk-Jan Hartman [Thu, 25 Jun 2009 15:54:16 +0000 (17:54 +0200)]
input: assert in InputSourceInit() if there is no MRL to play
Rémi Duraffort [Thu, 25 Jun 2009 15:32:45 +0000 (17:32 +0200)]
The variable was already created by config_ChainParse.
Derk-Jan Hartman [Thu, 25 Jun 2009 14:15:37 +0000 (16:15 +0200)]
contrib: update fontconfig to 2.7.0
Derk-Jan Hartman [Thu, 25 Jun 2009 14:14:59 +0000 (16:14 +0200)]
Delete preferences.app: Update with new path due to [
5149096ca61fb84a5dc5ee5907615db3b04ac47f ]
Derk-Jan Hartman [Thu, 25 Jun 2009 13:55:22 +0000 (15:55 +0200)]
config: Change the caching directories of VLC Mac OS X to Library/Caches/VLC
Derk-Jan Hartman [Thu, 25 Jun 2009 13:48:25 +0000 (15:48 +0200)]
xspf: Don't nop item->psz_nam
Set the nop at the end of parsing, instead of the beginning, because SetURI will only init the name once. Now we had all media library items with the title "nop".
Rémi Duraffort [Thu, 25 Jun 2009 13:17:02 +0000 (15:17 +0200)]
postproc: fix potential crash (var_DelCallback missing and callback added too
early).
Rémi Duraffort [Thu, 25 Jun 2009 12:46:16 +0000 (14:46 +0200)]
Cosmetics (no functionnal changes).
Rémi Duraffort [Thu, 25 Jun 2009 11:58:02 +0000 (13:58 +0200)]
Missing var_DelCallback.
Jean-Baptiste Kempf [Thu, 25 Jun 2009 12:58:48 +0000 (14:58 +0200)]
Don't ignore DTS in wav.
Jean-Baptiste Kempf [Thu, 25 Jun 2009 12:56:44 +0000 (14:56 +0200)]
Decode correctly some ac3 in wav files.
Derk-Jan Hartman [Thu, 25 Jun 2009 12:21:53 +0000 (14:21 +0200)]
xspf: Fix a crash on track elements without a location
A <track> can have 0 or more <location> elements. VLC doesn't like elements without a uri however, so init an element with vlc://nop. Note also that we currently only support 1 location element per track....
This closes #2891
Jean-Baptiste Kempf [Thu, 25 Jun 2009 12:16:37 +0000 (14:16 +0200)]
Decode G.726 in Wav
Jean-Baptiste Kempf [Thu, 25 Jun 2009 10:17:17 +0000 (12:17 +0200)]
Qt: make open dialog modal.
This ensure consistency with simple Open.
Moreover, with those KDE effects, this is cool.
Rémi Duraffort [Thu, 25 Jun 2009 10:11:54 +0000 (12:11 +0200)]
Move the add/del_callback call (to be sure to have the needed ressources).
Jean-Baptiste Kempf [Wed, 24 Jun 2009 22:35:00 +0000 (00:35 +0200)]
Qt: fix remaining remeber-folder bug.
Close #2851
(cherry picked from commit
084a6247a99e90c1ab66090811f2a96f8c816ed7 )
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Paul Saman [Thu, 25 Jun 2009 08:42:03 +0000 (10:42 +0200)]
dv: fix compiler warnings about unused variables.
(cherry picked from commit
31d64379a5706513ee6ed4e440c9e723a9842c9e )
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Jean-Paul Saman [Thu, 25 Jun 2009 08:38:32 +0000 (10:38 +0200)]
dv: destroy mutex after vlc_pthread_join()
(cherry picked from commit
f23f5e62dcb29ca9b12a1cac73a00c464dbe6f3d )
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
Rémi Duraffort [Thu, 25 Jun 2009 08:07:55 +0000 (10:07 +0200)]
Cleaning/factorize.
Rémi Duraffort [Thu, 25 Jun 2009 08:07:36 +0000 (10:07 +0200)]
samba: remove debug test.
Rémi Duraffort [Thu, 25 Jun 2009 08:07:10 +0000 (10:07 +0200)]
Rewrite the samba access module whithout samba context (not needed) and using
only non-deprecated functions.
Rémi Duraffort [Thu, 25 Jun 2009 07:44:59 +0000 (09:44 +0200)]
Fix warning (the parameter is an integer, not a pointer)
Rémi Denis-Courmont [Wed, 24 Jun 2009 17:02:23 +0000 (20:02 +0300)]
RTP: fix sdp=file:// with mux
Rémi Denis-Courmont [Wed, 24 Jun 2009 16:49:32 +0000 (19:49 +0300)]
RTP/PS: fix crash at exit
(Rtp)Add then MuxAdd, so MuxDel before (Rtp)Del. Indeed, the PS muxer
sends packets when it's deleted, so the RTP stream is still needed.
Rémi Denis-Courmont [Wed, 24 Jun 2009 15:50:25 +0000 (18:50 +0300)]
directory: handle relative paths properly
Rémi Duraffort [Wed, 24 Jun 2009 14:31:27 +0000 (16:31 +0200)]
Typo.
Rémi Duraffort [Wed, 24 Jun 2009 14:20:40 +0000 (16:20 +0200)]
Fix a segfault (buffer overflow for win32 only).
Rémi Duraffort [Wed, 24 Jun 2009 09:51:29 +0000 (11:51 +0200)]
Fix memleak when using --demux.
Rémi Duraffort [Wed, 24 Jun 2009 08:11:02 +0000 (10:11 +0200)]
Cosmetics.
Rémi Duraffort [Wed, 24 Jun 2009 08:07:16 +0000 (10:07 +0200)]
Cleaning.
Derk-Jan Hartman [Wed, 24 Jun 2009 14:22:29 +0000 (16:22 +0200)]
input_item_SetURI(): add a NDEBUG printf check for paths.
When it is called with strings that contain " " or '\' or don't have ://, we have an indication that the caller is likely providing a path. This will help us find these cases in the future.
Ilkka Ollakka [Wed, 24 Jun 2009 13:52:36 +0000 (16:52 +0300)]
Improve x11 xinerama fullscreen window placement
Select fullscreen display the one that has most of the video-window,
then you get qt4 fullscreencontroller on same display also, and it's
more logical (imo). Algorithm is prettymuch the same as Nigel Tao has
made in his gpl2 project superswitcher, Didn't want to reinvent this
with different variable-names ;)
Derk-Jan Hartman [Wed, 24 Jun 2009 12:28:20 +0000 (14:28 +0200)]
input: SetURI No longer use DIRSEP. We are dealing with URIs, not paths.
Derk-Jan Hartman [Wed, 24 Jun 2009 11:19:28 +0000 (13:19 +0200)]
macosx: Ignore attachment:// in Art uri for now.
Derk-Jan Hartman [Wed, 24 Jun 2009 11:13:37 +0000 (13:13 +0200)]
macosx: Just use openWithURL, instead of uri->path
Pierre d'Herbemont [Wed, 24 Jun 2009 05:03:57 +0000 (22:03 -0700)]
libvlc: Abort in case of unhandled exception.
Erwan Tulou [Tue, 23 Jun 2009 21:30:01 +0000 (23:30 +0200)]
skins2: solve crashes due to releasing variables at termination
skins was using two lists of variables (named and anonymous).
The problem was that variables from one list held references to variables from the other list and vice-versa. Whatever the order of releasing them, crashes could occur.
This patch uses the anonymous list to keep a reference on **all** variables.
This guarantees they are released in the reverse order from creation.
Derk-Jan Hartman [Tue, 23 Jun 2009 21:06:47 +0000 (23:06 +0200)]
When we fill the name of an input item with URI parts, use decode_URI() so it becomes easier to read.
Rémi Denis-Courmont [Tue, 23 Jun 2009 20:08:28 +0000 (23:08 +0300)]
Do not inherit xspf-open demux from media library
Rémi Denis-Courmont [Tue, 23 Jun 2009 19:37:30 +0000 (22:37 +0300)]
XSPF: remove harmful base decoding
Rafaël Carré [Tue, 23 Jun 2009 19:27:42 +0000 (21:27 +0200)]
Assume input_item_t->psz_uri contains an URI
, like the name indicates.
Pass unmodified URIs from xspf to vlc, and stores them in xspf
unmodified as well
This commit partly reverts [
9a746cfa3078c53eed57d2102002b39c283c6ab4 ]
Code using psz_uri should be checked for consistency, and GUIs might want to decode components at display
Rémi Denis-Courmont [Tue, 23 Jun 2009 19:13:24 +0000 (22:13 +0300)]
playlist_MLLoad: format library URI correctly
Rémi Denis-Courmont [Tue, 23 Jun 2009 18:50:32 +0000 (21:50 +0300)]
playlist_Import: use make_URI
Rémi Denis-Courmont [Tue, 23 Jun 2009 18:40:04 +0000 (21:40 +0300)]
Excessive white space
Derk-Jan Hartman [Tue, 23 Jun 2009 12:22:09 +0000 (14:22 +0200)]
string: missing space
Hugo Beauzee-Luyssen [Thu, 18 Jun 2009 22:05:50 +0000 (00:05 +0200)]
Adding a libvlc_media_add_option_flag
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Rémi Duraffort [Tue, 23 Jun 2009 06:25:59 +0000 (08:25 +0200)]
Typo.
Erwan Tulou [Mon, 22 Jun 2009 21:24:51 +0000 (23:24 +0200)]
skins2: ensure the new SubX default skins doesn't crash on exit
SubX crashed on both Linux and Windows in a set::erase call (STL) when releasing C++ objects. Swapping two loops solved it. (the second loop was referencing variables released in the first loop). This makes SubX terminate nicely, but doesn't solve all crashes for skins2. (more cleanup to do)
Derk-Jan Hartman [Mon, 22 Jun 2009 19:39:07 +0000 (21:39 +0200)]
macosx: memleak due to unneeded strdup()
Derk-Jan Hartman [Mon, 22 Jun 2009 18:52:53 +0000 (20:52 +0200)]
rotate filter: Avoid a crash
This fixes a DIVIDEBYZERO crash in the rotate filter. Does not seem like the right solution to me, but dionoea should probably look into that, since he wrote most of this filter.
This crash occured with http://streams.videolan.org/issues/HIGNFY%20S25E02%20-%20Part%201.flv
plane 1 (non Y-plane)
i_visible_lines = 119
p_pic->p[Y_PLANE].i_visible_pitch = 320
p_pic->p[Y_PLANE].i_visible_lines = 239
i_visible_pitch = 160
Derk-Jan Hartman [Mon, 22 Jun 2009 18:29:13 +0000 (20:29 +0200)]
macosx: NSScreen(VLCAdditions) does not leak.
The Objective-C runtime will properly unload this at the end of the application. The mozilla plugin should not even be using this at all.
Derk-Jan Hartman [Mon, 22 Jun 2009 18:27:37 +0000 (20:27 +0200)]
Revert "macosx: NSScreen dealloc is not only called at end of execution of course."
This was even worse. +load() != init()
This reverts commit
b5feb899d6047e2371ce18fe7d73c51fe270e2a1 .
Felix Paul Kühne [Mon, 22 Jun 2009 18:32:03 +0000 (20:32 +0200)]
macosx@core: removed the usage of dyld's 'Library Functions' completely
these are automagically 'replaced by the more efficient 'Dynamic Loader Compatibility Functions.'' as suggested by Apple's documentation. IMO, this should be ported to the 1.0-bugfix branch as it cleanly fixes some 64bit crashes and should improve the performance slightly
Derk-Jan Hartman [Mon, 22 Jun 2009 17:55:12 +0000 (19:55 +0200)]
macosx: NSScreen dealloc is not only called at end of execution of course.
This fixes the NSScreen crash, which could be accurately reproduced by following the steps in #2880.
Rémi Denis-Courmont [Mon, 22 Jun 2009 17:35:58 +0000 (20:35 +0300)]
panoramix filter needs xcb-randr 1.3
Rémi Denis-Courmont [Mon, 22 Jun 2009 17:35:38 +0000 (20:35 +0300)]
Revert "xcb: as we require version 1.3, let's at least test in configure for it too."
This reverts commit
4a6e2de24341848c5592bf67ad4377d624d6f997 .
Rémi Denis-Courmont [Mon, 22 Jun 2009 16:45:52 +0000 (19:45 +0300)]
Remove vlc_UrlEncode
Rémi Denis-Courmont [Mon, 22 Jun 2009 16:45:29 +0000 (19:45 +0300)]
Remove non-existent target
Rémi Duraffort [Mon, 22 Jun 2009 12:37:47 +0000 (14:37 +0200)]
Simplification.
Rémi Duraffort [Mon, 22 Jun 2009 11:39:53 +0000 (13:39 +0200)]
podcast: save configuration when adding/removing podcast from the dialog.
Erwan Tulou [Mon, 22 Jun 2009 14:32:14 +0000 (16:32 +0200)]
skins2(SubX): correct a typo ("notdvd.isActive" => "not dvd.isActive" )
Rafaël Carré [Mon, 22 Jun 2009 13:44:52 +0000 (15:44 +0200)]
Closes #2875 : relative paths in xspf playlists
Derk-Jan Hartman [Mon, 22 Jun 2009 10:54:22 +0000 (12:54 +0200)]
Derk-Jan Hartman [Mon, 22 Jun 2009 10:46:57 +0000 (12:46 +0200)]
macosx plugin: Set miminum system version for the mozilla plugin as well.
Derk-Jan Hartman [Mon, 22 Jun 2009 10:44:37 +0000 (12:44 +0200)]
macosx: Set minimum OS version for the VLC application bundle
This works with 10.2, 10.3 and 10.4, but 10.3 requires the code we have in VLCApplication.
Derk-Jan Hartman [Fri, 19 Jun 2009 13:30:28 +0000 (15:30 +0200)]
macosx: Update list of extensions. Fix video.icns -> movie.icns
(cherry picked from commit
8b9d73a700bf003be654750df29f5af30f854bfd )
Signed-off-by: Derk-Jan Hartman <hartman@videolan.org>