]> git.sesse.net Git - vlc/log
vlc
15 years agoAdded support for named color in font parameters.
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.

15 years agoImprove subsdec html output robustness.
Laurent Aimar [Sun, 7 Sep 2008 14:43:57 +0000 (16:43 +0200)]
Improve subsdec html output robustness.

15 years agoFixed vlc_cond*wait on win32.
Laurent Aimar [Sun, 7 Sep 2008 18:57:43 +0000 (20:57 +0200)]
Fixed vlc_cond*wait on win32.

15 years agoWin32: assert against recursive mutex in vlc_cond_(timed)wait
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

15 years agoWin32: fix recursive locking imbalance
Rémi Denis-Courmont [Sun, 7 Sep 2008 18:33:39 +0000 (21:33 +0300)]
Win32: fix recursive locking imbalance

15 years agoBroadcast when the object is killed
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).

15 years agoManually reset the events
Rémi Denis-Courmont [Sun, 7 Sep 2008 17:53:53 +0000 (20:53 +0300)]
Manually reset the events

15 years agoWin32: rework mutex/condition implementation.
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.

15 years agoUnexport vlc_thread_fatal (short lived)
Rémi Denis-Courmont [Sun, 7 Sep 2008 16:12:17 +0000 (19:12 +0300)]
Unexport vlc_thread_fatal (short lived)

15 years agoDe-inline mutex and condition functions. Document them.
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

15 years agovlc_cond_broadcast: broadcast signal on a condition variable
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).

15 years agoFixed VLC_CANCEL_INIT value.
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.

15 years agoFixed vlc_cond_timedwait for win32.
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).

15 years agoWin32: fix vlc_cond_timedwait as well
Rémi Denis-Courmont [Sun, 7 Sep 2008 13:16:06 +0000 (16:16 +0300)]
Win32: fix vlc_cond_timedwait as well

15 years agoEnabled ffmpeg PAL8 support (fix #2000)
Laurent Aimar [Sat, 6 Sep 2008 11:06:36 +0000 (13:06 +0200)]
Enabled ffmpeg PAL8 support (fix #2000)

15 years agoFixed AVI palette support.
Laurent Aimar [Sat, 6 Sep 2008 22:23:10 +0000 (00:23 +0200)]
Fixed AVI palette support.

15 years agoCleaned up/fixed palettized video 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...

15 years agoAdded support for palettized RGB (RGBP)
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.

15 years agoFirst teletext track is prefered (usually main page).
Laurent Aimar [Sat, 6 Sep 2008 11:03:19 +0000 (13:03 +0200)]
First teletext track is prefered (usually main page).

15 years agoFix use of vlc_object_wait()
Rémi Denis-Courmont [Sun, 7 Sep 2008 11:26:15 +0000 (14:26 +0300)]
Fix use of vlc_object_wait()

15 years agowinsock recvmsg: fix WSARecvFrom usage
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
15 years agoPodcast: thread safety fixes
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)).

15 years agoV4L2: msleep uses µs - not ms
Rémi Denis-Courmont [Sun, 7 Sep 2008 11:05:29 +0000 (14:05 +0300)]
V4L2: msleep uses µs - not ms

15 years agoUse mwait and remove silly msleep usage
Rémi Denis-Courmont [Sun, 7 Sep 2008 10:09:13 +0000 (13:09 +0300)]
Use mwait and remove silly msleep usage

15 years agonet_Accept: -1 (infinite) delay is valid
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:59:14 +0000 (12:59 +0300)]
net_Accept: -1 (infinite) delay is valid

15 years agovar_*: use LIBVLC_USED
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:22:03 +0000 (12:22 +0300)]
var_*: use LIBVLC_USED

15 years agovar_AcquireMutex: enforce constant mutex name
Rémi Denis-Courmont [Sun, 7 Sep 2008 09:17:49 +0000 (12:17 +0300)]
var_AcquireMutex: enforce constant mutex name

15 years agoRework delay checking, use it for net_Accept, add deadline checks
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

15 years agoOops
Rémi Denis-Courmont [Sat, 6 Sep 2008 16:38:29 +0000 (19:38 +0300)]
Oops

15 years agoDetect unsupported sleep delay at compile time
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)

15 years agoInstall the manpages
Christophe Mutricy [Sat, 6 Sep 2008 16:15:52 +0000 (17:15 +0100)]
Install the manpages

