vlc.git
12 years agoblock_Fifo(Wake|Get|Show): always cancellation points
Rémi Denis-Courmont [Tue, 6 Jan 2009 10:20:24 +0000 (12:20 +0200)]
block_Fifo(Wake|Get|Show): always cancellation points

This is consistent with the comments in <vlc_block.h>.
So far, cancellation would only occur when sleeping was needed.

12 years agoblock_FifoShow: fix condition variable usage
Rémi Denis-Courmont [Tue, 6 Jan 2009 10:19:38 +0000 (12:19 +0200)]
block_FifoShow: fix condition variable usage

12 years agoQt4: Disable cancellation while writing a message to the log dialog
Rémi Denis-Courmont [Tue, 6 Jan 2009 10:05:48 +0000 (12:05 +0200)]
Qt4: Disable cancellation while writing a message to the log dialog

As pointed out by Laurent, cancellation was not safe here

12 years agoFixed dialog provider leaks on quit.
Laurent Aimar [Mon, 5 Jan 2009 22:09:51 +0000 (23:09 +0100)]
Fixed dialog provider leaks on quit.

Thanks j-b for the infos.

12 years agoMinor memory layout optimization
Rémi Denis-Courmont [Mon, 5 Jan 2009 21:28:20 +0000 (23:28 +0200)]
Minor memory layout optimization

12 years agoRemove vlc_object_signal and unexport vlc_object_signal_unlocked
Rémi Denis-Courmont [Mon, 5 Jan 2009 21:11:08 +0000 (23:11 +0200)]
Remove vlc_object_signal and unexport vlc_object_signal_unlocked

12 years agoDo not use vlc_object_signal
Rémi Denis-Courmont [Mon, 5 Jan 2009 21:10:06 +0000 (23:10 +0200)]
Do not use vlc_object_signal

12 years agoLUA: remove misc.signal() - this API does not make much sense
Rémi Denis-Courmont [Mon, 5 Jan 2009 21:09:01 +0000 (23:09 +0200)]
LUA: remove misc.signal() - this API does not make much sense

12 years agoFixed order after merge in libvlccore.sym
Laurent Aimar [Mon, 5 Jan 2009 20:58:08 +0000 (21:58 +0100)]
Fixed order after merge in libvlccore.sym

12 years agoFix OS-X build (PATH_MAX defined in limits.h)
Laurent Aimar [Mon, 5 Jan 2009 20:39:14 +0000 (21:39 +0100)]
Fix OS-X build (PATH_MAX defined in limits.h)

12 years agoFixed vout_FixLeaks logic.
Laurent Aimar [Mon, 5 Jan 2009 20:26:05 +0000 (21:26 +0100)]
Fixed vout_FixLeaks logic.

12 years agoFlush vout on release.
Laurent Aimar [Mon, 5 Jan 2009 20:25:39 +0000 (21:25 +0100)]
Flush vout on release.

12 years agoSend input dead event only once.
Laurent Aimar [Sun, 4 Jan 2009 22:48:59 +0000 (23:48 +0100)]
Send input dead event only once.

12 years agoFix deadlock in decoders because of input ObjectKillChildrens.
Laurent Aimar [Sun, 4 Jan 2009 22:47:29 +0000 (23:47 +0100)]
Fix deadlock in decoders because of input ObjectKillChildrens.

A better solution than ObjectKillChildrens is really needed.

12 years agoFix unprotected access of input item (skins2).
Laurent Aimar [Sun, 4 Jan 2009 17:32:17 +0000 (18:32 +0100)]
Fix unprotected access of input item (skins2).

12 years agoFixed playlist_IsEmpty usage.
Laurent Aimar [Sun, 4 Jan 2009 17:19:16 +0000 (18:19 +0100)]
Fixed playlist_IsEmpty usage.

The playlist has to be locked before calling it.
Another way could be to change playlist_IsEmpty prototype to have a b_locked
parameter (like others playlist functions).

