vlc.git
10 years agoportaudio: add private b_error
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:57:06 +0000 (22:57 +0200)]
portaudio: add private b_error

10 years agodirac encoder: remove write-only b_error
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:56:52 +0000 (22:56 +0200)]
dirac encoder: remove write-only b_error

10 years agodshow: remove impossible case
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:54:09 +0000 (22:54 +0200)]
dshow: remove impossible case

10 years agoRemove some unused p_e parameters and propagate
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:49:15 +0000 (22:49 +0200)]
Remove some unused p_e parameters and propagate

10 years agoUnexport vlc_object_detach
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:34:05 +0000 (22:34 +0200)]
Unexport vlc_object_detach

10 years agoRemove useless vlc_object_detach() before vlc_object_release()
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:25:07 +0000 (22:25 +0200)]
Remove useless vlc_object_detach() before vlc_object_release()

10 years agoQt: prettier button with menu for playlist view switching
Jakob Leben [Thu, 28 Jan 2010 20:17:47 +0000 (21:17 +0100)]
Qt: prettier button with menu for playlist view switching

10 years agoFactor vlc_object_release() into DeleteDecoder()
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:17:30 +0000 (22:17 +0200)]
Factor vlc_object_release() into DeleteDecoder()

10 years agoAllow vlc_object_attach to reparent directly
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:09:39 +0000 (22:09 +0200)]
Allow vlc_object_attach to reparent directly

This saves one unlock/lock cycle, and makes sure that the reparented
object remains in the tree at all times. This does not fix the race in
reparenting, but it reduces its window of opportunity.

This also makes vlc_object_detach() essentially redumdant with
vlc_object_release() and vlc_object_attach().

10 years agoWarn about reparented object when debugging
Rémi Denis-Courmont [Thu, 28 Jan 2010 20:03:14 +0000 (22:03 +0200)]
Warn about reparented object when debugging

10 years agovlc_object_detach_unlocked: don't check impossible case
Rémi Denis-Courmont [Thu, 28 Jan 2010 19:50:30 +0000 (21:50 +0200)]
vlc_object_detach_unlocked: don't check impossible case

10 years agoMissing vlc_object_attach
Rémi Denis-Courmont [Thu, 28 Jan 2010 19:29:30 +0000 (21:29 +0200)]
Missing vlc_object_attach

10 years agoOops
Rémi Denis-Courmont [Thu, 28 Jan 2010 19:23:37 +0000 (21:23 +0200)]
Oops

10 years agoStick b_error to object types that actually use it
Rémi Denis-Courmont [Thu, 28 Jan 2010 19:19:12 +0000 (21:19 +0200)]
Stick b_error to object types that actually use it

10 years agoHTTP access: privatize b_error
Rémi Denis-Courmont [Thu, 28 Jan 2010 19:11:23 +0000 (21:11 +0200)]
HTTP access: privatize b_error

10 years agoMMS: nothing ever sets b_error, so no need to check it
Rémi Denis-Courmont [Thu, 28 Jan 2010 19:10:09 +0000 (21:10 +0200)]
MMS: nothing ever sets b_error, so no need to check it

10 years agoLUA: use psz_intf instead of b_force
Rémi Denis-Courmont [Thu, 28 Jan 2010 18:58:52 +0000 (20:58 +0200)]
LUA: use psz_intf instead of b_force

10 years agoaccess/access_demux: check psz_access rather than b_force
Rémi Denis-Courmont [Thu, 28 Jan 2010 18:57:52 +0000 (20:57 +0200)]
access/access_demux: check psz_access rather than b_force

10 years agoQt: iconView delegate: encode PLModel::IsCurrent(QModelIndex) into cache key
Jakob Leben [Thu, 28 Jan 2010 19:08:50 +0000 (20:08 +0100)]
Qt: iconView delegate: encode PLModel::IsCurrent(QModelIndex) into cache key

This way item is redrawn when current item changes.

10 years agodon't convert bool to bool...
Rémi Denis-Courmont [Thu, 28 Jan 2010 18:50:49 +0000 (20:50 +0200)]
don't convert bool to bool...

