vlc.git
13 years agotelepathy: updates the presence only if the "item-change" new value is the same than...
Rafaël Carré [Mon, 17 Sep 2007 23:31:22 +0000 (23:31 +0000)]
telepathy: updates the presence only if the "item-change" new value is the same than the "playlist-current" value.
don't block more than 50ms to get the actual status.

13 years agoplaylist: removes useless variable, only preparse files
Rafaël Carré [Mon, 17 Sep 2007 23:17:05 +0000 (23:17 +0000)]
playlist: removes useless variable, only preparse files

13 years agostr_format_meta(): fix HUGE memory leak & segfault.
Rafaël Carré [Mon, 17 Sep 2007 23:15:37 +0000 (23:15 +0000)]
str_format_meta(): fix HUGE memory leak & segfault.
realloc() can change the pointer initialised with malloc() if memory is low !

13 years agoMacOSX/Framework/Makefile: Fix libintl link if present. Reported by Fabien Lydoire.
Pierre d'Herbemont [Mon, 17 Sep 2007 21:48:13 +0000 (21:48 +0000)]
MacOSX/Framework/Makefile: Fix libintl link if present. Reported by Fabien Lydoire.

13 years agohal services_discovery: fix invalid access to memory in Close()
Rafaël Carré [Mon, 17 Sep 2007 21:44:14 +0000 (21:44 +0000)]
hal services_discovery: fix invalid access to memory in Close()

13 years agoGNU libc-like support for "%m" expanded as strerror(errno) in Msg_*.
Rémi Denis-Courmont [Mon, 17 Sep 2007 20:19:36 +0000 (20:19 +0000)]
GNU libc-like support for "%m" expanded as strerror(errno) in Msg_*.
strerror() is mostly called in that case anyway.

13 years agoStick to American ASCII quotes otherwise gettext will whine.
Rémi Denis-Courmont [Mon, 17 Sep 2007 18:48:54 +0000 (18:48 +0000)]
Stick to American ASCII quotes otherwise gettext will whine.
You can use the nice French double quotes in fr.po instead.

13 years agoNew Telepathy plugin, to customize user Presence with MissionControl
Rafaël Carré [Mon, 17 Sep 2007 18:36:37 +0000 (18:36 +0000)]
New Telepathy plugin, to customize user Presence with MissionControl

13 years agoAttempt to fix today's RTP access changes
Rémi Denis-Courmont [Mon, 17 Sep 2007 17:55:50 +0000 (17:55 +0000)]
Attempt to fix today's RTP access changes

13 years agoHandle RTSP URLs that ends with a single slash properly
Rémi Denis-Courmont [Mon, 17 Sep 2007 17:37:16 +0000 (17:37 +0000)]
Handle RTSP URLs that ends with a single slash properly

13 years agoQt4 - Disc probing under Windows in open. Patch By Hannes Domani
Jean-Baptiste Kempf [Mon, 17 Sep 2007 17:29:30 +0000 (17:29 +0000)]
Qt4 - Disc probing under Windows in open. Patch By  Hannes Domani

13 years agoFactorize [22111]
Rafaël Carré [Mon, 17 Sep 2007 17:19:39 +0000 (17:19 +0000)]
Factorize [22111]

13 years agoQt4 - VLM dialog improvements by JF Massol.
Jean-Baptiste Kempf [Mon, 17 Sep 2007 16:56:44 +0000 (16:56 +0000)]
Qt4 - VLM dialog improvements by JF Massol.

13 years agoAdd an assertion
Rémi Denis-Courmont [Mon, 17 Sep 2007 16:56:12 +0000 (16:56 +0000)]
Add an assertion

13 years agoForce fallback to realtime clock when clock selection is not supported...
Rémi Denis-Courmont [Mon, 17 Sep 2007 16:25:19 +0000 (16:25 +0000)]
Force fallback to realtime clock when clock selection is not supported...
and restore the old broken behavior. It's high time people update to NPTL...

13 years agoDo not compute values that are never used (anymore)
Rémi Denis-Courmont [Mon, 17 Sep 2007 15:58:05 +0000 (15:58 +0000)]
Do not compute values that are never used (anymore)