12 years agoSkins2 will at least start.
Laurent Aimar [Sun, 4 Jan 2009 15:41:52 +0000 (16:41 +0100)]
Skins2 will at least start.

12 years agoImproved osd title display in vout.
Laurent Aimar [Sun, 4 Jan 2009 10:39:24 +0000 (11:39 +0100)]
Improved osd title display in vout.

It fixes title display with vout recycling.
It removes one vlc_object_find.

12 years agoFixed qt4 initialization/destruction.
Laurent Aimar [Sat, 27 Dec 2008 17:47:15 +0000 (18:47 +0100)]
Fixed qt4 initialization/destruction.

It should fix a few issues with embed video and fullscreen controler (the
widget may? not yet be ready in time).
It fixes dialog provider.

12 years agoImproved fullscreen controller.
Laurent Aimar [Sat, 27 Dec 2008 15:51:25 +0000 (16:51 +0100)]
Improved fullscreen controller.

It now works in non embed mode.
It follows multiple vouts (not perfect yet).

12 years agoNew event (voutListChanged) in input manager.
Laurent Aimar [Sat, 27 Dec 2008 14:04:17 +0000 (15:04 +0100)]
New event (voutListChanged) in input manager.

It will be used to properly attach/detach the fullscreen controller
independantly of embed vout.

12 years agoFixed signal and input release order.
Laurent Aimar [Sat, 27 Dec 2008 11:26:25 +0000 (12:26 +0100)]
Fixed signal and input release order.

12 years agoRemoved useless member.
Laurent Aimar [Sat, 27 Dec 2008 11:25:50 +0000 (12:25 +0100)]
Removed useless member.

12 years agoAllows requesting active aout/vout from an input with associated events.
Laurent Aimar [Sat, 27 Dec 2008 11:25:18 +0000 (12:25 +0100)]
Allows requesting active aout/vout from an input with associated events.

12 years agoActivated vout/aout recycling with playlist inputs.
Laurent Aimar [Sat, 27 Dec 2008 10:44:24 +0000 (11:44 +0100)]
Activated vout/aout recycling with playlist inputs.

12 years agoPrepare for safe (sout)/vout/aout recycling.
Laurent Aimar [Tue, 23 Dec 2008 18:45:59 +0000 (19:45 +0100)]
Prepare for safe (sout)/vout/aout recycling.

12 years agoFixed audio played/lost statistics.
Laurent Aimar [Tue, 23 Dec 2008 15:28:26 +0000 (16:28 +0100)]
Fixed audio played/lost statistics.

12 years agoFixed preparsing/art fetching locking.
Laurent Aimar [Tue, 23 Dec 2008 15:26:51 +0000 (16:26 +0100)]
Fixed preparsing/art fetching locking.

12 years agoClean up main playlist thread.
Laurent Aimar [Tue, 23 Dec 2008 14:47:38 +0000 (15:47 +0100)]
Clean up main playlist thread.

No useless wake up and simplify.
Fix a few race conditions with deactivation.

12 years agoAdded INPUT_EVENT_DEAD event.
Laurent Aimar [Tue, 23 Dec 2008 11:07:51 +0000 (12:07 +0100)]
Added INPUT_EVENT_DEAD event.

12 years agoSimplify a bit playlist loop.
Laurent Aimar [Tue, 23 Dec 2008 10:35:10 +0000 (11:35 +0100)]
Simplify a bit playlist loop.

12 years agoNo functionnal changes.
Laurent Aimar [Tue, 23 Dec 2008 09:42:09 +0000 (10:42 +0100)]
No functionnal changes.

(Moved around playlist code)

12 years agoSimplify a bit main playlist loop.
Laurent Aimar [Tue, 23 Dec 2008 08:43:34 +0000 (09:43 +0100)]
Simplify a bit main playlist loop.