10 years agoTypo
Rémi Denis-Courmont [Thu, 28 Jan 2010 18:32:44 +0000 (20:32 +0200)]
Typo

10 years agoUse module_gettext() for command line help
Rémi Denis-Courmont [Thu, 28 Jan 2010 17:59:50 +0000 (19:59 +0200)]
Use module_gettext() for command line help

10 years agomodule_gettext: translate a string in the text domain of a module
Rémi Denis-Courmont [Thu, 28 Jan 2010 17:25:22 +0000 (19:25 +0200)]
module_gettext: translate a string in the text domain of a module

This is needed for out-of-tree modules. We need to translate their
plugin descriptor strings from their domain.

10 years agoLoad out-of-tree plugin's text domain
Rémi Denis-Courmont [Thu, 28 Jan 2010 17:48:25 +0000 (19:48 +0200)]
Load out-of-tree plugin's text domain

They cannot do it themselves. Their strings may be in the plugins
cache, in which case the plugins may not be loaded at all.

10 years agoKeep track of plugin text domain
Rémi Denis-Courmont [Thu, 28 Jan 2010 17:16:18 +0000 (19:16 +0200)]
Keep track of plugin text domain

10 years agoFactor out LoadMessages to support other text domains
Rémi Denis-Courmont [Thu, 28 Jan 2010 17:48:06 +0000 (19:48 +0200)]
Factor out LoadMessages to support other text domains

10 years agoQt4 Icon View: cache full rendering for each item
Rafaël Carré [Thu, 28 Jan 2010 17:25:57 +0000 (18:25 +0100)]
Qt4 Icon View: cache full rendering for each item

10 years agoWarn inheriting a value from an object outside of the object tree
Rémi Denis-Courmont [Thu, 28 Jan 2010 16:55:47 +0000 (18:55 +0200)]
Warn inheriting a value from an object outside of the object tree

10 years agoAttach playlist ASAP
Rémi Denis-Courmont [Thu, 28 Jan 2010 16:54:44 +0000 (18:54 +0200)]
Attach playlist ASAP

vlc_object_find is not used for the playlist anymore, so this is OK.

10 years agoResource attach/detach requires the lock. Add vlc_assert_locked()
Rémi Denis-Courmont [Thu, 28 Jan 2010 16:19:58 +0000 (18:19 +0200)]
Resource attach/detach requires the lock. Add vlc_assert_locked()

10 years agomacosx_dialog_provider: Improved VLCDialogGridView.
Pierre d'Herbemont [Thu, 28 Jan 2010 01:12:17 +0000 (02:12 +0100)]
macosx_dialog_provider: Improved VLCDialogGridView.

We now properly layout elements, and size the window accordingly.

10 years agomacosx/framework: Export -gotoNextFrame.
Pierre d'Herbemont [Wed, 27 Jan 2010 22:01:21 +0000 (23:01 +0100)]
macosx/framework: Export -gotoNextFrame.

10 years agomacosx/framework: No need to create an exception here.
Pierre d'Herbemont [Wed, 27 Jan 2010 22:00:54 +0000 (23:00 +0100)]
macosx/framework: No need to create an exception here.

10 years agox/framework: Fix dead code in VLCExtensionsManager.
Pierre d'Herbemont [Wed, 27 Jan 2010 21:59:46 +0000 (22:59 +0100)]
x/framework: Fix dead code in VLCExtensionsManager.

10 years agoExtensions/Script: fix IMDb URL
Jean-Philippe André [Thu, 28 Jan 2010 15:13:35 +0000 (16:13 +0100)]
Extensions/Script: fix IMDb URL

10 years agoExtensions/Qt: use a QTextBrowser instead of QTextEdit
Jean-Philippe André [Thu, 28 Jan 2010 15:12:26 +0000 (16:12 +0100)]
Extensions/Qt: use a QTextBrowser instead of QTextEdit

Now you can click on URLs

10 years agoExtensions/Qt: change list mode to ExtendedSelection
Jean-Philippe André [Thu, 28 Jan 2010 15:00:10 +0000 (16:00 +0100)]
Extensions/Qt: change list mode to ExtendedSelection

