vlc.git
13 years agodv: cleanup
Jean-Paul Saman [Mon, 27 Apr 2009 10:47:30 +0000 (12:47 +0200)]
dv: cleanup

13 years agoUse pkg-config to detect libraw1394 and libavc1394
Jean-Paul Saman [Mon, 27 Apr 2009 10:40:50 +0000 (12:40 +0200)]
Use pkg-config to detect libraw1394 and libavc1394

13 years agoCleanup whitespace.
Jean-Paul Saman [Mon, 27 Apr 2009 08:02:55 +0000 (10:02 +0200)]
Cleanup whitespace.

13 years agosrc/control/video.c: Replace vlc_object_find with input_GetVout()
Jean-Paul Saman [Fri, 27 Mar 2009 11:22:08 +0000 (12:22 +0100)]
src/control/video.c: Replace vlc_object_find with input_GetVout()

13 years agomozilla: fix integer types
Jean-Paul Saman [Tue, 17 Mar 2009 13:28:12 +0000 (14:28 +0100)]
mozilla: fix integer types

(u)int16 -> (u)int16_t
(u)int32 -> (u)int32_t

13 years agoAdded and used text_style_* methods.
basOS G [Mon, 11 May 2009 21:35:40 +0000 (23:35 +0200)]
Added and used text_style_* methods.

It had the following functions:
- text_style_New  -- allocates default text style
- text_style_Dup  -- allocates and copies text style
- text_style_Copy -- copies text style
- text_style_Delete -- deallocates text style

NOTE that the vout_ShowText* functions will take a p_style and copy
it internally so you have to free in the caller function.
 Other modules where p_style was malloced there are now fixed to
copy before calling the vout* functions.

Original patch by basOS G with a few modifications by fenrir.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoSplit INPUT_EVENT_TIMES into INPUT_EVENT_POSITION/LENGTH.
Laurent Aimar [Mon, 11 May 2009 20:17:54 +0000 (22:17 +0200)]
Split INPUT_EVENT_TIMES into INPUT_EVENT_POSITION/LENGTH.

It allows a finer control on what to update (for gui).

13 years agoRemoved dead code.
Laurent Aimar [Tue, 17 Mar 2009 21:19:38 +0000 (22:19 +0100)]
Removed dead code.

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Mon, 11 May 2009 19:22:52 +0000 (22:22 +0300)]
Merge branch 1.0-bugfix

13 years agoKDE4 screensaver preemption (fixes #2730)
Felix Geyer [Mon, 11 May 2009 19:21:39 +0000 (22:21 +0300)]
KDE4 screensaver preemption (fixes #2730)

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agotypo
Rémi Denis-Courmont [Mon, 11 May 2009 17:28:36 +0000 (20:28 +0300)]
typo

13 years agoqt4: kill unused askVideoToToggle()
Rémi Denis-Courmont [Mon, 11 May 2009 17:25:15 +0000 (20:25 +0300)]
qt4: kill unused askVideoToToggle()

13 years agoqt4: remove double check of isFullScreen
Rémi Denis-Courmont [Mon, 11 May 2009 17:12:27 +0000 (20:12 +0300)]
qt4: remove double check of isFullScreen

13 years agoMerge commit 'origin/1.0-bugfix'
Rémi Denis-Courmont [Mon, 11 May 2009 16:30:53 +0000 (19:30 +0300)]
Merge commit 'origin/1.0-bugfix'

13 years agoPrevented QT4 gui from changing size while maximized. This should fix https://trac...
Niklas Hayer [Sun, 10 May 2009 18:44:09 +0000 (20:44 +0200)]
Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e83df29b1f39dd46fe8893e5e111ed8be9a17e2d)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoPrevented QT4 gui from changing size while maximized. This should fix https://trac...
Niklas Hayer [Sun, 10 May 2009 18:44:09 +0000 (20:44 +0200)]
Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years agoChanging libvlc_video_take_snapshot prototype
Hugo Beauzee-Luyssen [Sun, 10 May 2009 16:59:56 +0000 (18:59 +0200)]
Changing libvlc_video_take_snapshot prototype

So that it takes a const char* as the filename parameter.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Sun, 10 May 2009 15:40:42 +0000 (18:40 +0300)]
Merge branch 1.0-bugfix