12 years agoFast decoder thread cancellation.
Laurent Aimar [Mon, 22 Dec 2008 18:47:26 +0000 (19:47 +0100)]
Fast decoder thread cancellation.

12 years agoEnsure fast fetcher/preparser thread cancelation.
Laurent Aimar [Mon, 22 Dec 2008 18:26:47 +0000 (19:26 +0100)]
Ensure fast fetcher/preparser thread cancelation.

12 years agoFixed too soon playlist items destruction.
Laurent Aimar [Mon, 22 Dec 2008 17:59:36 +0000 (18:59 +0100)]
Fixed too soon playlist items destruction.

12 years agoSplit creation/destruction and activation/deactivation of playlist.
Laurent Aimar [Mon, 22 Dec 2008 17:22:09 +0000 (18:22 +0100)]
Split creation/destruction and activation/deactivation of playlist.

It will allow to fix playlist<->interface dependency problems.

12 years agoClean up/document a bit art fetcher code.
Laurent Aimar [Mon, 22 Dec 2008 15:46:54 +0000 (16:46 +0100)]
Clean up/document a bit art fetcher code.

12 years agoDo not access internal fetcher data from playlist and preparser.
Laurent Aimar [Mon, 22 Dec 2008 14:49:55 +0000 (15:49 +0100)]
Do not access internal fetcher data from playlist and preparser.

12 years agoClean up/document a bit preparser code.
Laurent Aimar [Mon, 22 Dec 2008 14:35:43 +0000 (15:35 +0100)]
Clean up/document a bit preparser code.

12 years agoClean up preparser/fetcher code.
Laurent Aimar [Mon, 22 Dec 2008 11:51:13 +0000 (12:51 +0100)]
Clean up preparser/fetcher code.

No functionnality changes.

12 years agoClean up a bit unused playlist functions and added lock asserts.
Laurent Aimar [Mon, 22 Dec 2008 09:21:28 +0000 (10:21 +0100)]
Clean up a bit unused playlist functions and added lock asserts.

Some interfaces may assert because of missing playlist lock.

12 years agoAdded vlc_object_assert_locked utility.
Laurent Aimar [Mon, 22 Dec 2008 09:20:41 +0000 (10:20 +0100)]
Added vlc_object_assert_locked utility.

12 years agoQt: use searchLineEdit in plugins dialog.
Jean-Baptiste Kempf [Mon, 5 Jan 2009 19:19:02 +0000 (20:19 +0100)]
Qt: use searchLineEdit in plugins dialog.

12 years agoQt: esthetic.
Jean-Baptiste Kempf [Mon, 5 Jan 2009 19:16:11 +0000 (20:16 +0100)]
Qt: esthetic.

12 years agoQt: the red box when searching in the playlist is confusing.
Jean-Baptiste Kempf [Mon, 5 Jan 2009 19:08:13 +0000 (20:08 +0100)]
Qt: the red box when searching in the playlist is confusing.

Therefore, create a new SearchBox that has a button appearing when typing something.

12 years agoUse a proper condition variable for variable callback handling
Rémi Denis-Courmont [Mon, 5 Jan 2009 17:48:17 +0000 (19:48 +0200)]
Use a proper condition variable for variable callback handling

12 years agoRemove duplicated variable callback code
Rémi Denis-Courmont [Mon, 5 Jan 2009 17:36:55 +0000 (19:36 +0200)]
Remove duplicated variable callback code

12 years agoUse var_TriggerCallback as appropriate
Rémi Denis-Courmont [Mon, 5 Jan 2009 17:36:26 +0000 (19:36 +0200)]
Use var_TriggerCallback as appropriate

12 years agoDo not reinvent the wheel^W^Wbsearch
Rémi Denis-Courmont [Mon, 5 Jan 2009 17:23:00 +0000 (19:23 +0200)]
Do not reinvent the wheel^W^Wbsearch

12 years agoasx parsing: don't FREENULL everything.
Rémi Duraffort [Mon, 5 Jan 2009 15:14:18 +0000 (16:14 +0100)]
asx parsing: don't FREENULL everything.