13 years agoIgnore muxed RTCP packets for AVP profile
Rémi Denis-Courmont [Mon, 17 Sep 2007 15:46:32 +0000 (15:46 +0000)]
Ignore muxed RTCP packets for AVP profile

13 years ago- Restore RTP pre-buffering broken in previous commit.
Rémi Denis-Courmont [Mon, 17 Sep 2007 15:26:34 +0000 (15:26 +0000)]
- Restore RTP pre-buffering broken in previous commit.
- Fix segmentation fault in prebuffering
Md: could you please review this?

13 years agoDo not use BlockChoose when the access is explicitly RTP.
Rémi Denis-Courmont [Mon, 17 Sep 2007 15:10:41 +0000 (15:10 +0000)]
Do not use BlockChoose when the access is explicitly RTP.
This breaks when the sender uses a fancy payload type, or RTCP-mux.

13 years agoRemove useless #define
Rémi Denis-Courmont [Mon, 17 Sep 2007 14:50:18 +0000 (14:50 +0000)]
Remove useless #define

13 years ago- Fix potential use after free
Rémi Denis-Courmont [Mon, 17 Sep 2007 14:41:09 +0000 (14:41 +0000)]
- Fix potential use after free
- Fix segfault if there is no preparse and/or fetcher object

13 years agolua: Print debug message only if really wanted.
Pierre d'Herbemont [Mon, 17 Sep 2007 14:37:15 +0000 (14:37 +0000)]
lua: Print debug message only if really wanted.

13 years agoSignal the playlist BEFORE unlocking it.
Rémi Denis-Courmont [Mon, 17 Sep 2007 14:29:59 +0000 (14:29 +0000)]
Signal the playlist BEFORE unlocking it.
One should never signal a condition without the corresponding lock:
 "if predictable scheduling behavior is required, then that mutex shall
  be locked    by    the    thread   calling   pthread_cond_broadcast()
  or pthread_cond_signal()." -- POSIX

This only fixes the most obvious cases. There might be others.

13 years agoerrno.h is always needed for pthread now
Rémi Denis-Courmont [Mon, 17 Sep 2007 14:21:14 +0000 (14:21 +0000)]
errno.h is always needed for pthread now

13 years agomisc/threads.c: On non-linux create a PTHREAD_MUTEX_ERRORCHECK...
Pierre d'Herbemont [Mon, 17 Sep 2007 14:13:09 +0000 (14:13 +0000)]
misc/threads.c: On non-linux create a PTHREAD_MUTEX_ERRORCHECK...

13 years agoRevert previous commit, and updates faac & live-config patches
Rafaël Carré [Mon, 17 Sep 2007 00:02:50 +0000 (00:02 +0000)]
Revert previous commit, and updates faac & live-config patches

13 years agocontrib/faac: Uses only UNIX newline for the patch
Rafaël Carré [Sun, 16 Sep 2007 21:19:41 +0000 (21:19 +0000)]
contrib/faac: Uses only UNIX newline for the patch

13 years agoReally fix XShm detection with remote X11 (cf [19346]):
Rémi Denis-Courmont [Sun, 16 Sep 2007 17:40:33 +0000 (17:40 +0000)]
Really fix XShm detection with remote X11 (cf [19346]):
Get correct major opcode for MIT-SHM instead of an hard-coded one that
works with some X servers (not including mine).

13 years agoDon't print the "googleimage.lua: didn't return a string" message if the function...
Antoine Cellerier [Sun, 16 Sep 2007 17:23:08 +0000 (17:23 +0000)]
Don't print the "googleimage.lua: didn't return a string" message if the function returned nil.

13 years agoAdd some debug
Rémi Denis-Courmont [Sun, 16 Sep 2007 17:15:44 +0000 (17:15 +0000)]
Add some debug

13 years agoOut-of-line __pl_Get and __pl_Release - depend on libvlc_int_t
Rémi Denis-Courmont [Sun, 16 Sep 2007 15:29:04 +0000 (15:29 +0000)]
Out-of-line __pl_Get and __pl_Release - depend on libvlc_int_t

13 years agoFree no longer needed after changes in getNonEmptyString
Christophe Mutricy [Sun, 16 Sep 2007 14:56:31 +0000 (14:56 +0000)]
Free no longer needed after changes in getNonEmptyString