13 years agoPDA: useless redefinition
Rémi Denis-Courmont [Sun, 10 May 2009 15:40:12 +0000 (18:40 +0300)]
PDA: useless redefinition

13 years agoPDA: dummy input locking
Rémi Denis-Courmont [Sun, 10 May 2009 15:38:21 +0000 (18:38 +0300)]
PDA: dummy input locking

13 years agoMissing .gitignore
Rémi Denis-Courmont [Sun, 10 May 2009 15:37:42 +0000 (18:37 +0300)]
Missing .gitignore

13 years agoMissing .gitignore
Rémi Denis-Courmont [Sun, 10 May 2009 15:35:27 +0000 (18:35 +0300)]
Missing .gitignore

13 years agoPDA: broken dead code
Rémi Denis-Courmont [Sun, 10 May 2009 15:34:47 +0000 (18:34 +0300)]
PDA: broken dead code

13 years agoHTTP: use DIR_SEP(_CHAR)
Rémi Denis-Courmont [Sun, 10 May 2009 13:44:36 +0000 (16:44 +0300)]
HTTP: use DIR_SEP(_CHAR)

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Sun, 10 May 2009 12:32:30 +0000 (15:32 +0300)]
Merge branch 1.0-bugfix

13 years agoXSPF: use make_URI, should fix #2731
Rémi Denis-Courmont [Sun, 10 May 2009 12:25:39 +0000 (15:25 +0300)]
XSPF: use make_URI, should fix #2731

13 years agotest cases for make_URI()
Rémi Denis-Courmont [Sun, 10 May 2009 12:24:01 +0000 (15:24 +0300)]
test cases for make_URI()

13 years agomake_URI: make a URI out of a path, if needed
Rémi Denis-Courmont [Sun, 10 May 2009 12:23:18 +0000 (15:23 +0300)]
make_URI: make a URI out of a path, if needed

13 years agodecode_URI: improve documentation, add a return value
Rémi Denis-Courmont [Sun, 10 May 2009 10:35:56 +0000 (13:35 +0300)]
decode_URI: improve documentation, add a return value

13 years agoRemove useless checks
Rémi Denis-Courmont [Sun, 10 May 2009 10:16:40 +0000 (13:16 +0300)]
Remove useless checks

13 years agoRemove static prototypes from header file
Rémi Denis-Courmont [Sun, 10 May 2009 10:16:04 +0000 (13:16 +0300)]
Remove static prototypes from header file

13 years agoMerge branch 1.0-bugfix
Rémi Denis-Courmont [Sun, 10 May 2009 09:41:17 +0000 (12:41 +0300)]
Merge branch 1.0-bugfix

13 years agoPatch: Fix pulseaudio clicking and latency issues
Danny Wood [Sat, 9 May 2009 10:05:31 +0000 (11:05 +0100)]
Patch: Fix pulseaudio clicking and latency issues

Here is the updated patch with the modified configure.ac.
I have also added some comments and cleaned up a little bit of code.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agol10n: Synchronize the files for RC1
Christophe Mutricy [Sat, 9 May 2009 18:45:22 +0000 (19:45 +0100)]
l10n: Synchronize the files for RC1

13 years agoDistribute packetize_helper.h
Christophe Mutricy [Sat, 9 May 2009 18:37:57 +0000 (19:37 +0100)]
Distribute packetize_helper.h

13 years agowince: replace getpid by GetCurrentProcessId
Pierre Ynard [Sat, 9 May 2009 15:20:46 +0000 (17:20 +0200)]
wince: replace getpid by GetCurrentProcessId

Signed-off-by: Geoffroy Couprie <geo.couprie@gmail.com>
13 years agowince gui: remove wraptext
Geoffroy Couprie [Sat, 9 May 2009 13:00:28 +0000 (15:00 +0200)]
wince gui: remove wraptext

13 years agoEnsure make dist works correctly.
Jean-Baptiste Kempf [Fri, 8 May 2009 23:54:48 +0000 (01:54 +0200)]
Ensure make dist works correctly.

