]>
git.sesse.net Git - vlc/log
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.
Rémi Duraffort [Fri, 5 Sep 2008 21:47:06 +0000 (23:47 +0200)]
Fix object leaking when taking a snapshot.
Rémi Duraffort [Fri, 5 Sep 2008 20:17:38 +0000 (22:17 +0200)]
Fix a BIG memleak in Qt interface (this poor object was missing his parent).
Rémi Duraffort [Fri, 5 Sep 2008 19:30:43 +0000 (21:30 +0200)]
Remove double declaration.
Laurent Aimar [Fri, 5 Sep 2008 19:32:43 +0000 (21:32 +0200)]
Do not ask stream layer to buffer data in UDP.
It may improve TS clock synchro algo.
Laurent Aimar [Fri, 5 Sep 2008 19:30:22 +0000 (21:30 +0200)]
Use sub-language as DVD menu (close #1994)
Rémi Duraffort [Fri, 5 Sep 2008 19:23:03 +0000 (21:23 +0200)]
Fix memleak in Qt interface.
Rémi Duraffort [Wed, 3 Sep 2008 20:17:41 +0000 (22:17 +0200)]
Fix warnings.
Christophe Mutricy [Fri, 5 Sep 2008 18:27:50 +0000 (19:27 +0100)]
cdg codec is in codec/
Christophe Mutricy [Fri, 5 Sep 2008 16:37:24 +0000 (17:37 +0100)]
don't use the same shortcut as --list
Rémi Denis-Courmont [Fri, 5 Sep 2008 17:01:25 +0000 (20:01 +0300)]
Move a bunch of plugins out of configure.ac
Rémi Denis-Courmont [Fri, 5 Sep 2008 16:10:59 +0000 (19:10 +0300)]
Remove old BeOS thread support
Rémi Denis-Courmont [Fri, 5 Sep 2008 15:22:34 +0000 (18:22 +0300)]
Fix VLM double free
Pointed-out-by: Sébastien Escudier
Derk-Jan Hartman [Fri, 5 Sep 2008 14:46:26 +0000 (16:46 +0200)]
macosx: fix CPP + SDK usage
Derk-Jan Hartman [Wed, 3 Sep 2008 13:25:52 +0000 (15:25 +0200)]
eyetv: fix path of a file in the project
Jean-Baptiste Kempf [Fri, 5 Sep 2008 08:07:09 +0000 (01:07 -0700)]
Fix a crash that happens if you play with video filters.
Crash happens if you do:
- Play item
- Activate vfilter
- Stop item
- Deactivate vfilter... BooM.
(cherry picked from commit
c876401791144309d2427214d818a34198238358 )
Jean-Baptiste Kempf [Fri, 5 Sep 2008 06:54:38 +0000 (23:54 -0700)]
Add a sout-keep option in the GUI as sout-keep is removed by default.
Jean-Baptiste Kempf [Thu, 4 Sep 2008 08:26:02 +0000 (01:26 -0700)]
Only Ctrl+H should make you quit minimalView mode
(cherry picked from commit
c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6 )
Antoine Cellerier [Fri, 5 Sep 2008 00:31:57 +0000 (02:31 +0200)]
Found another one! Sneaky bastard...
Antoine Cellerier [Fri, 5 Sep 2008 00:28:23 +0000 (02:28 +0200)]
This is a bolean control, not tristate.
Antoine Cellerier [Fri, 5 Sep 2008 00:24:33 +0000 (02:24 +0200)]
Revert "Add option to disable embedded video in the simple prefs."
Already available in the interface sprefs.
This reverts commit
c1a144df34204a213648092615d01a113e9af076 .
Antoine Cellerier [Fri, 5 Sep 2008 00:19:45 +0000 (02:19 +0200)]
Add option to disable embedded video in the simple prefs.
Antoine Cellerier [Thu, 4 Sep 2008 23:56:44 +0000 (01:56 +0200)]
Oops.
Antoine Cellerier [Thu, 4 Sep 2008 23:51:31 +0000 (01:51 +0200)]
Fix google video playlist script.
Antoine Cellerier [Thu, 4 Sep 2008 22:44:01 +0000 (00:44 +0200)]
Simplify.
Antoine Cellerier [Thu, 4 Sep 2008 22:30:58 +0000 (00:30 +0200)]
Remove useless argument to pf_video_blend
We were already blending directly on top of the destination
picture. This simplifies the code and should prevent further
confusion.
Felix Paul Kühne [Thu, 4 Sep 2008 21:46:33 +0000 (23:46 +0200)]
macosx: text manipulation in the messages window doesn't make sense - disabled
Christophe Mutricy [Thu, 4 Sep 2008 21:19:46 +0000 (22:19 +0100)]
Add a manpage for vlc-wrapper
Laurent Aimar [Thu, 4 Sep 2008 21:02:41 +0000 (23:02 +0200)]
Fixed socket setup in net_ListenSingle.
(it was used by net_OpenDgram when no server is specified).
Rémi Denis-Courmont [Thu, 4 Sep 2008 21:07:05 +0000 (00:07 +0300)]
Revert "Set buffer sizes"
This reverts commit
9a5e5236beae0b8c9ff08dcecc8922ac13d54799 .
Not intended for master.
Rémi Denis-Courmont [Thu, 4 Sep 2008 21:01:39 +0000 (00:01 +0300)]
Warn about ticks at compile-time
Rémi Denis-Courmont [Thu, 4 Sep 2008 20:38:02 +0000 (23:38 +0300)]
Set buffer sizes
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:39:04 +0000 (22:39 +0300)]
Protect against multiple inclusions
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:36:52 +0000 (22:36 +0300)]
Remove /* inside comment
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:24:31 +0000 (22:24 +0300)]
Remove declaration for vanished function
Laurent Aimar [Thu, 4 Sep 2008 18:46:07 +0000 (20:46 +0200)]
Fixed mwait for windows.
SleepEx expects a duration in milli second.
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:10:34 +0000 (21:10 +0300)]
Add msleep misuse warning
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:10:06 +0000 (21:10 +0300)]
Win32: strerror won't work
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:09:48 +0000 (21:09 +0300)]
Win32: restore accidentally removed variable
Rémi Denis-Courmont [Thu, 4 Sep 2008 18:08:00 +0000 (21:08 +0300)]
Win32: fix warning