15 years ago__thread is ignored on Windows :(
Rémi Denis-Courmont [Sat, 6 Sep 2008 15:44:29 +0000 (18:44 +0300)]
__thread is ignored on Windows :(

15 years agoUse NULL rather than 0
Rémi Denis-Courmont [Sat, 6 Sep 2008 15:44:08 +0000 (18:44 +0300)]
Use NULL rather than 0

15 years agoFixed vlc_cond_wait for windows.
Laurent Aimar [Sat, 6 Sep 2008 14:52:20 +0000 (16:52 +0200)]
Fixed vlc_cond_wait for windows.

Thanks Courmisch for pointing it.

15 years agoHotkeys: use normal thread synchronization APIs
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:59:05 +0000 (16:59 +0300)]
Hotkeys: use normal thread synchronization APIs

15 years agoDo not set object b_eof/b_error after sending the event.
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.

15 years agovlc_cond_init: really remove useless parameter
Rémi Denis-Courmont [Sat, 6 Sep 2008 13:42:27 +0000 (16:42 +0300)]
vlc_cond_init: really remove useless parameter

15 years agoaudioscrobbler: do not mix vlc_object and vlc_thread APIs...
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.

15 years agots demux: simplify the teletext case i_teletext_type to use a table.
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.

15 years agots demux: any teletext type of 1-5 is valid.
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

15 years agozvbi: Use the "initial page" as signaled by the TS demuxer.
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.

15 years agoAdd a small description
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

15 years agoFix silly [8666615cc]
Christophe Mutricy [Fri, 5 Sep 2008 23:09:53 +0000 (00:09 +0100)]
Fix silly [8666615cc]

15 years agoDocument module_Need's side effect on the object name.
Antoine Cellerier [Sat, 6 Sep 2008 13:12:07 +0000 (15:12 +0200)]
Document module_Need's side effect on the object name.

15 years agoRevert "libvlc does not need an 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.

15 years agovlc_object_find_name: return vlc_object_t *
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.

15 years agoChange the name
Rémi Denis-Courmont [Sat, 6 Sep 2008 12:56:06 +0000 (15:56 +0300)]
Change the name

15 years agoRemove memory error message
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:52:38 +0000 (14:52 +0300)]
Remove memory error message

15 years agoAdd missing vlc_restorecancel in input.
Laurent Aimar [Sat, 6 Sep 2008 11:45:16 +0000 (13:45 +0200)]
Add missing vlc_restorecancel in input.

15 years agovlc_control_cancel: va_start iif va_end
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:37:57 +0000 (14:37 +0300)]
vlc_control_cancel: va_start iif va_end

15 years agoSAP out does not need an object name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:25:45 +0000 (14:25 +0300)]
SAP out does not need an object name

15 years agofetcher and preparser don't need object names
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:24:56 +0000 (14:24 +0300)]
fetcher and preparser don't need object names

15 years agolibvlc does not need an object name
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:24:47 +0000 (14:24 +0300)]
libvlc does not need an object name

15 years agoUse fputs - properly
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:02:45 +0000 (14:02 +0300)]
Use fputs - properly

15 years agoCLI: libvlc -> vlc
Rémi Denis-Courmont [Sat, 6 Sep 2008 11:01:54 +0000 (14:01 +0300)]
CLI: libvlc -> vlc

15 years agoUsage: vlc, not Usage: libvlc
Rémi Denis-Courmont [Sat, 6 Sep 2008 10:57:04 +0000 (13:57 +0300)]
Usage: vlc, not Usage: libvlc

15 years agoTag some APIs as LIBVLC_USED
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:30:44 +0000 (11:30 +0300)]
Tag some APIs as LIBVLC_USED

15 years agoLIBVLC_USED: tag for function whose result must be 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.

15 years agoDead code
Rémi Denis-Courmont [Sat, 6 Sep 2008 08:19:17 +0000 (11:19 +0300)]
Dead code