13 years agoStart of 1.1.0-git.
Jean-Baptiste Kempf [Fri, 8 May 2009 23:51:17 +0000 (01:51 +0200)]
Start of 1.1.0-git.

Codename is not changed yet (Zukovsky? Stop Goldeneye?)

13 years ago1.0.0 RC1 1.0.0-rc1
Jean-Baptiste Kempf [Fri, 8 May 2009 23:22:45 +0000 (01:22 +0200)]
1.0.0 RC1

13 years agoNEWS and fix typo in LIST.
Jean-Baptiste Kempf [Fri, 8 May 2009 23:15:30 +0000 (01:15 +0200)]
NEWS and fix typo in LIST.

13 years agoXCB/X11: fix crop
Rémi Denis-Courmont [Fri, 8 May 2009 15:31:52 +0000 (18:31 +0300)]
XCB/X11: fix crop

13 years agoqt4: we need qtr() else we have encoding problems
Christophe Mutricy [Fri, 8 May 2009 10:44:31 +0000 (12:44 +0200)]
qt4: we need qtr() else we have encoding problems

13 years agoplaylist_ram: fix memleaks and use "const char*" instead of "char*" whenever possible.
Rémi Duraffort [Fri, 8 May 2009 07:37:18 +0000 (09:37 +0200)]
playlist_ram: fix memleaks and use "const char*" instead of "char*" whenever possible.

13 years agoFixed a race condition with input creation and events.
Laurent Aimar [Fri, 8 May 2009 00:03:05 +0000 (02:03 +0200)]
Fixed a race condition with input creation and events.

input_CreateThread* have been splitted in two functions:
 - input_Create
 - input_Start
to allow attaching to input events and creating settings/variables
before starting the input thread.

For consistency, input_StopThread has been renamed input_Stop.

Initial report from Hugo Beauzee-Luyssen.

13 years agoAdd Khmer and Sorani
Christophe Mutricy [Fri, 8 May 2009 00:08:57 +0000 (01:08 +0100)]
Add Khmer and Sorani

13 years agol10n: Slovenian update
Matej Urbančič [Thu, 7 May 2009 23:37:56 +0000 (00:37 +0100)]
l10n: Slovenian update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Brazilian Portuguese update
Sidney Doria [Thu, 7 May 2009 23:31:45 +0000 (00:31 +0100)]
l10n: Brazilian Portuguese update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Finnish update
Otto Kekäläinen [Thu, 7 May 2009 23:30:05 +0000 (00:30 +0100)]
l10n: Finnish update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agol10n: Initial Khmer translation
Khoem Sokhem [Thu, 7 May 2009 23:24:44 +0000 (00:24 +0100)]
l10n: Initial Khmer translation

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
13 years agoCosmetics.
Laurent Aimar [Thu, 7 May 2009 21:56:13 +0000 (23:56 +0200)]
Cosmetics.

13 years agoMoved date_Decrement to libvlc core from dirac.
Laurent Aimar [Thu, 7 May 2009 21:28:57 +0000 (23:28 +0200)]
Moved date_Decrement to libvlc core from dirac.

13 years agoAdded icyx as http alias (some icy servers seem to use it).
Laurent Aimar [Thu, 7 May 2009 21:27:57 +0000 (23:27 +0200)]
Added icyx as http alias (some icy servers seem to use it).

13 years agoUsed BLOCK_FLAG_PRIVATE_SHIFT for creating private masks.
Laurent Aimar [Thu, 7 May 2009 21:18:59 +0000 (23:18 +0200)]
Used BLOCK_FLAG_PRIVATE_SHIFT for creating private masks.

13 years agoReplaced DIRAC_EOS by BLOCK_FLAG_END_OF_SEQUENCE.
Laurent Aimar [Thu, 7 May 2009 21:17:15 +0000 (23:17 +0200)]
Replaced DIRAC_EOS by BLOCK_FLAG_END_OF_SEQUENCE.

