vlc.git
12 years agono vlc_spin_destroy in GC for Win32
Geoffroy Couprie [Mon, 22 Sep 2008 10:50:45 +0000 (12:50 +0200)]
no vlc_spin_destroy in GC for Win32

12 years agodon't try to free a non existing string
Geoffroy Couprie [Mon, 22 Sep 2008 09:51:22 +0000 (11:51 +0200)]
don't try to free a non existing string

12 years agoQt4: Really split the TimeLabel into its own class.
Jean-Baptiste Kempf [Mon, 22 Sep 2008 02:46:42 +0000 (19:46 -0700)]
Qt4: Really split the TimeLabel into its own class.

Code simplification and TimeLabel in the FSC.

12 years agomacosx: forward-port 17a722aa10 so master is 10.4u compatible too
Felix Paul Kühne [Sun, 21 Sep 2008 21:15:38 +0000 (23:15 +0200)]
macosx: forward-port 17a722aa10 so master is 10.4u compatible too

12 years agomacosx: Simplify prefs.m.
Pierre d'Herbemont [Sun, 21 Sep 2008 16:58:13 +0000 (18:58 +0200)]
macosx: Simplify prefs.m.

12 years agoRTP: compute delay jitter (not used yet) and fix timeout
Rémi Denis-Courmont [Sun, 21 Sep 2008 19:41:35 +0000 (22:41 +0300)]
RTP: compute delay jitter (not used yet) and fix timeout

12 years agovoutqt is really gone
Felix Paul Kühne [Sun, 21 Sep 2008 19:37:26 +0000 (21:37 +0200)]
voutqt is really gone

12 years agoSkins2: add some entries for right-click menu in DP.
Jean-Baptiste Kempf [Sun, 21 Sep 2008 19:18:20 +0000 (12:18 -0700)]
Skins2: add some entries for right-click menu in DP.

Close #2080.

12 years agoUse OP then fetch, more straight forward with most atomic APIs
Rémi Denis-Courmont [Sun, 21 Sep 2008 18:48:19 +0000 (21:48 +0300)]
Use OP then fetch, more straight forward with most atomic APIs

12 years agoQt4: playlist Item MUST inherit from their parent the show flags on update.
Jean-Baptiste Kempf [Sun, 21 Sep 2008 18:45:44 +0000 (11:45 -0700)]
Qt4: playlist Item MUST inherit from their parent the show flags on update.

12 years agocommandline parsing: Fix the macfreetv crash
Derk-Jan Hartman [Sun, 21 Sep 2008 15:43:25 +0000 (17:43 +0200)]
commandline parsing: Fix the macfreetv crash

Basically, somewhat of a "duh" now that we have optional_arguments on OSX.
It is highly annoying however that getopt_long behaviour differs so much
between gnu and BSD implementations, and then is even BUGGY on darwin.
'--option=value' is uniformly supported  and '--option value' is a GNU getopt thing.

imperfect world etc...

12 years agoUse GCC predefines for atomic builtins
Rémi Denis-Courmont [Sun, 21 Sep 2008 18:38:32 +0000 (21:38 +0300)]
Use GCC predefines for atomic builtins

12 years agoAtomic builtins are from in GCC 4.1.0 onward.
Rémi Denis-Courmont [Sun, 21 Sep 2008 18:14:35 +0000 (21:14 +0300)]
Atomic builtins are from in GCC 4.1.0 onward.

We definitely don't want to use the slow mutex or risky spin locks,
unless we have to.

12 years agoFix GCC error message: undefined reference to `__sync_fetch_and_sub_4`
Jean-Paul Saman [Sun, 21 Sep 2008 17:42:27 +0000 (19:42 +0200)]
Fix GCC error message: undefined reference to `__sync_fetch_and_sub_4`

