vlc.git
12 years agoCosmetic
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:54:40 +0000 (19:54 +0200)]
Cosmetic

12 years agoFix trivial syntax errors
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:54:15 +0000 (19:54 +0200)]
Fix trivial syntax errors

12 years agoPlaylist: detach from SD events _after_ stopping the plugin
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:48:37 +0000 (19:48 +0200)]
Playlist: detach from SD events _after_ stopping the plugin

12 years agoRemove playlist items when destroying the playlist...
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:42:48 +0000 (19:42 +0200)]
Remove playlist items when destroying the playlist...

...rather than when disabling it. Otherwise service discovery plugins
cannot possibly cleanup after themselves (and CABOOM).

12 years agoRemove children kill hack
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:37:21 +0000 (19:37 +0200)]
Remove children kill hack

Whatever would need this would be a buggy SD plugin.

12 years agoRemove suspicious and suspiciously dead code
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:31:09 +0000 (19:31 +0200)]
Remove suspicious and suspiciously dead code

A destructor would never have to release its own object, since the
destructor is only called when the object is not referenced anymore.
On the other hand, it is not clear to me whether SD objects still need
a destructor.

12 years agoSD: remove psz_module parameter, shorter function names
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:28:34 +0000 (19:28 +0200)]
SD: remove psz_module parameter, shorter function names

12 years agoRemove buggy and unused function
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:20:28 +0000 (19:20 +0200)]
Remove buggy and unused function

12 years agoInclude vlc_services_discovery.h only where needed
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:15:34 +0000 (19:15 +0200)]
Include vlc_services_discovery.h only where needed

12 years agoRestore SD human-readable names
Rémi Denis-Courmont [Sat, 10 Jan 2009 17:11:31 +0000 (19:11 +0200)]
Restore SD human-readable names

12 years agoUpdate the GIT revision properly
Rémi Denis-Courmont [Sat, 10 Jan 2009 16:13:33 +0000 (18:13 +0200)]
Update the GIT revision properly

12 years agoClean up here and there
Felix Paul Kühne [Sat, 10 Jan 2009 15:10:30 +0000 (16:10 +0100)]
Clean up here and there

12 years agomacosx: added missing pl locks
Felix Paul Kühne [Sat, 10 Jan 2009 15:06:27 +0000 (16:06 +0100)]
macosx: added missing pl locks

12 years agoQt4: systray hides the interface when it is visible regardless of focus
Rémi Denis-Courmont [Sat, 10 Jan 2009 14:11:54 +0000 (16:11 +0200)]
Qt4: systray hides the interface when it is visible regardless of focus

Otherwise, if the interface is hidden behind another window, clicking
the tray icon however many times will request user attention in the task
bar and never actually show the interface. This was confusing and
inconvenient (fixes #2396). This new behavior is consistent with KMail.

It would probably be even better to show the interface on top (instead
of hiding it, then show it on the second click). Unfortunately, while it
does seem possible, I do not know how. For sure, the previous scheme did
not work anyway.

12 years agoFix grammar and don't minimize if config_getInt fails
Rémi Denis-Courmont [Sat, 10 Jan 2009 13:53:34 +0000 (15:53 +0200)]
Fix grammar and don't minimize if config_getInt fails

12 years agoWe don't need MB2WC when converting ASCII
Rémi Denis-Courmont [Sat, 10 Jan 2009 13:06:21 +0000 (15:06 +0200)]
We don't need MB2WC when converting ASCII

12 years agoGetSymbol: adding a leading underscore is NOT correct on _all_ OSes
Rémi Denis-Courmont [Sat, 10 Jan 2009 13:00:55 +0000 (15:00 +0200)]
GetSymbol: adding a leading underscore is NOT correct on _all_ OSes

12 years agoSmall code factorization
Rémi Denis-Courmont [Sat, 10 Jan 2009 12:51:51 +0000 (14:51 +0200)]
Small code factorization

12 years agoRemove the un-needed horrible vout release hack
Rémi Denis-Courmont [Sat, 10 Jan 2009 10:54:59 +0000 (12:54 +0200)]
Remove the un-needed horrible vout release hack

12 years agoFixed dynamicoverlay SetTextColor.
Laurent Aimar [Sat, 10 Jan 2009 09:41:18 +0000 (10:41 +0100)]
Fixed dynamicoverlay SetTextColor.

Initial patch from Doug West.

12 years agoSupport delaying codec open until extradata are present (avcodec).
Laurent Aimar [Fri, 9 Jan 2009 20:26:23 +0000 (21:26 +0100)]
Support delaying codec open until extradata are present (avcodec).

It fixes support for VC-1 and Theora and Vorbis in avcodec decoder.

12 years agoFixed vc1 packetizer.
Laurent Aimar [Fri, 9 Jan 2009 20:23:04 +0000 (21:23 +0100)]
Fixed vc1 packetizer.

12 years agoRemoved unused field (avcodec).
Laurent Aimar [Fri, 9 Jan 2009 18:43:51 +0000 (19:43 +0100)]
Removed unused field (avcodec).

12 years ago[Contrib]: libupnp build rules. Enable upnp on darwin.
Pavlov Konstantin [Fri, 9 Jan 2009 15:18:36 +0000 (18:18 +0300)]
[Contrib]: libupnp build rules. Enable upnp on darwin.

12 years agoupnp_intel: split the big cpp file in two, declaration and implementation.
Rémi Duraffort [Thu, 8 Jan 2009 10:40:57 +0000 (11:40 +0100)]
upnp_intel: split the big cpp file in two, declaration and implementation.

12 years agomake.pl: don't print infos about qt4 moc.
Rémi Duraffort [Thu, 8 Jan 2009 10:22:21 +0000 (11:22 +0100)]
make.pl: don't print infos about qt4 moc.

12 years agoAssume X11 --forbar-shm is FALSE if the option does not exists
Rémi Denis-Courmont [Thu, 8 Jan 2009 19:51:21 +0000 (21:51 +0200)]
Assume X11 --forbar-shm is FALSE if the option does not exists

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.