13 years agoSimplify and fix the block flag test in dirac packetizer.
Laurent Aimar [Thu, 7 May 2009 21:13:32 +0000 (23:13 +0200)]
Simplify and fix the block flag test in dirac packetizer.

13 years agoTry to workaround serialno change in ogg web radio.
Laurent Aimar [Thu, 7 May 2009 20:55:13 +0000 (22:55 +0200)]
Try to workaround serialno change in ogg web radio.

 At each serialno changes, the timestamp being non continuous, there
will be an annoying glitch...

13 years agoFixed usage of VLC_TS_INVALID (dirac packetizer).
Laurent Aimar [Thu, 7 May 2009 20:52:47 +0000 (22:52 +0200)]
Fixed usage of VLC_TS_INVALID (dirac packetizer).

13 years agoPacketizer is capable of:
David Flynn [Thu, 7 May 2009 12:54:57 +0000 (12:54 +0000)]
Packetizer is capable of:
 - repacketizing and reconstructing timestamps for a Dirac ES
   suitable for remultiplexing and decoding.
 - sanitizing an input stream that has non-signalled discontinuities
 - handling the basket case AVI fake-pts-is-dts method too:
   For a non well formed input (only has pts or dts), this is
   implemented by simulating the ReOrder Buffer model to resolve
   timestamps.

Updated 20090507 with:
 - use VLC_TS_INVALID rather than private block flags
 - removed useless i_sync_flags
 - add support for next_parse_offset == 0
 - eliminate dirac_FindEOS
 - use block_t's p_priv to avoid dirac_FindPictureNumber
 - remove b_picture_number, add parsecode helpers
 - when stream jumps backwards, generate correct EOS DU
 - dont use block_FindMaskedFlags
 - remove openloop fastsync
 - guarantee synchro sees EOS, remove duplicate EOS DUs
 - dont blindly believe that a data unit is > 1MB
 - fix compilation warning
 - fix issue with unsyncable p_extra
 - rearange file
 - add sanitization of prev_parse_offset
 - do duplicate EOS detection at the right place
 - move all operations on outqueue to Packetize
 - fix stupid offbyone on location of prev_parse_offset
 - sanity check output of sync at input to encapsualator
 - refactor dirac_BuildEncapsulationUnit
 - keep hold of precious timestamps
 - unfortunately block_t has no p_priv

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoXCB/XVideo: handle scaling, crop and A/R
Rémi Denis-Courmont [Thu, 7 May 2009 20:23:27 +0000 (23:23 +0300)]
XCB/XVideo: handle scaling, crop and A/R

13 years agoXCB/X11: handle scaling, crop and A/R
Rémi Denis-Courmont [Thu, 7 May 2009 20:22:33 +0000 (23:22 +0300)]
XCB/X11: handle scaling, crop and A/R

(Crop is currently dysfunctional, picture offset are missing)

13 years agoXCB/XVideo: fix images with a planar format but without MIT-SHM
Rémi Denis-Courmont [Thu, 7 May 2009 20:32:24 +0000 (23:32 +0300)]
XCB/XVideo: fix images with a planar format but without MIT-SHM

13 years agoXCB/XVideo: implement pf_control: handle zoom and stay-on-top
Rémi Denis-Courmont [Thu, 7 May 2009 20:00:29 +0000 (23:00 +0300)]
XCB/XVideo: implement pf_control: handle zoom and stay-on-top

13 years agoXCB/X11: implement pf_control: handle zoom and stay-on-top
Rémi Denis-Courmont [Thu, 7 May 2009 19:59:50 +0000 (22:59 +0300)]
XCB/X11: implement pf_control: handle zoom and stay-on-top

13 years agoThe schroedinger decoder does support non packetized streams.
Laurent Aimar [Thu, 7 May 2009 19:22:08 +0000 (21:22 +0200)]
The schroedinger decoder does support non packetized streams.

Thanks David Flynn for the remark.

13 years agoSet BLOCK_FLAG_CORRUPTED when reseting the packetizer.
Laurent Aimar [Thu, 7 May 2009 19:01:33 +0000 (21:01 +0200)]
Set BLOCK_FLAG_CORRUPTED when reseting the packetizer.