12 years agotaglib: cleaning and renaming.
Rémi Duraffort [Sun, 4 Jan 2009 17:38:47 +0000 (18:38 +0100)]
taglib: cleaning and renaming.

12 years agoWin32: add a new vlc.ico that supports Vista and Seven guidelines.
Jean-Baptiste Kempf [Sun, 4 Jan 2009 23:11:11 +0000 (00:11 +0100)]
Win32: add a new vlc.ico that supports Vista and Seven guidelines.

12 years agoUnexport slightly unsafe block_FifoSize
Rémi Denis-Courmont [Sun, 4 Jan 2009 22:04:58 +0000 (00:04 +0200)]
Unexport slightly unsafe block_FifoSize

12 years agoFix symbol order.
Antoine Cellerier [Sun, 4 Jan 2009 21:56:34 +0000 (22:56 +0100)]
Fix symbol order.

12 years agoRemove unused variable.
Antoine Cellerier [Sun, 4 Jan 2009 20:37:35 +0000 (21:37 +0100)]
Remove unused variable.

12 years agoremove unndeed variables
Kaarlo Raiha [Sun, 4 Jan 2009 19:35:07 +0000 (21:35 +0200)]
remove unndeed variables

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
12 years agomention opengl effect removal
Kaarlo Raiha [Sun, 4 Jan 2009 19:13:33 +0000 (21:13 +0200)]
mention opengl effect removal

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
12 years agoUnduplicate UPnP long string
Rémi Denis-Courmont [Sun, 4 Jan 2009 19:05:38 +0000 (21:05 +0200)]
Unduplicate UPnP long string

12 years agoUpdate Joseph Tulou's THANKS entry.
Antoine Cellerier [Sun, 4 Jan 2009 18:50:01 +0000 (19:50 +0100)]
Update Joseph Tulou's THANKS entry.

12 years agochanges Ext2Fourcc into image_Ext2Fourcc and exports it for reuse within vlc
Joseph Tulou [Sun, 4 Jan 2009 15:28:27 +0000 (16:28 +0100)]
changes Ext2Fourcc into image_Ext2Fourcc and exports it for reuse within vlc

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
12 years agominor changes to png and sdl_image decoders to support being called from a demuxer.
Joseph Tulou [Sun, 4 Jan 2009 15:27:00 +0000 (16:27 +0100)]
minor changes to png and sdl_image decoders to support being called from a demuxer.

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
12 years agomacosx: display only information on the currently playing item instead of the item...
Felix Paul Kühne [Sun, 4 Jan 2009 18:39:41 +0000 (19:39 +0100)]
macosx: display only information on the currently playing item instead of the item selected in the playlist

12 years agoFix --stop-time.
Antoine Cellerier [Sun, 4 Jan 2009 18:36:51 +0000 (19:36 +0100)]
Fix --stop-time.

Looks like p_input->i_time is only used for --stop-time. Is that normal?

12 years agov4l2 access can now find optimal frame rate and dimensions
Antoine Cellerier [Sun, 4 Jan 2009 18:17:20 +0000 (19:17 +0100)]
v4l2 access can now find optimal frame rate and dimensions

Default is now to use the best available dimensions at the best framerate unless framerate was explicitly set, where it would use that frame rate.

12 years agoInput based input slaves sound better.
Antoine Cellerier [Sun, 4 Jan 2009 16:53:37 +0000 (17:53 +0100)]
Input based input slaves sound better.

12 years agoOops.
Antoine Cellerier [Sun, 4 Jan 2009 16:51:39 +0000 (17:51 +0100)]
Oops.

12 years agoMove v4l2.c back to the access/ directory
Antoine Cellerier [Sun, 4 Jan 2009 16:40:00 +0000 (17:40 +0100)]
Move v4l2.c back to the access/ directory