13 years agoFix win32 compilation, but that will crash at run-time
Rémi Denis-Courmont [Sun, 16 Sep 2007 13:31:26 +0000 (13:31 +0000)]
Fix win32 compilation, but that will crash at run-time

13 years agoMark the test programs as not installable
Rémi Denis-Courmont [Sun, 16 Sep 2007 13:05:50 +0000 (13:05 +0000)]
Mark the test programs as not installable

13 years agoBecause we are selfish bastards (at least, I am), disable fast install
Rémi Denis-Courmont [Sun, 16 Sep 2007 12:57:18 +0000 (12:57 +0000)]
Because we are selfish bastards (at least, I am), disable fast install
mode by default. Packagers and build bots should re-enable it with:
./configure --enable-fast-install

13 years agoForce the sending threads to wakeup at exit - closes #1292
Rémi Denis-Courmont [Sun, 16 Sep 2007 12:36:29 +0000 (12:36 +0000)]
Force the sending threads to wakeup at exit - closes #1292

13 years agoblock_FifoWake: force the block_FifoGet()'ing thread to wakeup without
Rémi Denis-Courmont [Sun, 16 Sep 2007 12:27:40 +0000 (12:27 +0000)]
block_FifoWake: force the block_FifoGet()'ing thread to wakeup without
queuing any data - this is mostly useful when quitting

13 years agoTypo
Christophe Mutricy [Sun, 16 Sep 2007 11:21:17 +0000 (11:21 +0000)]
Typo

13 years agonew API
Rémi Denis-Courmont [Sun, 16 Sep 2007 11:09:21 +0000 (11:09 +0000)]
new API

13 years agoUse new API too
Rémi Denis-Courmont [Sun, 16 Sep 2007 11:09:02 +0000 (11:09 +0000)]
Use new API too

13 years agoUse new API
Rémi Denis-Courmont [Sun, 16 Sep 2007 11:08:27 +0000 (11:08 +0000)]
Use new API

13 years agoTypo
Rémi Denis-Courmont [Sun, 16 Sep 2007 11:02:39 +0000 (11:02 +0000)]
Typo

13 years agoInline vlc_object_signal
Rémi Denis-Courmont [Sun, 16 Sep 2007 11:01:52 +0000 (11:01 +0000)]
Inline vlc_object_signal

13 years agoFix deadlock
Rémi Denis-Courmont [Sun, 16 Sep 2007 11:00:07 +0000 (11:00 +0000)]
Fix deadlock

13 years agoUse the new API in playlist macros
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:55:07 +0000 (10:55 +0000)]
Use the new API in playlist macros

13 years agohotkeys: use the new object locking API
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:51:35 +0000 (10:51 +0000)]
hotkeys: use the new object locking API

13 years agoForgot this file in [22086]
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:50:10 +0000 (10:50 +0000)]
Forgot this file in [22086]

13 years agoCosmetic
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:49:43 +0000 (10:49 +0000)]
Cosmetic

13 years agoAlso use the new API here
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:45:23 +0000 (10:45 +0000)]
Also use the new API here

13 years agoUse the new object locking API
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:40:28 +0000 (10:40 +0000)]
Use the new object locking API

13 years agoWrappers around thread signaling functions for object:
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:39:50 +0000 (10:39 +0000)]
Wrappers around thread signaling functions for object:
 - vlc_object_lock, vlc_object_unlock: take/release object_lock
 - vlc_object_signal: trigger object_wait
 - vlc_object_wait, vlc_object_timedwait: wait on object_wait

13 years agoReturn an error if timer expires, but still do not print it
Rémi Denis-Courmont [Sun, 16 Sep 2007 10:27:09 +0000 (10:27 +0000)]
Return an error if timer expires, but still do not print it

13 years agoConst cleanup
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:32:30 +0000 (09:32 +0000)]
Const cleanup

13 years agovar_CreateGetNEString simplications
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:25:11 +0000 (09:25 +0000)]
var_CreateGetNEString simplications

13 years agoSwitch the few var_GetString remains to var_GetNonEmptyString
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:15:27 +0000 (09:15 +0000)]
Switch the few var_GetString remains to var_GetNonEmptyString

13 years agoFix to var_GetNonEmptyString
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:14:54 +0000 (09:14 +0000)]
Fix to var_GetNonEmptyString