This one is more for consistency with what the core do.

13 years agoNo need to set b_packetized in demuxer using a packetizer.
Laurent Aimar [Thu, 7 May 2009 18:59:56 +0000 (20:59 +0200)]
No need to set b_packetized in demuxer using a packetizer.

demux_PacketizerNew has been fixed in that regard.

13 years agoDecrease a bit the dirac demuxer (50) to avoid probing it too often.
Laurent Aimar [Thu, 7 May 2009 18:58:24 +0000 (20:58 +0200)]
Decrease a bit the dirac demuxer (50) to avoid probing it too often.

13 years agoReads raw dirac streams, feeds into packetizer.
David Flynn [Thu, 7 May 2009 12:54:58 +0000 (12:54 +0000)]
Reads raw dirac streams, feeds into packetizer.

Updated 20090507 with:
 - migrate to VLC_TS_INVALID
 - fix coding style
 - use generic handling of DEMUX_SET_TIME
 - don't add +1 to dts/pts
 - zero point hack while VLC_TS_INVALID = 0

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
13 years agoReset the timestamp state on BLOCK_FLAG_DISCONTINUITY.
Laurent Aimar [Thu, 7 May 2009 18:45:47 +0000 (20:45 +0200)]
Reset the timestamp state on BLOCK_FLAG_DISCONTINUITY.

 On such flag, the bitstream before and after it are not related at all and
so are the timestamp. In order to not confuse the core, do not output
wrong timestamps.

13 years agoUse utf8_rename
Rémi Denis-Courmont [Thu, 7 May 2009 16:13:15 +0000 (19:13 +0300)]
Use utf8_rename

13 years agoImplement utf8_rename
Rémi Denis-Courmont [Thu, 7 May 2009 16:11:15 +0000 (19:11 +0300)]
Implement utf8_rename

13 years agoremove -> utf8_unlink
Rémi Denis-Courmont [Thu, 7 May 2009 16:01:20 +0000 (19:01 +0300)]
remove -> utf8_unlink

13 years agocodec/schroedinger: don't reset decoder at corrupt block sentinel
David Flynn [Thu, 7 May 2009 12:47:38 +0000 (12:47 +0000)]
codec/schroedinger: don't reset decoder at corrupt block sentinel

Also, don't reset pts interpolator at discontinuity

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agocodec/schrodinger: don't tag frames with missing pts
David Flynn [Thu, 7 May 2009 12:47:37 +0000 (12:47 +0000)]
codec/schrodinger: don't tag frames with missing pts

timestamp will be interpolated at output of decoder instead.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agocodec/schroedinger: fix segfault when schro_decoder_pull returns NULL
David Flynn [Thu, 7 May 2009 12:47:36 +0000 (12:47 +0000)]
codec/schroedinger: fix segfault when schro_decoder_pull returns NULL

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoDisable glibc runtime check if configure passed due to disable-{nls, mozilla}
David Flynn [Thu, 7 May 2009 12:47:35 +0000 (12:47 +0000)]
Disable glibc runtime check if configure passed due to disable-{nls, mozilla}

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoRemove useless check for machine/soundcard.h
Rémi Denis-Courmont [Thu, 7 May 2009 15:13:19 +0000 (18:13 +0300)]
Remove useless check for machine/soundcard.h

13 years agooss: OpenBSD compile fix
Joris van Rooij [Thu, 7 May 2009 15:10:19 +0000 (18:10 +0300)]
oss: OpenBSD compile fix

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoWe need both priority scheduling and thread priority scheduling here
Rémi Denis-Courmont [Thu, 7 May 2009 15:08:39 +0000 (18:08 +0300)]
We need both priority scheduling and thread priority scheduling here

13 years agoOpenBSD compilation fix
Joris van Rooij [Thu, 7 May 2009 15:03:29 +0000 (18:03 +0300)]
OpenBSD compilation fix

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoAdded dvh1 fourcc to ffmpeg
Jean-Baptiste Kempf [Thu, 7 May 2009 13:08:18 +0000 (15:08 +0200)]
Added dvh1 fourcc to ffmpeg