10 years agoQt: New configuration var "qt-autoload-extensions"
Jean-Philippe André [Thu, 28 Jan 2010 14:55:49 +0000 (15:55 +0100)]
Qt: New configuration var "qt-autoload-extensions"

If true, load the extensions on startup. Otherwise, don't load
them automatically.

10 years agoQt/Menu: ViewMenu is now dynamic (uses aboutToShow)
Jean-Philippe André [Thu, 28 Jan 2010 14:26:57 +0000 (15:26 +0100)]
Qt/Menu: ViewMenu is now dynamic (uses aboutToShow)

10 years agoExtensions/Qt: add cannotLoad() flag
Jean-Philippe André [Thu, 28 Jan 2010 14:24:58 +0000 (15:24 +0100)]
Extensions/Qt: add cannotLoad() flag

This flag will indicate that we can't load the extensions module,
thus preventing many unnecessary (failing) loads on ViewMenu::exec()

10 years agoExtensions/Qt: use lock on extensions list
Jean-Philippe André [Thu, 28 Jan 2010 11:24:24 +0000 (12:24 +0100)]
Extensions/Qt: use lock on extensions list

10 years agoExtensions: fix extensions manager's locking scheme
Jean-Philippe André [Thu, 28 Jan 2010 11:07:15 +0000 (12:07 +0100)]
Extensions: fix extensions manager's locking scheme

10 years agoExtensions: remove timers
Jean-Philippe André [Thu, 28 Jan 2010 10:20:38 +0000 (11:20 +0100)]
Extensions: remove timers

Clean Extension dialogs and widgets without using a cond_timedwait but
a simple cond_wait instead.

10 years agoQT4 Icon view: cache album art pixmap
Rafaël Carré [Thu, 28 Jan 2010 15:11:56 +0000 (16:11 +0100)]
QT4 Icon view: cache album art pixmap

The QPixmapCache default size is 10240kB on desktops, this leaves room
for 640 pictures 64x64 in rgba

Improves scrolling with a lot of items.

Also use art url from the first children with art for nodes without art

TODO: cache the full rendering (text + art), QPixmap is a QPaintDevice
subclass

10 years agoQt: locationBar: update when browsing back/up, show current bold
Jakob Leben [Thu, 28 Jan 2010 15:13:36 +0000 (16:13 +0100)]
Qt: locationBar: update when browsing back/up, show current bold

10 years agofix memleak
Rafaël Carré [Thu, 28 Jan 2010 14:26:21 +0000 (15:26 +0100)]
fix memleak

10 years agoqt4: correctly displays utf8 in location bar
Rafaël Carré [Thu, 28 Jan 2010 13:40:11 +0000 (14:40 +0100)]
qt4: correctly displays utf8 in location bar

10 years agoShortname corrections
Jean-Baptiste Kempf [Thu, 28 Jan 2010 13:07:23 +0000 (14:07 +0100)]
Shortname corrections

10 years agophonon: fix compilation.
Rémi Duraffort [Thu, 28 Jan 2010 09:06:33 +0000 (10:06 +0100)]
phonon: fix compilation.

10 years agoQt: views behavior corrections
Jakob Leben [Thu, 28 Jan 2010 07:57:00 +0000 (08:57 +0100)]
Qt: views behavior corrections

Only respond to input item change if in icon view.
Update location bar according to current view.