13 years agoFix HTTP DVB ACL
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:12:41 +0000 (09:12 +0000)]
Fix HTTP DVB ACL

13 years agotypo
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:06:47 +0000 (09:06 +0000)]
typo

13 years agoMemory error handling
Rémi Denis-Courmont [Sun, 16 Sep 2007 09:02:16 +0000 (09:02 +0000)]
Memory error handling

13 years agoPartial memory error handling
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:58:37 +0000 (08:58 +0000)]
Partial memory error handling

13 years agoError handling
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:57:34 +0000 (08:57 +0000)]
Error handling

13 years agoMemory error handling
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:52:38 +0000 (08:52 +0000)]
Memory error handling

13 years agoSimplification / memory error handling
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:49:55 +0000 (08:49 +0000)]
Simplification / memory error handling

13 years agoUse var_GetNonEmptyString were applicable
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:39:12 +0000 (08:39 +0000)]
Use var_GetNonEmptyString were applicable

13 years agoGetNonEmptyString simplification
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:29:09 +0000 (08:29 +0000)]
GetNonEmptyString simplification

13 years agoTry to fix memleaks
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:27:49 +0000 (08:27 +0000)]
Try to fix memleaks

13 years agoApparent memleak (ipkiss should review perhaps?)
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:27:06 +0000 (08:27 +0000)]
Apparent memleak (ipkiss should review perhaps?)

13 years agoError handling
Rémi Denis-Courmont [Sun, 16 Sep 2007 08:24:58 +0000 (08:24 +0000)]
Error handling

13 years agoFix condition variable clock ifdef
Rémi Denis-Courmont [Sun, 16 Sep 2007 07:49:52 +0000 (07:49 +0000)]
Fix condition variable clock ifdef

13 years agomenu.cfg has been moved to minimal.cfg
Rafaël Carré [Sat, 15 Sep 2007 23:20:13 +0000 (23:20 +0000)]
menu.cfg has been moved to minimal.cfg

13 years agoosdmenu: Reverts [22062] which was a revert of [22061], and gives the .cfg the same...
Rafaël Carré [Sat, 15 Sep 2007 22:54:41 +0000 (22:54 +0000)]
osdmenu: Reverts [22062] which was a revert of [22061], and gives the .cfg the same name than the directory.

13 years agoWin32 installer: save language used in installer for uninstaller. "[PATCH] saves...
Antoine Cellerier [Sat, 15 Sep 2007 20:54:09 +0000 (20:54 +0000)]
Win32 installer: save language used in installer for uninstaller. "[PATCH] saves the chosen language of the installer in the registry..." by Hannes Domani

13 years agoRevert [22061]. I probably need more sleep.
Rémi Denis-Courmont [Sat, 15 Sep 2007 20:44:32 +0000 (20:44 +0000)]
Revert [22061]. I probably need more sleep.

13 years agoOSD install fix from Hannes Domani
Rémi Denis-Courmont [Sat, 15 Sep 2007 20:33:07 +0000 (20:33 +0000)]
OSD install fix from Hannes Domani

13 years agoMakes vlc the 2nd Media Player in history to implement the MPRIS draft (after audacious)
Rafaël Carré [Sat, 15 Sep 2007 20:21:14 +0000 (20:21 +0000)]
Makes vlc the 2nd Media Player in history to implement the MPRIS draft (after audacious)

13 years agoAnnounce API simplification
Rémi Denis-Courmont [Sat, 15 Sep 2007 20:10:50 +0000 (20:10 +0000)]
Announce API simplification

13 years agoRemove dead code
Rémi Denis-Courmont [Sat, 15 Sep 2007 20:03:48 +0000 (20:03 +0000)]
Remove dead code

13 years agoUnexport some unused APIs
Rémi Denis-Courmont [Sat, 15 Sep 2007 19:56:11 +0000 (19:56 +0000)]
Unexport some unused APIs

13 years agostream_out_std: use new SDP API too
Rémi Denis-Courmont [Sat, 15 Sep 2007 19:45:15 +0000 (19:45 +0000)]
stream_out_std: use new SDP API too

13 years agoTypo
Rémi Denis-Courmont [Sat, 15 Sep 2007 19:33:39 +0000 (19:33 +0000)]
Typo

