]>
git.sesse.net Git - vlc/log
Rémi Denis-Courmont [Mon, 8 Sep 2008 17:01:38 +0000 (20:01 +0300)]
HTTP access_out: fix binding to an IPv6 address
Rémi Denis-Courmont [Mon, 8 Sep 2008 16:36:24 +0000 (19:36 +0300)]
Fix crash when thread creation fails, fix msleep usage.
Rémi Denis-Courmont [Mon, 8 Sep 2008 16:21:37 +0000 (19:21 +0300)]
live555: remove useless vlc_thread_ready from timeout thread
Rémi Denis-Courmont [Mon, 8 Sep 2008 16:18:46 +0000 (19:18 +0300)]
Do not call vlc_thread_ready with non-waiting vlc_thread_create
Olivier Aubert [Mon, 8 Sep 2008 16:31:27 +0000 (18:31 +0200)]
embedded snapshot: guard against spurious vlc_object_wait wakeups.
Thanks courmisch for noticing this.
It still uses the old, and soon to be deprecated I imagine, vlc_object_wait API, but well, we cannot go faster than the music, can we?
Olivier Aubert [Mon, 8 Sep 2008 16:17:33 +0000 (18:17 +0200)]
embedded snapshot: guard against spurious vlc_object_wait wakeups.
Thanks courmisch for noticing this.
It still uses the old, and soon to be deprecated I imagine, vlc_object_wait API, but well, we cannot go faster than the music, can we?
Rémi Denis-Courmont [Mon, 8 Sep 2008 16:08:07 +0000 (19:08 +0300)]
Improve documentation
Rémi Denis-Courmont [Mon, 8 Sep 2008 16:07:13 +0000 (19:07 +0300)]
Remove dummy usage of vlc_thread_ready()
It only makes sense if the thread actually initializes something.
Rémi Denis-Courmont [Mon, 8 Sep 2008 15:23:16 +0000 (18:23 +0300)]
Derk-Jan Hartman [Mon, 8 Sep 2008 13:24:58 +0000 (15:24 +0200)]
contrib: spelling error in Makefile
Derk-Jan Hartman [Mon, 8 Sep 2008 13:23:09 +0000 (15:23 +0200)]
contrib: dvdread's autogen.sh was significantly changed in SVN
Derk-Jan Hartman [Mon, 8 Sep 2008 13:21:49 +0000 (15:21 +0200)]
contrib: This is a Makefile. #ifdef -> ifdef
Olivier Aubert [Mon, 8 Sep 2008 13:10:06 +0000 (15:10 +0200)]
embedded snapshot: avoid an unnecessary double malloc
Olivier Aubert [Mon, 8 Sep 2008 12:21:00 +0000 (14:21 +0200)]
embedded snapshot: use vlc_object_signal_unlocked instead of vlc_object_signal
Derk-Jan Hartman [Mon, 8 Sep 2008 01:09:32 +0000 (03:09 +0200)]
live555: check for support of GET_PARAMETER
if allowed, launch a timeout keep-a-live thread
Jean-Baptiste Kempf [Sun, 7 Sep 2008 07:48:52 +0000 (00:48 -0700)]
Correctly pass all the arguments of v4l/dshow when transcoding.
Close #1998.
(cherry picked from commit
fd3426910f6ffa1db76659974ff54ba24363217a )
(cherry picked from commit
56c38ae8d2f4a31aa2145997a7bb603a50a11811 )
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Jean-Baptiste Kempf [Sun, 7 Sep 2008 07:18:02 +0000 (00:18 -0700)]
Yet again a try to fix the sizing behaviour when too big...
Jean-Baptiste Kempf [Sun, 7 Sep 2008 23:08:03 +0000 (16:08 -0700)]
Stop playlist on quit, to fix some quitting crashes.
(cherry picked from commit
1d4f7191cba5220542564c2c4abc5b663a4d3252 )
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Christophe Mutricy [Sun, 7 Sep 2008 22:18:39 +0000 (23:18 +0100)]
i18n fix
Christophe Mutricy [Sun, 7 Sep 2008 22:05:06 +0000 (23:05 +0100)]
Fix distribution of manpages
Derk-Jan Hartman [Sun, 7 Sep 2008 23:04:12 +0000 (01:04 +0200)]
TS demux: cleanup some of the dvb and telx track descriptions.
Few people will likely care about the AR of their subs.
Derk-Jan Hartman [Sun, 7 Sep 2008 22:49:41 +0000 (00:49 +0200)]
TS demux: american english is our default
Derk-Jan Hartman [Sun, 7 Sep 2008 22:31:56 +0000 (00:31 +0200)]
telx: Fix the telx-override-page option.
Derk-Jan Hartman [Sun, 7 Sep 2008 22:24:03 +0000 (00:24 +0200)]
telx: cleanup bool whitespace
Laurent Aimar [Sun, 7 Sep 2008 21:14:43 +0000 (23:14 +0200)]
Fixed a potential infinite loop with libmpeg2.
Laurent Aimar [Sun, 7 Sep 2008 20:50:54 +0000 (22:50 +0200)]
The msleep in stream.c is useless as access MUST wait themselves.
At worst it will use a lot of CPU but this will allow to detect buggy
access/access_demux module.
Laurent Aimar [Sun, 7 Sep 2008 20:34:07 +0000 (22:34 +0200)]
Do not msleep to wait for a die order.
Laurent Aimar [Sun, 7 Sep 2008 20:19:33 +0000 (22:19 +0200)]
Removed the need to msleep to handle input pause.
Laurent Aimar [Sun, 7 Sep 2008 20:02:37 +0000 (22:02 +0200)]
Reduced a bit intf and statistics updates.
Interfaces are updated every 250 millisecond.
Statistiques are updated every second.
Laurent Aimar [Sun, 7 Sep 2008 19:58:43 +0000 (21:58 +0200)]
Cosmetics (split MainLoop in smaller functions).
Laurent Aimar [Sun, 7 Sep 2008 19:45:47 +0000 (21:45 +0200)]
Do not uselessly duplicated code (input)
Laurent Aimar [Sun, 7 Sep 2008 19:25:47 +0000 (21:25 +0200)]
Cosmetics.
Rémi Denis-Courmont [Sun, 7 Sep 2008 19:27:35 +0000 (22:27 +0300)]
Remove the run-time tick warning - too many false positives.
This reverts commit
7cc631ac462df9d6caf7e98af51438956631607e .
Laurent Aimar [Sun, 7 Sep 2008 15:38:08 +0000 (17:38 +0200)]
Added support for named color in font parameters.
freetype.c and quartztext.c contain a lot of common code, that should
be factorized.
Laurent Aimar [Sun, 7 Sep 2008 14:43:57 +0000 (16:43 +0200)]
Improve subsdec html output robustness.
Laurent Aimar [Sun, 7 Sep 2008 18:57:43 +0000 (20:57 +0200)]
Fixed vlc_cond*wait on win32.
Rémi Denis-Courmont [Sun, 7 Sep 2008 18:55:12 +0000 (21:55 +0300)]
Win32: assert against recursive mutex in vlc_cond_(timed)wait
Rémi Denis-Courmont [Sun, 7 Sep 2008 18:33:39 +0000 (21:33 +0300)]
Win32: fix recursive locking imbalance
Rémi Denis-Courmont [Sun, 7 Sep 2008 18:08:15 +0000 (21:08 +0300)]
Broadcast when the object is killed
So there are no deadlocks if multiple threads are waiting on the same
object (although that's not a very brilliant idea).
Rémi Denis-Courmont [Sun, 7 Sep 2008 17:53:53 +0000 (20:53 +0300)]
Manually reset the events
Rémi Denis-Courmont [Sun, 7 Sep 2008 17:21:41 +0000 (20:21 +0300)]
Win32: rework mutex/condition implementation.
Get rid of unsafe PulseEvent().
Fix recursive mutex implementation (hopefully).
Use critical section (fast non-shared/intra-process mutexes)
rather than mutex handle (slow shared/inter-process mutexes) [1].
Do not rely on unspecified locking when SignalObjectAndWait is alerted.
Real vlc_cond_broadcast() support (hopefully).
[1] should also merge the WinCE support with WinNT.
Rémi Denis-Courmont [Sun, 7 Sep 2008 16:12:17 +0000 (19:12 +0300)]
Unexport vlc_thread_fatal (short lived)
Rémi Denis-Courmont [Sun, 7 Sep 2008 15:59:02 +0000 (18:59 +0300)]
De-inline mutex and condition functions. Document them.
The overhead of calling a function is rather tiny compared to the
overhead of doing the system call these typically involve.
Also refs #1392
Rémi Denis-Courmont [Sun, 7 Sep 2008 15:25:01 +0000 (18:25 +0300)]
vlc_cond_broadcast: broadcast signal on a condition variable
Seems like this is needed for proper vlc_object_kill() (if more than
one thread waits on a given object).
Laurent Aimar [Sun, 7 Sep 2008 15:34:07 +0000 (17:34 +0200)]
Fixed VLC_CANCEL_INIT value.
Threads can be cancelled and are not killed by default.
Laurent Aimar [Sun, 7 Sep 2008 15:17:06 +0000 (17:17 +0200)]
Fixed vlc_cond_timedwait for win32.
Windows API expect a timeout in millisecond.
SignaObjectAndWait should properly work with a 0 timeout, so try it.
(avoid an invalid lock and an uninitialized return value).
Rémi Denis-Courmont [Sun, 7 Sep 2008 13:16:06 +0000 (16:16 +0300)]
Win32: fix vlc_cond_timedwait as well
Laurent Aimar [Sat, 6 Sep 2008 11:06:36 +0000 (13:06 +0200)]
Enabled ffmpeg PAL8 support (fix #2000)
Laurent Aimar [Sat, 6 Sep 2008 22:23:10 +0000 (00:23 +0200)]
Fixed AVI palette support.
Laurent Aimar [Sat, 6 Sep 2008 11:05:04 +0000 (13:05 +0200)]
Cleaned up/fixed palettized video support.
Copy palette to fmt_out.
No you cannot blindly copy between VLC and FFmpeg structures...
Laurent Aimar [Sat, 6 Sep 2008 11:03:50 +0000 (13:03 +0200)]
Added support for palettized RGB (RGBP)
SwScaler uses a really ugly hack to transmit the palette.
Laurent Aimar [Sat, 6 Sep 2008 11:03:19 +0000 (13:03 +0200)]
First teletext track is prefered (usually main page).
Rémi Denis-Courmont [Sun, 7 Sep 2008 11:26:15 +0000 (14:26 +0300)]
Fix use of vlc_object_wait()
Rémi Denis-Courmont [Sun, 7 Sep 2008 11:25:40 +0000 (14:25 +0300)]
winsock recvmsg: fix WSARecvFrom usage
Pointed-out-by: Laurent Aimar
Rémi Denis-Courmont [Sun, 7 Sep 2008 11:06:14 +0000 (14:06 +0300)]
Podcast: thread safety fixes
Variables callback can be (and usually are) invoked from other threads.
They cannot access the object without locking, and must be unregistered
before the object is destroyed (var_DelCallback() -> free(p_sys)).
Rémi Denis-Courmont [Sun, 7 Sep 2008 11:05:29 +0000 (14:05 +0300)]
V4L2: msleep uses µs - not ms
Rémi Denis-Courmont [Sun, 7 Sep 2008 10:09:13 +0000 (13:09 +0300)]
Use mwait and remove silly msleep usage
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:59:14 +0000 (12:59 +0300)]
net_Accept: -1 (infinite) delay is valid
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:22:03 +0000 (12:22 +0300)]
var_*: use LIBVLC_USED
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:17:49 +0000 (12:17 +0300)]
var_AcquireMutex: enforce constant mutex name
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:09:18 +0000 (12:09 +0300)]
Rework delay checking, use it for net_Accept, add deadline checks
Rémi Denis-Courmont [Sat, 6 Sep 2008 16:38:29 +0000 (19:38 +0300)]
Oops
Rémi Denis-Courmont [Sat, 6 Sep 2008 16:23:57 +0000 (19:23 +0300)]
Detect unsupported sleep delay at compile time
(Currently, <1ms on Linux, and <0 on others)
Christophe Mutricy [Sat, 6 Sep 2008 16:15:52 +0000 (17:15 +0100)]
Install the manpages
Rémi Denis-Courmont [Sat, 6 Sep 2008 15:44:29 +0000 (18:44 +0300)]
__thread is ignored on Windows :(
Rémi Denis-Courmont [Sat, 6 Sep 2008 15:44:08 +0000 (18:44 +0300)]
Use NULL rather than 0
Laurent Aimar [Sat, 6 Sep 2008 14:52:20 +0000 (16:52 +0200)]
Fixed vlc_cond_wait for windows.
Thanks Courmisch for pointing it.
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:59:05 +0000 (16:59 +0300)]
Hotkeys: use normal thread synchronization APIs
Laurent Aimar [Sat, 6 Sep 2008 13:49:02 +0000 (15:49 +0200)]
Do not set object b_eof/b_error after sending the event.
This fixes a few "deadlocks" with input waiting for playlist, while
playlist is waiting for input event.
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:42:27 +0000 (16:42 +0300)]
vlc_cond_init: really remove useless parameter
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:36:44 +0000 (16:36 +0300)]
audioscrobbler: do not mix vlc_object and vlc_thread APIs...
Also do not needlessly lock after unregistering the callbacks. We have
to assume that when var_DelCallback returns, any pending callback
invocation has be completed. Otherwise, we would any crash when Close()
releases the mutex, destroys it, and the callback then tries to acquire
the mutex.
Derk-Jan Hartman [Sat, 6 Sep 2008 13:24:19 +0000 (15:24 +0200)]
ts demux: simplify the teletext case i_teletext_type to use a table.
Derk-Jan Hartman [Sat, 6 Sep 2008 13:06:13 +0000 (15:06 +0200)]
ts demux: any teletext type of 1-5 is valid.
See page 66 of ETSI EN 300 468
Derk-Jan Hartman [Sat, 6 Sep 2008 12:56:08 +0000 (14:56 +0200)]
zvbi: Use the "initial page" as signaled by the TS demuxer.
This way the TS demux can create multiple tracks that will take you straight to the subtitles, program listings etc.
Christophe Mutricy [Fri, 5 Sep 2008 23:55:44 +0000 (00:55 +0100)]
Add a small description
So that whatis is happy
Drop some unusefull undefined macros
Christophe Mutricy [Fri, 5 Sep 2008 23:09:53 +0000 (00:09 +0100)]
Antoine Cellerier [Sat, 6 Sep 2008 13:12:07 +0000 (15:12 +0200)]
Document module_Need's side effect on the object name.
Antoine Cellerier [Sat, 6 Sep 2008 13:08:50 +0000 (15:08 +0200)]
Revert "libvlc does not need an object name"
This prevents the libvlc object from having it's name set to
"memcpymmxext" by module_Need.
This reverts commit
15e7d1822c4da76b23df3530924022771a56c39f .
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:10:32 +0000 (16:10 +0300)]
vlc_object_find_name: return vlc_object_t *
Casting to any other type would be (is?) unsafe as users can now freely
alias objects.
Rémi Denis-Courmont [Sat, 6 Sep 2008 12:56:06 +0000 (15:56 +0300)]
Change the name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:52:38 +0000 (14:52 +0300)]
Remove memory error message
Laurent Aimar [Sat, 6 Sep 2008 11:45:16 +0000 (13:45 +0200)]
Add missing vlc_restorecancel in input.
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:37:57 +0000 (14:37 +0300)]
vlc_control_cancel: va_start iif va_end
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:25:45 +0000 (14:25 +0300)]
SAP out does not need an object name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:24:56 +0000 (14:24 +0300)]
fetcher and preparser don't need object names
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:24:47 +0000 (14:24 +0300)]
libvlc does not need an object name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:02:45 +0000 (14:02 +0300)]
Use fputs - properly
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:01:54 +0000 (14:01 +0300)]
CLI: libvlc -> vlc
Rémi Denis-Courmont [Sat, 6 Sep 2008 10:57:04 +0000 (13:57 +0300)]
Usage: vlc, not Usage: libvlc
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:30:44 +0000 (11:30 +0300)]
Tag some APIs as LIBVLC_USED
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:28:38 +0000 (11:28 +0300)]
LIBVLC_USED: tag for function whose result must be used
GCC will print a warning if the result of such function is ignored
This is useful for functions returning an allocated object (which
would leak if ignored), "getter" functions, and functions that are
"likely" to fail.
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:19:17 +0000 (11:19 +0300)]
Dead code
Rémi Denis-Courmont [Sat, 6 Sep 2008 07:52:37 +0000 (10:52 +0300)]
RTP: ignore packets with duplicated sequence numbers (closes #2003)
Laurent Aimar [Sat, 6 Sep 2008 00:15:41 +0000 (02:15 +0200)]
Fixed DTS muxer.
Laurent Aimar [Fri, 5 Sep 2008 23:47:53 +0000 (01:47 +0200)]
Cosmetic.
(Removed a unused macro)
Laurent Aimar [Fri, 5 Sep 2008 23:12:38 +0000 (01:12 +0200)]
Do not ignore teletext initial page (close #1997).
Be carefull, it adds a new translated strings.
Laurent Aimar [Fri, 5 Sep 2008 22:34:02 +0000 (00:34 +0200)]
Be sure to emit voutChanged() only when needed.
Laurent Aimar [Fri, 5 Sep 2008 22:14:09 +0000 (00:14 +0200)]
Fixed initial snpshot/fullscreen state.
It fixes a regression introduced by
fccf6aa0ca7e534a6546f6150943e0befa694126
Laurent Aimar [Fri, 5 Sep 2008 21:39:02 +0000 (23:39 +0200)]
Use intf-change-vout to properly detect vout (close #1992 and #1950)
Laurent Aimar [Fri, 5 Sep 2008 20:29:39 +0000 (22:29 +0200)]
Added "intf-change-vout" variable to warn about vout creation/destruction.
It is provided for convenience for interfaces.