13 years agoQt4: preferences, fix Global hotkeys display
Jean-Baptiste Kempf [Thu, 7 May 2009 12:42:40 +0000 (14:42 +0200)]
Qt4: preferences, fix Global hotkeys display

13 years agoconfig: fix memleak.
Rémi Duraffort [Thu, 7 May 2009 12:14:05 +0000 (14:14 +0200)]
config: fix memleak.

13 years agoQt: fix systrayIcon menu status to show correct tooltip and status.
Jean-Baptiste Kempf [Thu, 7 May 2009 00:46:58 +0000 (02:46 +0200)]
Qt: fix systrayIcon menu status to show correct tooltip and status.

Noticed by fenrir.

13 years agoQt: correctly implement the Global Hotkey saving.
Jean-Baptiste Kempf [Thu, 7 May 2009 00:31:47 +0000 (02:31 +0200)]
Qt: correctly implement the Global Hotkey saving.

Close blocker #2723

13 years agoAdded hdv6->8 fourcc to ffmpeg.
Laurent Aimar [Wed, 6 May 2009 21:51:09 +0000 (23:51 +0200)]
Added hdv6->8 fourcc to ffmpeg.

13 years agoFixed VP31 in NSV files.
Laurent Aimar [Wed, 6 May 2009 21:22:28 +0000 (23:22 +0200)]
Fixed VP31 in NSV files.

It seems that ffmpeg care about VP30 != VP31 fourcc.

13 years agoAudioscrobbler: activate libre.fm capacity since last.fm is geing more and more on...
Jean-Baptiste Kempf [Wed, 6 May 2009 20:56:25 +0000 (22:56 +0200)]
Audioscrobbler: activate libre.fm capacity since last.fm is geing more and more on the dark side... :D

13 years agoNEWS.
Jean-Baptiste Kempf [Wed, 6 May 2009 13:16:05 +0000 (15:16 +0200)]
NEWS.

13 years agoFixed typo in avcodec audio.
Laurent Aimar [Wed, 6 May 2009 20:10:11 +0000 (22:10 +0200)]
Fixed typo in avcodec audio.

13 years agoTry to fix compilation with older ffmpeg version.
Laurent Aimar [Wed, 6 May 2009 19:44:51 +0000 (21:44 +0200)]
Try to fix compilation with older ffmpeg version.

13 years agoAdd rawaud to the list
Rémi Denis-Courmont [Wed, 6 May 2009 19:31:53 +0000 (22:31 +0300)]
Add rawaud to the list

13 years agoInitial implementation of Raw audio plugin
Jarmo Torvinen [Wed, 29 Apr 2009 05:37:10 +0000 (08:37 +0300)]
Initial implementation of Raw audio plugin

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years agoAtomically update the cache file
Rémi Denis-Courmont [Mon, 1 Sep 2008 19:25:44 +0000 (22:25 +0300)]
Atomically update the cache file

13 years agoRemove useless parameter
Rémi Denis-Courmont [Wed, 6 May 2009 17:31:21 +0000 (20:31 +0300)]
Remove useless parameter

13 years agoMake the config file lock per process rather than per instance
Rémi Denis-Courmont [Wed, 6 May 2009 17:23:32 +0000 (20:23 +0300)]
Make the config file lock per process rather than per instance

13 years agoConfig lock is pointless while reading/resetting the configuration
Rémi Denis-Courmont [Wed, 6 May 2009 17:22:16 +0000 (20:22 +0300)]
Config lock is pointless while reading/resetting the configuration

13 years agoAlways take the item lock when reading/writing configuration values
Rémi Denis-Courmont [Wed, 6 May 2009 17:20:53 +0000 (20:20 +0300)]
Always take the item lock when reading/writing configuration values

This was a bit sloppy. In some cases, we had the config fiel lock,
but that that does not protect against config_Put*(). In some cases,
the lock was only taken for strings but not float/integers.

13 years agoReplace the configuration file atomically
Rémi Denis-Courmont [Wed, 6 May 2009 16:44:42 +0000 (19:44 +0300)]
Replace the configuration file atomically

Another VLC instance could get a corrupt configuration otherwise.