13 years agoVLC-specific playlist group support
Rémi Denis-Courmont [Sat, 15 Sep 2007 19:26:07 +0000 (19:26 +0000)]
VLC-specific playlist group support

13 years agoRework SDP API a little
Rémi Denis-Courmont [Sat, 15 Sep 2007 19:14:11 +0000 (19:14 +0000)]
Rework SDP API a little

13 years agoPrice of the most useless piece of code of the day
Rémi Denis-Courmont [Sat, 15 Sep 2007 18:28:10 +0000 (18:28 +0000)]
Price of the most useless piece of code of the day
(actually it might be my code)

13 years agoFix MacOS linking
Rémi Denis-Courmont [Sat, 15 Sep 2007 18:06:26 +0000 (18:06 +0000)]
Fix MacOS linking

13 years agoFix deadlock
Rémi Denis-Courmont [Sat, 15 Sep 2007 18:00:22 +0000 (18:00 +0000)]
Fix deadlock

13 years agoAnother MacOS compile fix
Rémi Denis-Courmont [Sat, 15 Sep 2007 17:41:19 +0000 (17:41 +0000)]
Another MacOS compile fix

13 years agoNote how to check which modules are enable
Christophe Mutricy [Sat, 15 Sep 2007 17:39:59 +0000 (17:39 +0000)]
Note how to check which modules are enable

13 years agoAnother attempt at fixing MacOS build
Rémi Denis-Courmont [Sat, 15 Sep 2007 17:34:23 +0000 (17:34 +0000)]
Another attempt at fixing MacOS build

13 years agoAttempt to fix MacOS build
Rémi Denis-Courmont [Sat, 15 Sep 2007 17:24:49 +0000 (17:24 +0000)]
Attempt to fix MacOS build

13 years agoSimplification to avoid busy loops after process suspension
Rémi Denis-Courmont [Sat, 15 Sep 2007 17:19:00 +0000 (17:19 +0000)]
Simplification to avoid busy loops after process suspension

13 years agoSame here
Rémi Denis-Courmont [Sat, 15 Sep 2007 17:03:36 +0000 (17:03 +0000)]
Same here

13 years agoUse monotonic clock when available only
Rémi Denis-Courmont [Sat, 15 Sep 2007 17:00:25 +0000 (17:00 +0000)]
Use monotonic clock when available only

13 years agoWake up screensaver thread every 30 seconds rather than 1/4 seconds
Rémi Denis-Courmont [Sat, 15 Sep 2007 16:51:06 +0000 (16:51 +0000)]
Wake up screensaver thread every 30 seconds rather than 1/4 seconds

13 years agoCheck for <linux/dccp.h> before including it
Rémi Denis-Courmont [Sat, 15 Sep 2007 16:50:14 +0000 (16:50 +0000)]
Check for <linux/dccp.h> before including it

13 years agoFixes debug build
Rémi Denis-Courmont [Sat, 15 Sep 2007 16:48:15 +0000 (16:48 +0000)]
Fixes debug build

13 years agoETIMEDOUT is perfectly expected here, do not complain about it
Rémi Denis-Courmont [Sat, 15 Sep 2007 16:46:13 +0000 (16:46 +0000)]
ETIMEDOUT is perfectly expected here, do not complain about it

13 years agovlc_cond_timedwait: wrapper around pthread_cond_timedwait
Rémi Denis-Courmont [Sat, 15 Sep 2007 16:31:40 +0000 (16:31 +0000)]
vlc_cond_timedwait: wrapper around pthread_cond_timedwait

13 years agoMake sure we use the same clock for condition variable
Rémi Denis-Courmont [Sat, 15 Sep 2007 16:05:36 +0000 (16:05 +0000)]
Make sure we use the same clock for condition variable
Otherwise, it'll screw up completely when we add vlc_cond_timedwait

13 years agoWhen killing libvlc, also kill all its immediate children
Rémi Denis-Courmont [Sat, 15 Sep 2007 15:46:56 +0000 (15:46 +0000)]
When killing libvlc, also kill all its immediate children
Not particularly clean, but we need to pass the exit request from libvlc
to the actual interfaces and inputs somehow...

13 years agoFix doc
Rémi Denis-Courmont [Sat, 15 Sep 2007 15:45:27 +0000 (15:45 +0000)]
Fix doc