vlc.git
12 years agoRevert "* src/video_output/vout_intf.c: small kludge for opengl providers."
Rémi Denis-Courmont [Thu, 8 Jan 2009 19:33:47 +0000 (21:33 +0200)]
Revert "* src/video_output/vout_intf.c: small kludge for opengl providers."

This reverts commit 1eefd3dd7d97392d6e6dfee593538436263ca479.
This fixes GLX crashing while requesting an embedded video window.

Conflicts:

src/video_output/vout_intf.c

12 years agoRemove some useless #includes
Rémi Denis-Courmont [Thu, 8 Jan 2009 19:11:18 +0000 (21:11 +0200)]
Remove some useless #includes

12 years agoBDA: remove %S formatting plus a few other fixes
Ken Self [Sun, 4 Jan 2009 22:54:57 +0000 (09:54 +1100)]
BDA: remove %S formatting plus a few other fixes

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agovasprintf: stop HEAP exceptions
Ken Self [Sun, 4 Jan 2009 22:54:56 +0000 (09:54 +1100)]
vasprintf: stop HEAP exceptions

On Win32, vsnprintf() and vsprintf() are formatting certain things
differently, e.g. "%p". We need to use the same implementation
throughout our vasprintf() replacement.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoAdded apple subtitle support to mov demuxer (close #2376).
Laurent Aimar [Wed, 7 Jan 2009 19:19:16 +0000 (20:19 +0100)]
Added apple subtitle support to mov demuxer (close #2376).

12 years agoFixed invalid pointer usage.
Laurent Aimar [Tue, 6 Jan 2009 22:18:10 +0000 (23:18 +0100)]
Fixed invalid pointer usage.

12 years agoFinish the initialization in the Open function.
Laurent Aimar [Tue, 6 Jan 2009 22:09:41 +0000 (23:09 +0100)]
Finish the initialization in the Open function.

It fixes embed video at start.

12 years agoFixed bool/int mix up with "intf-show".
Laurent Aimar [Tue, 6 Jan 2009 22:08:29 +0000 (23:08 +0100)]
Fixed bool/int mix up with "intf-show".

12 years agoFixed undefined behavior with integer overflow.
Laurent Aimar [Tue, 6 Jan 2009 21:16:07 +0000 (22:16 +0100)]
Fixed undefined behavior with integer overflow.

Pointed out by Courmish.

12 years agoAvoid sprintf.
Laurent Aimar [Tue, 6 Jan 2009 21:05:08 +0000 (22:05 +0100)]
Avoid sprintf.

It eases security review.

12 years agoSet default item name on input_item_SetURI.
Laurent Aimar [Tue, 6 Jan 2009 20:59:33 +0000 (21:59 +0100)]
Set default item name on input_item_SetURI.

It fixes item name with xpsf playlist (at least).

12 years agoAdded missing const to input_item_SetURI.
Laurent Aimar [Tue, 6 Jan 2009 20:51:51 +0000 (21:51 +0100)]
Added missing const to input_item_SetURI.

12 years agoRTP: when sending to RTP an odd port we need to specify a=rtcp
Rémi Denis-Courmont [Wed, 7 Jan 2009 19:11:17 +0000 (21:11 +0200)]
RTP: when sending to RTP an odd port we need to specify a=rtcp

Otherwise the receiver would -in principle- try to receive RTP on the
next (plus one) even port, whereas the m= line port would be used for
RTCP. We could also pass a=rtcp for the normal even/RTP & odd/RTCP
ports setup, but that can only confuse receivers with no gain.

Note that receivers may not parse the a=rtcp parameter in any case. In
fact, VLC does not parse the a=rtcp field to this day. In any case,
sending RTP to an *even* port is the only safely interoperable option.

12 years agoRTP: fix the conflicting audio and video port error handling
Rémi Denis-Courmont [Wed, 7 Jan 2009 18:48:58 +0000 (20:48 +0200)]
RTP: fix the conflicting audio and video port error handling

12 years agoDistribute headers
Christophe Mutricy [Wed, 7 Jan 2009 17:44:07 +0000 (18:44 +0100)]
Distribute headers

12 years agoQt: put the Fullscreen Controller back on 2 lines.
Jean-Baptiste Kempf [Wed, 7 Jan 2009 11:41:26 +0000 (12:41 +0100)]
Qt: put the Fullscreen Controller back on 2 lines.

12 years agoFix make dist
Christophe Mutricy [Wed, 7 Jan 2009 00:15:20 +0000 (00:15 +0000)]
Fix make dist

12 years agoHappy New Year
Christophe Mutricy [Thu, 1 Jan 2009 15:16:26 +0000 (16:16 +0100)]
Happy New Year

12 years agolibvlc, jvlc: media_player_is_playing method added
Filippo Carone [Tue, 6 Jan 2009 21:48:03 +0000 (22:48 +0100)]
libvlc, jvlc: media_player_is_playing method added

12 years agoFixed typo in es_out.
Laurent Aimar [Tue, 6 Jan 2009 20:40:57 +0000 (21:40 +0100)]
Fixed typo in es_out.

Pointed out by Dnumgis.

12 years agoFix quit sequence in skins2.
Laurent Aimar [Tue, 6 Jan 2009 20:24:44 +0000 (21:24 +0100)]
Fix quit sequence in skins2.

12 years agoFix quit sequence in dbus.
Laurent Aimar [Tue, 6 Jan 2009 20:23:12 +0000 (21:23 +0100)]
Fix quit sequence in dbus.

12 years agoFix quit sequence in rc.
Laurent Aimar [Tue, 6 Jan 2009 20:22:34 +0000 (21:22 +0100)]
Fix quit sequence in rc.

12 years agoFix quit sequence in hotkeys.
Laurent Aimar [Tue, 6 Jan 2009 20:20:27 +0000 (21:20 +0100)]
Fix quit sequence in hotkeys.

12 years agoStop the playlist when it is killed.
Laurent Aimar [Tue, 6 Jan 2009 20:18:06 +0000 (21:18 +0100)]
Stop the playlist when it is killed.

12 years agoRe-enable the embed video module in qt4.
Laurent Aimar [Tue, 6 Jan 2009 19:17:07 +0000 (20:17 +0100)]
Re-enable the embed video module in qt4.

12 years agoWait for VideoWiget to complete releaseVideoSlot event.
Laurent Aimar [Tue, 6 Jan 2009 19:01:48 +0000 (20:01 +0100)]
Wait for VideoWiget to complete releaseVideoSlot event.

12 years agoFix potential deadlock between ressource and interface.
Laurent Aimar [Tue, 6 Jan 2009 18:56:22 +0000 (19:56 +0100)]
Fix potential deadlock between ressource and interface.

Without it, input_ressource_HoldVout and vout windows request could deadlock.

12 years agoDo not wait for SPU buffering.
Laurent Aimar [Tue, 6 Jan 2009 18:41:36 +0000 (19:41 +0100)]
Do not wait for SPU buffering.

12 years agojvlc: test to check audio mute on 2 different instances
Filippo Carone [Tue, 6 Jan 2009 18:41:00 +0000 (19:41 +0100)]
jvlc: test to check audio mute on 2 different instances

12 years agojvlc: audio is an instance property
Filippo Carone [Tue, 6 Jan 2009 18:40:35 +0000 (19:40 +0100)]
jvlc: audio is an instance property

12 years agoPlaylist thread is not cancellable as of now, no point in trying
Rémi Denis-Courmont [Tue, 6 Jan 2009 14:25:29 +0000 (16:25 +0200)]
Playlist thread is not cancellable as of now, no point in trying

12 years agoUse a custom condition variable for the playlist engine
Rémi Denis-Courmont [Mon, 5 Jan 2009 21:39:54 +0000 (23:39 +0200)]
Use a custom condition variable for the playlist engine

12 years agoRemove un-needed vlc_testcancel()
Rémi Denis-Courmont [Tue, 6 Jan 2009 10:23:33 +0000 (12:23 +0200)]
Remove un-needed vlc_testcancel()

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.