]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Wed, 15 Apr 2009 12:37:20 +0000 (15:37 +0300)]
Thread-safe and more compact hotkeys initialization
Rémi Denis-Courmont [Wed, 15 Apr 2009 11:40:48 +0000 (14:40 +0300)]
Revert "Win32: use the destructor function for TLS (fixes #2398)"
This reverts commit
3cda36f43fab280a7ef51f526f52897af1d40858 .
Derk-Jan Hartman [Tue, 14 Apr 2009 21:39:34 +0000 (23:39 +0200)]
fortunes.txt: Amy Wineglass slapping
Antoine Cellerier [Tue, 14 Apr 2009 19:17:09 +0000 (21:17 +0200)]
Fixing the mosaic memleak is worth mentioning.
Phil Roffe and David Grellscheid [Tue, 14 Apr 2009 18:43:12 +0000 (20:43 +0200)]
Fixed by decrementing the i_refcount variable in the correct manner -
and therefore freeing the memory only when the i_refcount successfully
went to 0.
The problem was that i_refcount is an unsigned variable, and was being
decremented twice, once erroneously by mosaic_bridge, and then again in
the picture's original pf_release function. If i_refcount started at 1,
it wrapped to the maximum unsigned value rather than -1, failing the
refcount tests in the pf_release function.
Patch Authors: Phil Roffe and David Grellscheid
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
Jean-Baptiste Kempf [Tue, 14 Apr 2009 17:31:17 +0000 (19:31 +0200)]
MKV: fix support of MLP tracks in MKV.
Sample can be found at ftp://streams.videolan.org/streams-videolan/matroska/MLP_5.1.mka
It seems to work, but I have difficulties to find a reference output.
Support for TrueHD is not yet tested because of lack of correct sample.
Derk-Jan Hartman [Tue, 14 Apr 2009 16:21:41 +0000 (18:21 +0200)]
avcodec: correct fourcc for XSUB
Derk-Jan Hartman [Tue, 14 Apr 2009 16:20:18 +0000 (18:20 +0200)]
avi: detect DivX XSUB subtitles.
Rémi Denis-Courmont [Tue, 14 Apr 2009 16:12:41 +0000 (19:12 +0300)]
Fix --vout-event value descriptions
Rémi Denis-Courmont [Tue, 14 Apr 2009 16:10:31 +0000 (19:10 +0300)]
vout-event used to be called x11-event
Rémi Denis-Courmont [Tue, 14 Apr 2009 15:39:52 +0000 (18:39 +0300)]
Avoid POSIX-deprecated asctime_r()
Rémi Denis-Courmont [Tue, 14 Apr 2009 11:27:02 +0000 (14:27 +0300)]
No need to check for strtof() here
Derk-Jan Hartman [Mon, 13 Apr 2009 22:35:05 +0000 (00:35 +0200)]
contrib: Makefile uses tab not spaces
Rémi Denis-Courmont [Tue, 14 Apr 2009 08:24:35 +0000 (11:24 +0300)]
Cannot read from probe, not from peek
Geoffroy Couprie [Tue, 14 Apr 2009 07:59:48 +0000 (09:59 +0200)]
Add Koreus Lua playlist file
Felix Paul Kühne [Mon, 13 Apr 2009 22:21:05 +0000 (00:21 +0200)]
macosx: compile code explictly for the required architecture.
First step of fixing linking errors against libx264
Felix Paul Kühne [Mon, 13 Apr 2009 21:10:31 +0000 (23:10 +0200)]
contribs: don't compile ffmpeg with mdynamic-no-pic on PPC-Macs, as this is a really bad idea. You need PIC in shared libs on this platform.
This slows down the compilation speed by 5%, but that should be fine. Pointed by nobody.loopback on the forum.
Laurent Aimar [Mon, 13 Apr 2009 20:37:56 +0000 (22:37 +0200)]
Improved a52 in wav detection robustness.
It fixes #2648.
Laurent Aimar [Mon, 13 Apr 2009 19:46:52 +0000 (21:46 +0200)]
Split out a52 parsing functions into a52.h
Rémi Denis-Courmont [Mon, 13 Apr 2009 20:40:22 +0000 (23:40 +0300)]
Don't try to lock locked mutexes under valgrind
This removes a lot of false true positives.
Rémi Denis-Courmont [Mon, 13 Apr 2009 20:27:53 +0000 (23:27 +0300)]
De-inline vlc_assert_locked()
Laurent Aimar [Mon, 13 Apr 2009 19:24:05 +0000 (21:24 +0200)]
Fixed an incorrect read() error handling (http access).
It was based on xxcv investigation and preliminary patch.
It should fix #2644.
Felix Paul Kühne [Mon, 13 Apr 2009 18:35:46 +0000 (20:35 +0200)]
contribs: binary package 6 is up for ppc
Laurent Aimar [Mon, 13 Apr 2009 16:33:08 +0000 (18:33 +0200)]
Fixed some AC3 file playback with a52 audio filter.
Always increase i_bytes_per_frame to avoid cycling between 2 values with
some files.
Felix Paul Kühne [Mon, 13 Apr 2009 17:36:43 +0000 (19:36 +0200)]
contribs: fix libcaca compilation on OSX/PPC
Felix Paul Kühne [Mon, 13 Apr 2009 16:53:20 +0000 (18:53 +0200)]
contribs: remove no longer needed swscale patch
Felix Paul Kühne [Mon, 13 Apr 2009 16:03:25 +0000 (18:03 +0200)]
Felix Paul Kühne [Mon, 13 Apr 2009 15:32:59 +0000 (17:32 +0200)]
contribs: fixed liboil compilation on PPC machines
YES, imagine, including stdint.h is apparently a good idea from time to time!
Laurent Aimar [Mon, 13 Apr 2009 14:16:34 +0000 (16:16 +0200)]
Added support for buggy SubRip files that use dot instead of comma.
Felix Paul Kühne [Mon, 13 Apr 2009 13:48:52 +0000 (15:48 +0200)]
contribs: use yasm on PPC-Darwin, too
Felix Paul Kühne [Mon, 13 Apr 2009 13:45:33 +0000 (15:45 +0200)]
contribs: use gnu main server instead of esat, as it is much more reliable, obviously...
Felix Paul Kühne [Mon, 13 Apr 2009 11:04:27 +0000 (13:04 +0200)]
macosx: work-around a deprecated method and ask the playlist properly for its size
Felix Paul Kühne [Sun, 12 Apr 2009 21:42:54 +0000 (23:42 +0200)]
macosx: fix copy/paste error
Pierre d'Herbemont [Sun, 12 Apr 2009 21:31:50 +0000 (14:31 -0700)]
gui/*macosx: Don't rely on carbon or on old non 64 bits API when possible.
Felix Paul Kühne [Sun, 12 Apr 2009 19:27:32 +0000 (21:27 +0200)]
macosx: get rid of the infamous 'get' prefixes everywhere and finally respect Cocoa's naming scheme here
Felix Paul Kühne [Sun, 12 Apr 2009 15:32:00 +0000 (17:32 +0200)]
macosx: experimental 64bit support
quartztext, controlling playback with the Apple Remote and embedded AGL vouts (aka safari/mozilla plugin vouts) are not supported by now. Quartztext and AGL vout will need a complete rewrite.
The OS X interface no longer depends on the QuickTime framework.
Felix Paul Kühne [Sun, 12 Apr 2009 15:25:48 +0000 (17:25 +0200)]
configure: default disable the deprecated quicktime decoder plugin
Check for broken ld on Darwin 9 only
Laurent Aimar [Sun, 12 Apr 2009 14:38:34 +0000 (16:38 +0200)]
Fixed segfault with some dvd subttile streams.
It happens when RLE offsets overlap (en general, because both fields
share the same data).
Its is probably present in 0.9.
Laurent Aimar [Sun, 12 Apr 2009 13:25:09 +0000 (15:25 +0200)]
Always use swab.
Laurent Aimar [Sun, 12 Apr 2009 13:24:23 +0000 (15:24 +0200)]
Implemented replacement for swab.
Felix Paul Kühne [Sun, 12 Apr 2009 13:08:11 +0000 (15:08 +0200)]
contribs: updated binary package for Mac OS X (i686 and x86_64 only for now)
Note that the x86_64 package doesn't include libsdl, libsdl_image and goom2k4, as these aren't 64bit compatible.
Felix Paul Kühne [Sun, 12 Apr 2009 12:19:19 +0000 (14:19 +0200)]
contribs/ffmpeg: apply ppc-only patches on ppc only...
Felix Paul Kühne [Sun, 12 Apr 2009 12:08:48 +0000 (14:08 +0200)]
contribs: compile ffmpeg for Intel core2 on Darawin 10
Felix Paul Kühne [Sun, 12 Apr 2009 12:02:40 +0000 (14:02 +0200)]
macosx: let the about window show whether VLC runs in 32 or 64 bit mode
Rémi Denis-Courmont [Sun, 12 Apr 2009 09:51:21 +0000 (12:51 +0300)]
Remove unused vlc_(send|recv)msg
Rémi Denis-Courmont [Sun, 12 Apr 2009 07:23:20 +0000 (10:23 +0300)]
Fix C++ linking
Pierre d'Herbemont [Sat, 11 Apr 2009 17:33:06 +0000 (10:33 -0700)]
macosx/framework: Back in business.
Pierre d'Herbemont [Sat, 11 Apr 2009 17:32:06 +0000 (10:32 -0700)]
Use the nsobject for minimal_macosx.
Pierre d'Herbemont [Sat, 11 Apr 2009 17:29:35 +0000 (10:29 -0700)]
libvlc: Export _get/set_nsobject.
Rémi Denis-Courmont [Sat, 11 Apr 2009 18:36:38 +0000 (21:36 +0300)]
Typo
Rémi Denis-Courmont [Sat, 11 Apr 2009 18:01:48 +0000 (21:01 +0300)]
Win32: use the destructor function for TLS (fixes #2398)
This fixes a long-standing leak. But this fix is untested and might
cause disastrous crashes. By the way, I think we should split Win32
and pthread stuff apart from threads.c
Rémi Denis-Courmont [Sat, 11 Apr 2009 18:00:38 +0000 (21:00 +0300)]
vlc_thread_fatal is not needed on production builds
Rémi Denis-Courmont [Sat, 11 Apr 2009 18:00:08 +0000 (21:00 +0300)]
libvlc.dll needs libcompat.la
Rémi Denis-Courmont [Sat, 11 Apr 2009 17:59:44 +0000 (20:59 +0300)]
Preprocessor is sufficient for mingw-runtime check
Rémi Denis-Courmont [Sat, 11 Apr 2009 17:59:13 +0000 (20:59 +0300)]
Fix strcasestr replacement
Rémi Denis-Courmont [Sat, 11 Apr 2009 17:10:14 +0000 (20:10 +0300)]
Deinline vlc_threadvar_(|s)get and kill useless indirection
I wonder if we should unexport threadvar functions? In any case, they
are not used from outside libvlccore at the moment.
Rémi Denis-Courmont [Sat, 11 Apr 2009 15:14:23 +0000 (18:14 +0300)]
typo
Rémi Denis-Courmont [Sat, 11 Apr 2009 12:20:31 +0000 (15:20 +0300)]
Rationalize string
Jean-Philippe Andre [Sat, 11 Apr 2009 05:43:38 +0000 (13:43 +0800)]
Fix object leak (1 from my previous commit + 2 others)
Jean-Philippe Andre [Sat, 11 Apr 2009 05:16:25 +0000 (13:16 +0800)]
Fix segfault: press Shift+A without an opened AOUT would crash.
Jean-Philippe Andre [Sat, 11 Apr 2009 04:41:01 +0000 (12:41 +0800)]
Qt: toggle minimal view should not change the interface size
Jean-Philippe Andre [Sat, 11 Apr 2009 03:51:46 +0000 (11:51 +0800)]
Qt: no popup menu over the status bar and menu bar
Rémi Denis-Courmont [Fri, 10 Apr 2009 19:49:43 +0000 (22:49 +0300)]
Remove buggy and unused vlc_wraptext()
It did not count non-ASCII characters at all (wrapping asian text must
have been fun...). Then again, to wrap even fixed-width font text, you
need to use wcwidth()/wcswidth().
Derk-Jan Hartman [Fri, 10 Apr 2009 19:33:15 +0000 (21:33 +0200)]
macosx: fix compilation error introduced in [
5c30d75fcc257c8479e2d03f12b634b7fb87c3d5 ]
Derk-Jan Hartman [Fri, 10 Apr 2009 19:05:58 +0000 (21:05 +0200)]
mkv: remove unmatche #endif introduced [
b870bc9ddf45f01d24adb398b5f442ddc87a00ae ]
Rémi Denis-Courmont [Fri, 10 Apr 2009 19:19:20 +0000 (22:19 +0300)]
Merge branch 'master' of git@git.videolan.org:vlc
Rémi Denis-Courmont [Fri, 10 Apr 2009 19:17:13 +0000 (22:17 +0300)]
Move remaining replacement to static import library
Rémi Denis-Courmont [Fri, 10 Apr 2009 19:12:30 +0000 (22:12 +0300)]
Mention which standard replacements follow
Felix Paul Kühne [Fri, 10 Apr 2009 18:56:18 +0000 (20:56 +0200)]
macosx: NSApplication was subclassed in [
408f769e5768bf1c8dbc840bef1c560a91de6d5f ], so let's set the file's owner to use the correct class
This also fixes some minor type errors in the main nib
Rémi Denis-Courmont [Fri, 10 Apr 2009 18:15:18 +0000 (21:15 +0300)]
Avoid alloca()
By the way, alloca() _cannot_ return NULL. It simply crashes if there
is not enough memory.
Rémi Denis-Courmont [Fri, 10 Apr 2009 18:14:38 +0000 (21:14 +0300)]
Use stack array rather than alloca
Rémi Denis-Courmont [Fri, 10 Apr 2009 17:17:03 +0000 (20:17 +0300)]
Remove useless bsearch check
Rémi Denis-Courmont [Fri, 10 Apr 2009 17:14:10 +0000 (20:14 +0300)]
Start moving replacement functions to a static import library
Rémi Denis-Courmont [Fri, 10 Apr 2009 16:41:21 +0000 (19:41 +0300)]
Remove unused scandir check
David Flynn [Fri, 10 Apr 2009 12:53:01 +0000 (12:53 +0000)]
win32: delete old *printf fixup code.
mingw provides this all for free and is better.
Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
David Flynn [Fri, 10 Apr 2009 12:53:00 +0000 (12:53 +0000)]
win32: Fix *printf & require mingw32-runtime version > 3.13
*printf as per MSVCRT is not c99 compliant. mingw32 provides a set of
replacement functions, but these are buggy in old versions.
Defining __USE_MINGW_ANSI_STDIO causes mingw's stdio to provide a
set of wrappers that use the mingw32 version that gets statically
linked.
Attention needs to be given to contrib too, it is possible for contrib
to expect a c99 *printf and later die. This patch modifies the conrtib
bootstrap to define the above in CPPFLAGS, however, not all builds
honour CPPFLAGS.
This can be validated by looking for the import from msvcrt:
$ find vlc-w32/vlc-1.0.0-pre1/ -name '*.dll' -print -exec sh -c \
'i586-mingw32msvc-nm {} | grep __imp__.*printf' ';'
If all is good, this shouldn't find anything.
This patch *will* break WinCE support. However, it is semibroken
anyway; better to force it to be fixed completely.
Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
David Flynn [Fri, 10 Apr 2009 12:52:59 +0000 (12:52 +0000)]
Revert "Revert "win32: remove old attempts to define snprintf _snprintf""
This reverts commit
db01e438b2125e1a221535adc07eda1ae65b0769 .
Original commit was correct. -- davidf
Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
David Flynn [Fri, 10 Apr 2009 12:52:58 +0000 (12:52 +0000)]
contrib: fix building static liboil
Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:38:58 +0000 (16:38 +0300)]
Remove useless check for time.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:33:54 +0000 (16:33 +0300)]
Remove useless (partially used) check for stdint.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:32:21 +0000 (16:32 +0300)]
Remove unused check for sys/sockio.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:31:25 +0000 (16:31 +0300)]
Remove useless (very partially used) check for errno.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:28:45 +0000 (16:28 +0300)]
Remove unused check for stdbool.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:27:33 +0000 (16:27 +0300)]
Remove unused check for wchar.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:26:42 +0000 (16:26 +0300)]
Remove unused check for sys/int_types.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:26:01 +0000 (16:26 +0300)]
Remove useless check for inttypes.h
Rémi Denis-Courmont [Fri, 10 Apr 2009 13:24:14 +0000 (16:24 +0300)]
Remove useless check for (C89) <signal.h>
Felix Paul Kühne [Fri, 10 Apr 2009 13:53:07 +0000 (15:53 +0200)]
macosx: implement controll support for the Media Keys on Brushed Al Apple keyboards
I'll add an option to disable this feature later on
Felix Paul Kühne [Fri, 10 Apr 2009 10:02:04 +0000 (12:02 +0200)]
macosx: fixed crash in case either psz_module or psz_msg are NULL when received from core
Fixes playback of AVI files... ;)
Jean-Baptiste Kempf [Thu, 9 Apr 2009 20:39:36 +0000 (22:39 +0200)]
Qt4: correct fix for Hotkeys preferences.
Jean-Baptiste Kempf [Thu, 9 Apr 2009 20:34:25 +0000 (22:34 +0200)]
Contribs: live-win32-nonblock.patch is unneeded now (applied upstream)
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:59:21 +0000 (20:59 +0200)]
Revert "win32: fix %zu fixups - dont use mingw's vsnprintf"
This reverts commit
151982aab503fa812cd4d6e830df34e78871c106 .
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:59:05 +0000 (20:59 +0200)]
Revert "win32: vlc_fix_format_string - various fixes"
This reverts commit
3779d5bd1c335d724b31ce730a8387cb7770fc06 .
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:58:54 +0000 (20:58 +0200)]
Revert "win32: make vlc_vsnprintf more like c99 vsnprintf"
This reverts commit
30f33e7a0e3726404e4b9d2f51840e8de1a527f3 .
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:58:40 +0000 (20:58 +0200)]
Revert "win32: remove old attempts to define snprintf _snprintf"
This reverts commit
3bceb9cfef124ace40526336905a2a0656bb5630 .
Jean-Baptiste Kempf [Thu, 9 Apr 2009 18:57:06 +0000 (20:57 +0200)]
Revert "Qt: fix crashes possible in Hotkey settings."
This reverts commit
f5d10727954d8b176a25a54e12e30832b599b509 .
Laurent Aimar [Tue, 7 Apr 2009 12:29:30 +0000 (14:29 +0200)]
Improved wav multichannel support.
When a channel mask is incomplete, use 'random' position to fill it up.
(It means that the channel position is 'unspecified' and so we have to
choose it ourselve).
It should fix #2618.
Rémi Denis-Courmont [Thu, 9 Apr 2009 16:18:30 +0000 (19:18 +0300)]
Compile fix
Jean-Baptiste Kempf [Thu, 9 Apr 2009 16:14:22 +0000 (18:14 +0200)]
Qt: fix crashes possible in Hotkey settings.
Rémi Denis-Courmont [Thu, 9 Apr 2009 14:54:41 +0000 (17:54 +0300)]
XCB: resize support
Note that the video output core seems to call pf_end while some pictures
are still in use upstream. That will crash. IMHO, this is a libvlc bug,
as the vout plugin cannot know when to release the picture or reallocate
those pictures.