15 years agoRTP: ignore packets with duplicated sequence numbers (closes #2003)
Rémi Denis-Courmont [Sat, 6 Sep 2008 07:52:37 +0000 (10:52 +0300)]
RTP: ignore packets with duplicated sequence numbers (closes #2003)

15 years agoFixed DTS muxer.
Laurent Aimar [Sat, 6 Sep 2008 00:15:41 +0000 (02:15 +0200)]
Fixed DTS muxer.

15 years agoCosmetic.
Laurent Aimar [Fri, 5 Sep 2008 23:47:53 +0000 (01:47 +0200)]
Cosmetic.

(Removed a unused macro)

15 years agoDo not ignore teletext initial page (close #1997).
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.

15 years agoBe sure to emit voutChanged() only when needed.
Laurent Aimar [Fri, 5 Sep 2008 22:34:02 +0000 (00:34 +0200)]
Be sure to emit voutChanged() only when needed.

15 years agoFixed initial snpshot/fullscreen state.
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

15 years agoUse intf-change-vout to properly detect vout (close #1992 and #1950)
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)

15 years agoAdded "intf-change-vout" variable to warn about vout creation/destruction.
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.

15 years agoFix object leaking when taking a snapshot.
Rémi Duraffort [Fri, 5 Sep 2008 21:47:06 +0000 (23:47 +0200)]
Fix object leaking when taking a snapshot.

15 years agoFix a BIG memleak in Qt interface (this poor object was missing his parent).
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).

15 years agoRemove double declaration.
Rémi Duraffort [Fri, 5 Sep 2008 19:30:43 +0000 (21:30 +0200)]
Remove double declaration.

15 years agoDo not ask stream layer to buffer data in UDP.
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.

15 years agoUse sub-language as DVD menu (close #1994)
Laurent Aimar [Fri, 5 Sep 2008 19:30:22 +0000 (21:30 +0200)]
Use sub-language as DVD menu (close #1994)

15 years agoFix memleak in Qt interface.
Rémi Duraffort [Fri, 5 Sep 2008 19:23:03 +0000 (21:23 +0200)]
Fix memleak in Qt interface.

15 years agoFix warnings.
Rémi Duraffort [Wed, 3 Sep 2008 20:17:41 +0000 (22:17 +0200)]
Fix warnings.

15 years agocdg codec is in codec/
Christophe Mutricy [Fri, 5 Sep 2008 18:27:50 +0000 (19:27 +0100)]
cdg codec is in codec/

15 years agodon't use the same shortcut as --list
Christophe Mutricy [Fri, 5 Sep 2008 16:37:24 +0000 (17:37 +0100)]
don't use the same shortcut as --list

15 years agoMove a bunch of plugins out of configure.ac
Rémi Denis-Courmont [Fri, 5 Sep 2008 17:01:25 +0000 (20:01 +0300)]
Move a bunch of plugins out of configure.ac

15 years agoRemove old BeOS thread support
Rémi Denis-Courmont [Fri, 5 Sep 2008 16:10:59 +0000 (19:10 +0300)]
Remove old BeOS thread support

15 years agoFix VLM double free
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
15 years agomacosx: fix CPP + SDK usage
Derk-Jan Hartman [Fri, 5 Sep 2008 14:46:26 +0000 (16:46 +0200)]
macosx: fix CPP + SDK usage

15 years agoeyetv: fix path of a file in the project
Derk-Jan Hartman [Wed, 3 Sep 2008 13:25:52 +0000 (15:25 +0200)]
eyetv: fix path of a file in the project

15 years agoFix a crash that happens if you play with video filters.
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)

15 years agoAdd a sout-keep option in the GUI as sout-keep is removed by default.
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.

15 years agoOnly Ctrl+H should make you quit minimalView mode
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)

15 years agoFound another one! Sneaky bastard...
Antoine Cellerier [Fri, 5 Sep 2008 00:31:57 +0000 (02:31 +0200)]
Found another one! Sneaky bastard...

15 years agoThis is a bolean control, not tristate.
Antoine Cellerier [Fri, 5 Sep 2008 00:28:23 +0000 (02:28 +0200)]
This is a bolean control, not tristate.

15 years agoRevert "Add option to disable embedded video in the simple prefs."
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.

15 years agoAdd option to disable embedded video in the simple prefs.
Antoine Cellerier [Fri, 5 Sep 2008 00:19:45 +0000 (02:19 +0200)]
Add option to disable embedded video in the simple prefs.

15 years agoOops.
Antoine Cellerier [Thu, 4 Sep 2008 23:56:44 +0000 (01:56 +0200)]
Oops.

15 years agoFix google video playlist script.
Antoine Cellerier [Thu, 4 Sep 2008 23:51:31 +0000 (01:51 +0200)]
Fix google video playlist script.

15 years agoSimplify.
Antoine Cellerier [Thu, 4 Sep 2008 22:44:01 +0000 (00:44 +0200)]
Simplify.

15 years agoRemove useless argument to pf_video_blend
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.

15 years agomacosx: text manipulation in the messages window doesn't make sense - disabled
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

15 years agoAdd a manpage for vlc-wrapper
Christophe Mutricy [Thu, 4 Sep 2008 21:19:46 +0000 (22:19 +0100)]
Add a manpage for vlc-wrapper

15 years agoFixed socket setup in net_ListenSingle.
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).

15 years agoRevert "Set buffer sizes"
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.

15 years agoWarn about ticks at compile-time
Rémi Denis-Courmont [Thu, 4 Sep 2008 21:01:39 +0000 (00:01 +0300)]
Warn about ticks at compile-time

15 years agoSet buffer sizes
Rémi Denis-Courmont [Thu, 4 Sep 2008 20:38:02 +0000 (23:38 +0300)]
Set buffer sizes

15 years agoProtect against multiple inclusions
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:39:04 +0000 (22:39 +0300)]
Protect against multiple inclusions

15 years agoRemove /* inside comment
Rémi Denis-Courmont [Thu, 4 Sep 2008 19:36:52 +0000 (22:36 +0300)]
Remove /* inside comment