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

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

11 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.

11 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.

11 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.

11 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

11 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

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

11 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>
11 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>
11 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).

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

11 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.

11 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".

11 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.

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

It eases security review.

11 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).

11 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.

11 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.

11 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

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

11 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.

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

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

11 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

11 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.

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

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

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

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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

11 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

11 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

11 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

11 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()

11 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.

11 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

11 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

11 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.

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

11 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

11 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

11 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

11 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

11 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)

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

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

11 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.

11 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.

11 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).

11 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).

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

11 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.

11 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.

11 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).

11 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.

11 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.

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

11 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.

11 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.

11 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.

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

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

11 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.

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

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

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

(Moved around playlist code)

11 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.

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

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

11 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.

11 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

11 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

11 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

11 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

11 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.

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

11 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.

11 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

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

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

11 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>
11 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>
11 years agoUnduplicate UPnP long string
Rémi Denis-Courmont [Sun, 4 Jan 2009 19:05:38 +0000 (21:05 +0200)]
Unduplicate UPnP long string

11 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.