10 years agoQt: playlist (Fix #3248) Set model after sorting enabled to prevent sorting immediately
Jakob Leben [Thu, 28 Jan 2010 07:36:00 +0000 (08:36 +0100)]
Qt: playlist (Fix #3248) Set model after sorting enabled to prevent sorting immediately

And add a debug msg when sorting happens.

10 years agoQt: connect to iconView only after it has been created
Jakob Leben [Thu, 28 Jan 2010 06:56:09 +0000 (07:56 +0100)]
Qt: connect to iconView only after it has been created

10 years agolua/http: use h264 in flash-streaming
Ilkka Ollakka [Thu, 28 Jan 2010 06:03:37 +0000 (08:03 +0200)]
lua/http: use h264 in flash-streaming

10 years agoQt: replace playlist view title with interactive location bar
Jakob Leben [Thu, 28 Jan 2010 05:52:04 +0000 (06:52 +0100)]
Qt: replace playlist view title with interactive location bar

10 years agoQt: make PLModel::getItem return rootItem as well, add id getter to PLItem
Jakob Leben [Thu, 28 Jan 2010 05:50:35 +0000 (06:50 +0100)]
Qt: make PLModel::getItem return rootItem as well, add id getter to PLItem

10 years agoEPG: fix QLabel look and saveGeometry
Jean-Baptiste Kempf [Thu, 28 Jan 2010 02:29:29 +0000 (03:29 +0100)]
EPG: fix QLabel look and saveGeometry

10 years agoQt: Comment out left qDebug()
Jean-Baptiste Kempf [Thu, 28 Jan 2010 02:22:00 +0000 (03:22 +0100)]
Qt: Comment out left qDebug()

10 years agoQt: EPG, propagate the infos when clicking on an Item
Jean-Baptiste Kempf [Thu, 28 Jan 2010 02:20:28 +0000 (03:20 +0100)]
Qt: EPG, propagate the infos when clicking on an Item

10 years agoQt iconView: browse into node when it spawns subitems
Jakob Leben [Thu, 28 Jan 2010 02:12:03 +0000 (03:12 +0100)]
Qt iconView: browse into node when it spawns subitems

10 years agoQt: add public index-from-id function to PLModel
Jakob Leben [Thu, 28 Jan 2010 02:10:13 +0000 (03:10 +0100)]
Qt: add public index-from-id function to PLModel

10 years agortp sout: fix another race condition in RTSP
Pierre Ynard [Thu, 28 Jan 2010 00:59:43 +0000 (01:59 +0100)]
rtp sout: fix another race condition in RTSP

When RTSP is shut down, the server destroys sessions (with no locking)
while clients are still able to concurrently access them, potentially
leading to a crash. Make sure we unregister the RTSP URL before
cleaning up (then indeed no locking is needed).

10 years agoQt: connect the EPG to the core item on request
Jean-Baptiste Kempf [Thu, 28 Jan 2010 00:33:37 +0000 (01:33 +0100)]
Qt: connect the EPG to the core item on request

This is ugly, but I don't know how to do it the correct way.
The UI is not top-quality yet, but it works. Feel free to improve.

10 years agoMKV: support of PGS (BD subs) in .mkv
Jean-Baptiste Kempf [Wed, 27 Jan 2010 23:08:43 +0000 (00:08 +0100)]
MKV: support of PGS (BD subs) in .mkv

10 years agoQt: EPG, add a close button and other GUI improvements
Jean-Baptiste Kempf [Wed, 27 Jan 2010 15:28:06 +0000 (16:28 +0100)]
Qt: EPG, add a close button and other GUI improvements

10 years agoQt: We might want to share more that just a description
Jean-Baptiste Kempf [Wed, 27 Jan 2010 15:07:47 +0000 (16:07 +0100)]
Qt: We might want to share more that just a description

10 years agoQt: EPGItem doesn't need QObject inheritage
Jean-Baptiste Kempf [Wed, 27 Jan 2010 14:06:14 +0000 (15:06 +0100)]
Qt: EPGItem doesn't need QObject inheritage

10 years agoQt EPG: design and functionnalities improvements
Jean-Baptiste Kempf [Wed, 27 Jan 2010 01:25:24 +0000 (02:25 +0100)]
Qt EPG: design and functionnalities improvements

10 years agoQt: initial EPG dialogs and DP integration
Jean-Baptiste Kempf [Wed, 27 Jan 2010 00:27:19 +0000 (01:27 +0100)]
Qt: initial EPG dialogs and DP integration

10 years agoQt: EPG, include orders
Jean-Baptiste Kempf [Wed, 27 Jan 2010 00:17:39 +0000 (01:17 +0100)]
Qt: EPG, include orders

10 years agoQt: EPG in BuildSystem
Jean-Baptiste Kempf [Wed, 27 Jan 2010 00:04:29 +0000 (01:04 +0100)]
Qt: EPG in BuildSystem

10 years agoInitial commit for EPG class for EPG Viewing
Ludovic Fauvet [Tue, 26 Jan 2010 23:45:01 +0000 (00:45 +0100)]
Initial commit for EPG class for EPG Viewing

10 years agortp sout: fix race condition in RTSP
Pierre Ynard [Wed, 27 Jan 2010 23:55:00 +0000 (00:55 +0100)]
rtp sout: fix race condition in RTSP

When an ES is removed, it is possible to set up a track that won't be
cleaned up and will remain dangling, causing a crash later. Make sure
we unregister the RTSP URL before cleaning up.

10 years agoWin32: correct the 'one-instance' deallocation code
Erwan Tulou [Wed, 27 Jan 2010 22:08:38 +0000 (23:08 +0100)]
Win32: correct the 'one-instance' deallocation code

'one-instance' happens to work on Win32 though there are several issues:
- a WM_QUIT is sent to the helper thread when any instance terminates
 (the master or a secondary instance). 'one-instance' should then stop
 working as soon as the first secondary instance terminates.
- But, sending WM_QUIT via SendMessage directly calls the window
procedure callback. And this callback here doesn't process the message
at all. Therefore, it is a no-op and the thread is actually never stopped.

This patch does the following :
- move the WM_QUIT message to ensure that only the master (first) instance
 stops the helper thread.
- process the WM_QUIT message in the window procedure callback, and call
for clean termination of the thread.

Note that PostQuitMessage cannot be directly called as there are two
distincts threads here.

10 years agovlc_object_create: remove legacy support for negative sizes
Rémi Denis-Courmont [Wed, 27 Jan 2010 18:26:01 +0000 (20:26 +0200)]
vlc_object_create: remove legacy support for negative sizes

10 years agoaout: use vlc_custom_create
Rémi Denis-Courmont [Wed, 27 Jan 2010 18:33:31 +0000 (20:33 +0200)]
aout: use vlc_custom_create

10 years agodecoders: use vlc_custom_create, generic objects (except in input)
Rémi Denis-Courmont [Wed, 27 Jan 2010 18:16:58 +0000 (20:16 +0200)]
decoders: use vlc_custom_create, generic objects (except in input)

As far as I know, the distinction only matters anymore in the input
loop, for E/S out decoders (due to the evil ObjectKillChildren).

10 years agoLUA: vlc_object_find does not work for decoders and generic objects
Rémi Denis-Courmont [Wed, 27 Jan 2010 18:14:43 +0000 (20:14 +0200)]
LUA: vlc_object_find does not work for decoders and generic objects

10 years agoi18n: fix POTFILES
Pierre Ynard [Wed, 27 Jan 2010 18:51:03 +0000 (19:51 +0100)]
i18n: fix POTFILES

Remove moved files, they don't contain any translation

10 years agortp sout: fix socket leak
Pierre Ynard [Wed, 27 Jan 2010 17:44:33 +0000 (18:44 +0100)]
rtp sout: fix socket leak

RTCP sockets of RTSP sessions are not closed when the input is stopped.

10 years agoatmo: added update news
André Weber [Wed, 27 Jan 2010 17:14:16 +0000 (18:14 +0100)]
atmo: added update news

10 years agoatmo: enabled by default again, description changed
André Weber [Wed, 27 Jan 2010 17:03:45 +0000 (18:03 +0100)]
atmo: enabled by default again, description changed

10 years agoFix make install cache generation
Rémi Denis-Courmont [Wed, 27 Jan 2010 17:24:30 +0000 (19:24 +0200)]
Fix make install cache generation

libvlc*.so are not yet configured, so we can't use the installed
vlc-cache-gen just yet.

10 years agoDo not insert a module in the list twice
Rémi Denis-Courmont [Wed, 27 Jan 2010 17:22:46 +0000 (19:22 +0200)]
Do not insert a module in the list twice

If the same module (i.e. currently same file path) is scanned more than
once, the linked list would get corrupted, and VLC crash while loading.

This could happen, e.g. if you put $(vlclibdir) into --plugin-path.

10 years agoRemove write-only b_used property from cache entries
Rémi Denis-Courmont [Wed, 27 Jan 2010 17:14:39 +0000 (19:14 +0200)]
Remove write-only b_used property from cache entries

10 years agoRemove always false b_junk cache entry property
Rémi Denis-Courmont [Wed, 27 Jan 2010 17:12:17 +0000 (19:12 +0200)]
Remove always false b_junk cache entry property

10 years agoQt iconView: font adjustments
Jakob Leben [Wed, 27 Jan 2010 13:25:23 +0000 (14:25 +0100)]
Qt iconView: font adjustments

Keep application default font family.
Make Title italic.
Make both Title and Artist bold only if it is the current item.

10 years agoQt: unify item activation among PL views, change title when browsing in iconView
Jakob Leben [Wed, 27 Jan 2010 12:52:08 +0000 (13:52 +0100)]
Qt: unify item activation among PL views, change title when browsing in iconView

Also delay view creation in constructor after the title label has been created

10 years agoQt: connect currentChanged signal from model earlier
Jakob Leben [Wed, 27 Jan 2010 11:49:48 +0000 (12:49 +0100)]
Qt: connect currentChanged signal from model earlier

10 years agolibvlc_media_es_t: export ES id
Rafaël Carré [Wed, 27 Jan 2010 09:42:29 +0000 (10:42 +0100)]
libvlc_media_es_t: export ES id

10 years agomacosx_dialog_provider: Remove legacy -release.
Pierre d'Herbemont [Wed, 27 Jan 2010 08:53:51 +0000 (09:53 +0100)]
macosx_dialog_provider: Remove legacy -release.

10 years agomacosx/framework: Whitespace cleanup in VLCAudio.m
Pierre d'Herbemont [Wed, 27 Jan 2010 01:04:20 +0000 (02:04 +0100)]
macosx/framework: Whitespace cleanup in VLCAudio.m

10 years agomacosx/framework: Export VLCExtensionsManager and VLCExtension.
Pierre d'Herbemont [Wed, 27 Jan 2010 01:03:21 +0000 (02:03 +0100)]
macosx/framework: Export VLCExtensionsManager and VLCExtension.

This enables usage of vlc extension in Lunettes.

10 years agomacosx_dialog_provider: Add basic support for dialog-extension.
Pierre d'Herbemont [Wed, 27 Jan 2010 01:01:29 +0000 (02:01 +0100)]
macosx_dialog_provider: Add basic support for dialog-extension.

This needs to be splitted in a separate files.
VLCDialogGridView still suck, and won't place items as we would expect them.

10 years agolua/extension: Missing lock initialization.
Pierre d'Herbemont [Wed, 27 Jan 2010 01:00:48 +0000 (02:00 +0100)]
lua/extension: Missing lock initialization.

10 years agovlc_extensions.h: Don't use anonymous struct in typedef.
Pierre d'Herbemont [Wed, 27 Jan 2010 00:58:18 +0000 (01:58 +0100)]
vlc_extensions.h: Don't use anonymous struct in typedef.

10 years agomacosx/framework: Install libvlc and libvlccore as a link to their numbered version.
Pierre d'Herbemont [Tue, 26 Jan 2010 11:41:22 +0000 (12:41 +0100)]
macosx/framework: Install libvlc and libvlccore as a link to their numbered version.

10 years agomacosx/framework: Switch to C99.
Pierre d'Herbemont [Tue, 26 Jan 2010 11:40:38 +0000 (12:40 +0100)]
macosx/framework: Switch to C99.

10 years agoRemoved now unused VOUT_SET_SIZE.
Laurent Aimar [Tue, 26 Jan 2010 22:40:54 +0000 (23:40 +0100)]
Removed now unused VOUT_SET_SIZE.

10 years agoRedirected "zoom" on "scale" (vout_thread_t).
Laurent Aimar [Tue, 26 Jan 2010 22:34:02 +0000 (23:34 +0100)]
Redirected "zoom" on "scale" (vout_thread_t).

It fixes zoom settings at the core level (partially close #3245).
"zoom" cannot be removed as it provides a list of choices while "scale" is
a free value. The names aren't great, but that can wait.

10 years agoFixed zoom setting when the video fills the display.
Laurent Aimar [Tue, 26 Jan 2010 22:31:38 +0000 (23:31 +0100)]
Fixed zoom setting when the video fills the display.

The zoom parameters need to be taken into account as the window
can be resized.