(No more splitting up planed in the forseable future)

12 years agoFix confusing variable name.
Antoine Cellerier [Sun, 4 Jan 2009 16:33:39 +0000 (17:33 +0100)]
Fix confusing variable name.

12 years agoLeave recent items filter empty.
Antoine Cellerier [Sun, 4 Jan 2009 16:31:20 +0000 (17:31 +0100)]
Leave recent items filter empty.

12 years agoUPnP services discovery: Remove a useless function
Mirsal Ennaime [Sun, 4 Jan 2009 14:38:44 +0000 (15:38 +0100)]
UPnP services discovery: Remove a useless function

12 years ago64bit compilation fixes
Felix Paul Kühne [Sun, 4 Jan 2009 14:19:12 +0000 (15:19 +0100)]
64bit compilation fixes

12 years agoUPnP services discovery: fix remaining bugs
Mirsal Ennaime [Thu, 25 Dec 2008 23:52:45 +0000 (00:52 +0100)]
UPnP services discovery: fix remaining bugs

12 years agoUPnP services discovery: Put the callback lock reference in the p_sys data structure.
Mirsal Ennaime [Sun, 21 Dec 2008 19:40:54 +0000 (20:40 +0100)]
UPnP services discovery: Put the callback lock reference in the p_sys data structure.

12 years agoUPnP services discovery: Switch to the services discovery API
Mirsal Ennaime [Sun, 21 Dec 2008 18:05:13 +0000 (19:05 +0100)]
UPnP services discovery: Switch to the services discovery API

12 years agoUPnP services discovery: Merge the SoC 2008 fixes, remove the Cookie class and use...
Mirsal Ennaime [Sun, 21 Dec 2008 16:20:52 +0000 (17:20 +0100)]
UPnP services discovery: Merge the SoC 2008 fixes, remove the Cookie class and use the ordinary mechanisms instead

12 years agoDarwin 10 adaptations
Felix Kühne [Sat, 3 Jan 2009 23:19:13 +0000 (00:19 +0100)]
Darwin 10 adaptations

We create 64 bit builds on this OS by default for now

12 years agolibcaca: configure script patch & hack to let us use the SDK and the GCC version...
Felix Kühne [Sat, 3 Jan 2009 23:15:10 +0000 (00:15 +0100)]
libcaca: configure script patch & hack to let us use the SDK and the GCC version of our choice

12 years agoImplement DEMUX_SET_NEXT_DEMUX_TIME in alsa & oss
Antoine Cellerier [Sat, 3 Jan 2009 21:49:00 +0000 (22:49 +0100)]
Implement DEMUX_SET_NEXT_DEMUX_TIME in alsa & oss

This makes it possible to use the alsa and oss modules as slaves to
modules such as v4l2 and screen. (The other way around isn't supported
at the moment.)

12 years agoImplement DEMUX_GET_TIME in screen access.
Antoine Cellerier [Sat, 3 Jan 2009 21:17:58 +0000 (22:17 +0100)]
Implement DEMUX_GET_TIME in screen access.

12 years agoRevert "Allow use of inputs without DEMUX_GET/SET_*TIME in input-slave."
Antoine Cellerier [Sat, 3 Jan 2009 21:14:57 +0000 (22:14 +0100)]
Revert "Allow use of inputs without DEMUX_GET/SET_*TIME in input-slave."

This reverts commit 60106b7432e0f6b61689486ba1fadf7c03db5f49.
That patch isn't a correct fix for the problem.

12 years agoRemove debug message.
Antoine Cellerier [Sat, 3 Jan 2009 20:46:29 +0000 (21:46 +0100)]
Remove debug message.

12 years agoUse poll instead of msleep in v4l
Antoine Cellerier [Sat, 3 Jan 2009 20:45:49 +0000 (21:45 +0100)]
Use poll instead of msleep in v4l