The exact error message is: src/.libs/libvlccore.so: undefined reference to `__sync_fetch_and_sub_4'. According to irc discussion gcc version 4.1.2 (fc8), 4.1.3, 4.2, 4,3.2 and 4.3.2 (archlinux) fail with this error message. This patch fixes it by bumping up the minor number for gcc to 4.

12 years agoMerge E_ and __VLC_SYMBOL
Rémi Denis-Courmont [Sun, 21 Sep 2008 16:15:42 +0000 (19:15 +0300)]
Merge E_ and __VLC_SYMBOL

12 years agoMingw support for garbage collection
Rémi Denis-Courmont [Sat, 20 Sep 2008 14:22:53 +0000 (17:22 +0300)]
Mingw support for garbage collection

(Received no comments on the mailing lists)

12 years agoCosmetics.
Laurent Aimar [Sun, 21 Sep 2008 14:37:43 +0000 (16:37 +0200)]
Cosmetics.

12 years agoFixed overlap support with overlap length smaller than display period.
Laurent Aimar [Sun, 21 Sep 2008 14:30:45 +0000 (16:30 +0200)]
Fixed overlap support with overlap length smaller than display period.

12 years agomacosx: fixed behaviour of the volnorm settings for trunk too
Felix Paul Kühne [Sun, 21 Sep 2008 14:37:07 +0000 (16:37 +0200)]
macosx: fixed behaviour of the volnorm settings for trunk too

12 years agomacosx: make [VLCControls getVoutView] publically available as it is used more than...
Felix Paul Kühne [Sun, 21 Sep 2008 14:31:36 +0000 (16:31 +0200)]
macosx: make [VLCControls getVoutView] publically available as it is used more than 15 times across the interface (VLCIntf, FSPanel, Vout, EmbeddedVout, ...)

12 years agoAnother compile fix
Rémi Denis-Courmont [Sun, 21 Sep 2008 14:05:59 +0000 (17:05 +0300)]
Another compile fix

12 years agocompile fix
Rémi Denis-Courmont [Sun, 21 Sep 2008 14:01:46 +0000 (17:01 +0300)]
compile fix

12 years agoFix symbols again
Rémi Denis-Courmont [Sun, 21 Sep 2008 14:00:22 +0000 (17:00 +0300)]
Fix symbols again

12 years agoModule really does not need to be an object
Rémi Denis-Courmont [Sun, 21 Sep 2008 13:11:24 +0000 (16:11 +0300)]
Module really does not need to be an object

12 years agoRemoved spu_Create/DestroySubpicture in favor of subpicture_*.
Laurent Aimar [Sun, 21 Sep 2008 12:22:11 +0000 (14:22 +0200)]
Removed spu_Create/DestroySubpicture in favor of subpicture_*.

12 years agoCorrectly set order per subtitle decoder.
Laurent Aimar [Sun, 21 Sep 2008 12:00:20 +0000 (14:00 +0200)]
Correctly set order per subtitle decoder.

12 years agoNo functionnal changes.
Laurent Aimar [Sun, 21 Sep 2008 12:00:05 +0000 (14:00 +0200)]
No functionnal changes.

12 years agoPrivatized SUBPICTURE_RENDERED.
Laurent Aimar [Sun, 21 Sep 2008 11:26:21 +0000 (13:26 +0200)]
Privatized SUBPICTURE_RENDERED.

12 years agoClean up subpicture allocation and unused fields.
Laurent Aimar [Sun, 21 Sep 2008 11:20:20 +0000 (13:20 +0200)]
Clean up subpicture allocation and unused fields.

12 years agoRemove VLC_OBJECT_MODULE
Rémi Denis-Courmont [Sun, 21 Sep 2008 12:35:41 +0000 (15:35 +0300)]
Remove VLC_OBJECT_MODULE

12 years agoUse module_list_get
Rémi Denis-Courmont [Sun, 21 Sep 2008 12:34:57 +0000 (15:34 +0300)]
Use module_list_get

12 years agoFix invalid cast
Rémi Denis-Courmont [Sun, 21 Sep 2008 12:13:55 +0000 (15:13 +0300)]
Fix invalid cast

12 years agolower case the module_* functions
Rémi Denis-Courmont [Sun, 21 Sep 2008 11:58:57 +0000 (14:58 +0300)]
lower case the module_* functions

12 years agoFix signal number
Rémi Denis-Courmont [Sun, 21 Sep 2008 11:58:38 +0000 (14:58 +0300)]
Fix signal number

12 years agouse items showflags, parentItem can be NULL
Ilkka Ollakka [Sun, 21 Sep 2008 11:43:21 +0000 (14:43 +0300)]
use items showflags, parentItem can be NULL

12 years agomacosx: Fixed the appereance of playlist items in the Streaming/Transcoding Wizard
Felix Paul Kühne [Sun, 21 Sep 2008 11:28:46 +0000 (13:28 +0200)]
macosx: Fixed the appereance of playlist items in the Streaming/Transcoding Wizard

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
12 years agouniform naming of audio devices variable
Lukas Durfina [Sun, 21 Sep 2008 11:08:56 +0000 (13:08 +0200)]
uniform naming of audio devices variable

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
12 years agofix symbols list
Rémi Denis-Courmont [Sun, 21 Sep 2008 10:30:34 +0000 (13:30 +0300)]
fix symbols list

12 years agoMerge module_release and module_Put
Rémi Denis-Courmont [Sun, 21 Sep 2008 10:18:34 +0000 (13:18 +0300)]
Merge module_release and module_Put

12 years agoRemove the vlc_list_find/module hack
Rémi Denis-Courmont [Sun, 21 Sep 2008 10:09:51 +0000 (13:09 +0300)]
Remove the vlc_list_find/module hack

12 years agoNew type-safe API for modules listing
Rémi Denis-Courmont [Sun, 21 Sep 2008 10:07:28 +0000 (13:07 +0300)]
New type-safe API for modules listing

module_list_get(): gets the list of modules
module_list_free(): releases the list

12 years agomodule_t: use GC subsystem instead of objects
Rémi Denis-Courmont [Sun, 21 Sep 2008 10:06:03 +0000 (13:06 +0300)]
module_t: use GC subsystem instead of objects

Modules have no threads, no variables (!= config items) and
no plugin instances...

12 years agoGC: assert pf_destructor
Rémi Denis-Courmont [Sun, 21 Sep 2008 09:56:23 +0000 (12:56 +0300)]
GC: assert pf_destructor

12 years agoMinor simplification
Rémi Denis-Courmont [Sun, 21 Sep 2008 08:19:14 +0000 (11:19 +0300)]
Minor simplification

12 years agoQt4: Faster/Slower buttons for whiners.
Jean-Baptiste Kempf [Sun, 21 Sep 2008 09:03:41 +0000 (02:03 -0700)]
Qt4: Faster/Slower buttons for whiners.

12 years agoQt4 win32 native open dialog.
Jean-Baptiste Kempf [Sun, 21 Sep 2008 08:08:27 +0000 (01:08 -0700)]
Qt4 win32 native open dialog.

12 years agoQt4: D&D behaviour fix.
Jean-Baptiste Kempf [Sun, 21 Sep 2008 04:59:32 +0000 (21:59 -0700)]
Qt4: D&D behaviour fix.

When dropping on the main controller => Play
When dropping on the playlist => Enqueue.

12 years agoremove pile of warnings and GCCism
Rémi Denis-Courmont [Sun, 21 Sep 2008 08:02:00 +0000 (11:02 +0300)]
remove pile of warnings and GCCism

12 years agoQt4: Video Effects: Force puzzle to be in [2:16]x[2:16] range
Jean-Baptiste Kempf [Sun, 21 Sep 2008 02:19:12 +0000 (19:19 -0700)]
Qt4: Video Effects: Force puzzle to be in [2:16]x[2:16] range

If you go under 2x2, it can go seriously bersek.

12 years agoQt4: Fix windows FSC issue.
Jean-Baptiste Kempf [Sat, 20 Sep 2008 21:53:44 +0000 (14:53 -0700)]
Qt4: Fix windows FSC issue.

PFff :D
(cherry picked from commit 65c2a9bf053f82e4a84192f530f042209a449cca)
(cherry picked from commit 834bd87073e19b49dca9d1ea608541e5885fb3cf)
(cherry picked from commit 6a02accb4ca190a3e2b2690f2130ac6a09d78a32)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoFix a few bugs in update pgp code.
Antoine Cellerier [Sun, 21 Sep 2008 00:18:21 +0000 (02:18 +0200)]
Fix a few bugs in update pgp code.

1/ pgp v4 signature checks of status files with more than 506 bytes would fail
2/ pgp v4 signature checks would fail (code dupication sucks).

This code is quite a mess. We shouldn't need to implement all this lowlevel stuff. I'll remove most of it and use pgpme instead.

For the time being, this means that upcomming releases should use v3 signatures for the downloaded files and shouldn't use status files of more than 506 bytes (or maybe shouldn't use v4 signatures for status files either)

12 years agoSort options.
Antoine Cellerier [Sat, 20 Sep 2008 21:44:29 +0000 (23:44 +0200)]
Sort options.

12 years agoPrivatized nealy all spu_t fields.
Laurent Aimar [Sat, 20 Sep 2008 23:15:32 +0000 (01:15 +0200)]
Privatized nealy all spu_t fields.

12 years agoUse block_Release in bandlimited resampler.
Laurent Aimar [Sat, 20 Sep 2008 22:01:41 +0000 (00:01 +0200)]
Use block_Release in bandlimited resampler.

12 years agoSimplify subpicture region allocation in fbosd.
Laurent Aimar [Sat, 20 Sep 2008 21:59:16 +0000 (23:59 +0200)]
Simplify subpicture region allocation in fbosd.

12 years agoClean up a bit subpicture region API.
Laurent Aimar [Sat, 20 Sep 2008 21:51:02 +0000 (23:51 +0200)]
Clean up a bit subpicture region API.

12 years agoSmall warning fix.
Laurent Aimar [Sat, 20 Sep 2008 15:43:02 +0000 (17:43 +0200)]
Small warning fix.

12 years agoRemoved vout_CopyPicture in favor of picture_Copy.
Laurent Aimar [Sat, 20 Sep 2008 15:41:33 +0000 (17:41 +0200)]
Removed vout_CopyPicture in favor of picture_Copy.

12 years agoi18n fixes
Christophe Mutricy [Sat, 20 Sep 2008 22:04:16 +0000 (23:04 +0100)]
i18n fixes

12 years agodelete leftover from menuconfig
Christophe Mutricy [Sat, 13 Sep 2008 00:13:38 +0000 (01:13 +0100)]
delete leftover from menuconfig

12 years agomacosx: Don't abort() if the screen isn't GL accelerated now that quartzgl is gone.
Pierre d'Herbemont [Sat, 20 Sep 2008 22:03:56 +0000 (00:03 +0200)]
macosx: Don't abort() if the screen isn't GL accelerated now that quartzgl is gone.

12 years agoservices_discovery: Useless hack.
Pierre d'Herbemont [Sat, 20 Sep 2008 21:43:36 +0000 (23:43 +0200)]
services_discovery: Useless hack.

12 years agoservices_discovery: Partially fix service discovery. We yet need to find a way to...
Pierre d'Herbemont [Sat, 20 Sep 2008 21:02:13 +0000 (23:02 +0200)]
services_discovery: Partially fix service discovery. We yet need to find a way to properly get the localized name... grr.

Previously we properly initialized the localized name of the object in Open(). Now Open() also runs Run() so we are kind of stuck. Please fix.

12 years agoSpelling.
Antoine Cellerier [Sat, 20 Sep 2008 20:58:49 +0000 (22:58 +0200)]
Spelling.

12 years agoRemove last occurences of yield in the code and comments.
Antoine Cellerier [Sat, 20 Sep 2008 20:43:22 +0000 (22:43 +0200)]
Remove last occurences of yield in the code and comments.

12 years agos/picture_Yield/picture_Hold/
Antoine Cellerier [Sat, 20 Sep 2008 17:47:45 +0000 (19:47 +0200)]
s/picture_Yield/picture_Hold/

12 years agos/pl_Yield/pl_Hold/
Antoine Cellerier [Sat, 20 Sep 2008 17:41:42 +0000 (19:41 +0200)]
s/pl_Yield/pl_Hold/

12 years agos/vlc_object_yield/vlc_object_release/
Antoine Cellerier [Sat, 20 Sep 2008 17:36:55 +0000 (19:36 +0200)]
s/vlc_object_yield/vlc_object_release/

As discussed on IRC. Yield was quite confusing.

12 years agoremove useless if not harmful hack
Rémi Denis-Courmont [Sat, 20 Sep 2008 19:58:32 +0000 (22:58 +0300)]
remove useless if not harmful hack

12 years agomacosx: getVoutView is gone from here.
Pierre d'Herbemont [Sat, 20 Sep 2008 19:34:51 +0000 (21:34 +0200)]
macosx: getVoutView is gone from here.

12 years agotypo
Rémi Denis-Courmont [Sat, 20 Sep 2008 19:34:02 +0000 (22:34 +0300)]
typo

12 years agosimplify service discoveries
Rémi Denis-Courmont [Sat, 20 Sep 2008 19:09:46 +0000 (22:09 +0300)]
simplify service discoveries

By the way, the event management seems quite broken. Events may occur
before _Create returns (even before this commit)...

12 years agoncurses: object_id is gone.
Pierre d'Herbemont [Sat, 20 Sep 2008 19:01:46 +0000 (21:01 +0200)]
ncurses: object_id is gone.

12 years agoOne child is one reference
Rémi Denis-Courmont [Sat, 20 Sep 2008 15:48:33 +0000 (18:48 +0300)]
One child is one reference

Avoid objects being detached asynchronously too early.
Side effect is that you cannot free your children in the destructor
(that would be a reference loop).

12 years agomacosx: No need to testcancel now.
Pierre d'Herbemont [Sat, 20 Sep 2008 18:06:54 +0000 (20:06 +0200)]
macosx: No need to testcancel now.

12 years agomtime: Make nanosleep a bit more cancelable than what it is on osx.
Pierre d'Herbemont [Sat, 20 Sep 2008 18:03:46 +0000 (20:03 +0200)]
mtime: Make nanosleep a bit more cancelable than what it is on osx.

12 years agoRTP out: use a bitmap for dynamic payload book keeping
Rémi Denis-Courmont [Sat, 20 Sep 2008 17:57:26 +0000 (20:57 +0300)]
RTP out: use a bitmap for dynamic payload book keeping

Fixes payload type overflow especially when using sout keep/gather.

12 years agovariables: don't use p_liblvc when we ARE p_libvlc
Derk-Jan Hartman [Sat, 20 Sep 2008 17:57:09 +0000 (19:57 +0200)]
variables: don't use p_liblvc when we ARE p_libvlc

12 years agomacosx: typo s/pthread_test_cancel/pthread_testcancel/
Pierre d'Herbemont [Sat, 20 Sep 2008 17:46:50 +0000 (19:46 +0200)]
macosx: typo s/pthread_test_cancel/pthread_testcancel/

12 years agomacosx: Blindly remove i_object_id from prefs.m.
Pierre d'Herbemont [Sat, 20 Sep 2008 17:45:18 +0000 (19:45 +0200)]
macosx: Blindly remove i_object_id from prefs.m.

12 years agomacosx: Don't use object_id in controls.
Pierre d'Herbemont [Sat, 20 Sep 2008 17:25:38 +0000 (19:25 +0200)]
macosx: Don't use object_id in controls.

12 years agoobjects: vlc_object_yield() returns the same object type.
Pierre d'Herbemont [Sat, 20 Sep 2008 17:02:36 +0000 (19:02 +0200)]
objects: vlc_object_yield() returns the same object type.

12 years agoobjects: vlc_object_yield() returns the yield()-ed object for convenience.
Pierre d'Herbemont [Sat, 20 Sep 2008 16:57:18 +0000 (18:57 +0200)]
objects: vlc_object_yield() returns the yield()-ed object for convenience.

12 years agomacosx: nanosleep() is not a cancellation point in 10.5.
Pierre d'Herbemont [Sat, 20 Sep 2008 17:01:55 +0000 (19:01 +0200)]
macosx: nanosleep() is not a cancellation point in 10.5.

12 years agomacosx: Use pthread_cancellation in the manage thread.
Pierre d'Herbemont [Sat, 20 Sep 2008 14:50:59 +0000 (16:50 +0200)]
macosx: Use pthread_cancellation in the manage thread.

12 years agoMake sure vlc_release doesn't destroy a non existent spinlock.
Pierre d'Herbemont [Sat, 20 Sep 2008 15:02:24 +0000 (17:02 +0200)]
Make sure vlc_release doesn't destroy a non existent spinlock.

12 years agoFixed warnings.
Laurent Aimar [Sat, 20 Sep 2008 14:36:05 +0000 (16:36 +0200)]
Fixed warnings.

12 years agoUse the yuvp video filter to overlay YUVP.
Laurent Aimar [Sat, 20 Sep 2008 14:26:32 +0000 (16:26 +0200)]
Use the yuvp video filter to overlay YUVP.

12 years agoAdded YUVP ro YUVA/RGBA witout scaling filter.
Laurent Aimar [Sat, 20 Sep 2008 00:39:24 +0000 (02:39 +0200)]
Added YUVP ro YUVA/RGBA witout scaling filter.

It will allow correct YUVP rescaling and even anti-aliased support
if someone do it.

12 years agoDestroy the subpicture cache only when needed.
Laurent Aimar [Fri, 19 Sep 2008 22:48:32 +0000 (00:48 +0200)]
Destroy the subpicture cache only when needed.

12 years agoChanged subpicture_region_t->picture into a picture_t *
Laurent Aimar [Fri, 19 Sep 2008 22:09:37 +0000 (00:09 +0200)]
Changed subpicture_region_t->picture into a picture_t *

It will avoid useless picture copy.

12 years agoRender subpictures in the right order to improve overlap support.
Laurent Aimar [Fri, 19 Sep 2008 21:05:09 +0000 (23:05 +0200)]
Render subpictures in the right order to improve overlap support.

12 years agoFixed audio/spu language selection when none specified in dvdnav.
Laurent Aimar [Fri, 19 Sep 2008 19:57:40 +0000 (21:57 +0200)]
Fixed audio/spu language selection when none specified in dvdnav.

12 years agoRTP: need one more bit for TTL -1 (default) value
Rémi Denis-Courmont [Sat, 20 Sep 2008 14:04:26 +0000 (17:04 +0300)]
RTP: need one more bit for TTL -1 (default) value

12 years agoRemove the object ID field
Rémi Denis-Courmont [Sat, 20 Sep 2008 13:48:54 +0000 (16:48 +0300)]
Remove the object ID field

12 years agoFinally remove mis-designed vlc_object_get
Rémi Denis-Courmont [Sat, 20 Sep 2008 13:48:24 +0000 (16:48 +0300)]
Finally remove mis-designed vlc_object_get

12 years agoUse objet pointer as unique ID (plugins)
Rémi Denis-Courmont [Sat, 20 Sep 2008 13:50:43 +0000 (16:50 +0300)]
Use objet pointer as unique ID (plugins)

(By the way, snapshot-id looks like a write only variable...)

12 years agoUse object address for logging - fixes uniqueness problems
Rémi Denis-Courmont [Sat, 20 Sep 2008 12:06:03 +0000 (15:06 +0300)]
Use object address for logging - fixes uniqueness problems

12 years agoQt4: use objects directly
Rémi Denis-Courmont [Sat, 20 Sep 2008 12:32:02 +0000 (15:32 +0300)]
Qt4: use objects directly

I do not know how the Qt4 itnerface reference counts VLC objects when
it comes to the menu. However, it is a bit suspicious that it seems to
need no yield/release (reference inherited from something else?).

12 years agoPrint object address - easier when debugging
Rémi Denis-Courmont [Sat, 20 Sep 2008 13:47:11 +0000 (16:47 +0300)]
Print object address - easier when debugging