(also untested since I still don't have any v4l device to test on)

12 years agoRemove OSS support from v4l module.
Antoine Cellerier [Sat, 3 Jan 2009 20:42:24 +0000 (21:42 +0100)]
Remove OSS support from v4l module.

Untested as I don't have any v4l devices available. Please check
that this didn't break video capture.

12 years agoMention OSS and Alsa access split.
Antoine Cellerier [Sat, 3 Jan 2009 20:29:58 +0000 (21:29 +0100)]
Mention OSS and Alsa access split.

12 years agoCosmetics.
Antoine Cellerier [Sat, 3 Jan 2009 20:26:46 +0000 (21:26 +0100)]
Cosmetics.

12 years agoRemove Alsa and OSS support from v4l2 module.
Antoine Cellerier [Sat, 3 Jan 2009 20:23:00 +0000 (21:23 +0100)]
Remove Alsa and OSS support from v4l2 module.

12 years agoCleanup alsa.
Antoine Cellerier [Sat, 3 Jan 2009 19:06:56 +0000 (20:06 +0100)]
Cleanup alsa.

12 years agoFix alsa polling.
Antoine Cellerier [Sat, 3 Jan 2009 18:57:48 +0000 (19:57 +0100)]
Fix alsa polling.

12 years agoSplit OSS access from v4l2.
Antoine Cellerier [Sat, 3 Jan 2009 18:05:26 +0000 (19:05 +0100)]
Split OSS access from v4l2.

12 years agoSplit Alsa access module from v4l2.
Antoine Cellerier [Tue, 28 Oct 2008 00:42:41 +0000 (17:42 -0700)]
Split Alsa access module from v4l2.

12 years agoFix copyright date.
Antoine Cellerier [Tue, 28 Oct 2008 00:43:51 +0000 (17:43 -0700)]
Fix copyright date.

12 years agoUse polling instead of msleep in v4l2 access_demux.
Antoine Cellerier [Tue, 28 Oct 2008 00:35:55 +0000 (17:35 -0700)]
Use polling instead of msleep in v4l2 access_demux.

I'm not sure about the polltimeout. I'd settle for an infinite timeout but then VLC might behavior on exit might be messed up.

This also fixes the last compilation warning in v4l2.c.

12 years agoEWOULDBLOCK may be used instead of EAGAIN for read, recv and accept
Rémi Denis-Courmont [Sat, 3 Jan 2009 20:59:33 +0000 (22:59 +0200)]
EWOULDBLOCK may be used instead of EAGAIN for read, recv and accept

12 years agoQt: search implementation in the plugins list dialog for fast-seeing if a module...
Jean-Baptiste Kempf [Sat, 3 Jan 2009 15:58:09 +0000 (16:58 +0100)]
Qt: search implementation in the plugins list dialog for fast-seeing if a module is here or not.

12 years agoQt: convert strings from Unicode
Jean-Baptiste Kempf [Sat, 3 Jan 2009 15:26:01 +0000 (16:26 +0100)]
Qt: convert strings from Unicode

12 years agoQt: recent Items, prepend with an accelerator and a number for keyboard faster access.
Jean-Baptiste Kempf [Fri, 2 Jan 2009 16:22:30 +0000 (17:22 +0100)]
Qt: recent Items, prepend with an accelerator and a number for keyboard faster access.

12 years agoWinCE: use -avoid-version for libvlc and libvlccore
Geoffroy Couprie [Sat, 3 Jan 2009 00:34:30 +0000 (01:34 +0100)]
WinCE: use -avoid-version for libvlc and libvlccore

12 years agoWin32: go fullscreen on the same screen as the vout window
Geoffroy Couprie [Sat, 3 Jan 2009 00:30:06 +0000 (01:30 +0100)]
Win32: go fullscreen on the same screen as the vout window

12 years agoWinCE: fix compilation of vout
Geoffroy Couprie [Fri, 2 Jan 2009 22:36:13 +0000 (23:36 +0100)]
WinCE: fix compilation of vout