vlc.git
11 years agoinput_GetVout and input_GetAout helpers
Rémi Denis-Courmont [Mon, 19 Jan 2009 16:46:53 +0000 (18:46 +0200)]
input_GetVout and input_GetAout helpers

11 years agoQt4: Deinline get(Aout|Vout)()
Jean-Baptiste Kempf [Mon, 19 Jan 2009 16:27:36 +0000 (17:27 +0100)]
Qt4: Deinline get(Aout|Vout)()

11 years agoQt4: return NULL on getAout if no input
Ilkka Ollakka [Mon, 19 Jan 2009 16:21:36 +0000 (18:21 +0200)]
Qt4: return NULL on getAout if no input

11 years agoQt: remove vlc_object_find for AOUTs in menu and extended settings.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 15:40:11 +0000 (16:40 +0100)]
Qt: remove vlc_object_find for AOUTs in menu and extended settings.

11 years agoQt: more removal of vlc_object_find
Jean-Baptiste Kempf [Mon, 19 Jan 2009 13:01:18 +0000 (14:01 +0100)]
Qt: more removal of vlc_object_find

11 years agoQt: use getVout in menus
Jean-Baptiste Kempf [Mon, 19 Jan 2009 12:45:09 +0000 (13:45 +0100)]
Qt: use getVout in menus

Remove a bunch of ( vlc_object_t * )vlc_object_find( p_intf, VLC_OBJECT_VOUT, FIND_ANYWHERE );
and FIND_CHILD there.

11 years agoQt: remove calls to vlc_object_find(VLC_OBJECT_VOUT, FIND_CHILD) in extended panel.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 12:31:17 +0000 (13:31 +0100)]
Qt: remove calls to vlc_object_find(VLC_OBJECT_VOUT, FIND_CHILD) in extended panel.

11 years agoQt: getVout() avoid a crash.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 12:29:51 +0000 (13:29 +0100)]
Qt: getVout() avoid a crash.

11 years agoQt: Create a getVout() in MIM to remove some vlc_object_find( p_intf, VLC_OBJECT_VOUT...
Jean-Baptiste Kempf [Mon, 19 Jan 2009 12:19:36 +0000 (13:19 +0100)]
Qt: Create a getVout() in MIM to remove some vlc_object_find( p_intf, VLC_OBJECT_VOUT, FIND_ANYWHERE ); calls

Just used now for buttons.

11 years agoQt: simplifications.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 11:32:49 +0000 (12:32 +0100)]
Qt: simplifications.

11 years agoQt: actions_manager: Change constructor and inline some functions.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 11:16:22 +0000 (12:16 +0100)]
Qt: actions_manager: Change constructor and inline some functions.

11 years agoQt4: separation between widgets/buttons creation and action
Jean-Baptiste Kempf [Mon, 19 Jan 2009 11:11:23 +0000 (12:11 +0100)]
Qt4: separation between widgets/buttons creation and action

11 years agoQt: toolbar editor, show the saved positionCombo item at start.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 09:27:33 +0000 (10:27 +0100)]
Qt: toolbar editor, show the saved positionCombo item at start.

11 years agoContrib: libdvdread patch update.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 00:41:58 +0000 (01:41 +0100)]
Contrib: libdvdread patch update.

11 years agoQt: save and honour the above-video parameter to allow old-fashion GUI.
Jean-Baptiste Kempf [Mon, 19 Jan 2009 00:41:04 +0000 (01:41 +0100)]
Qt: save and honour the above-video parameter to allow old-fashion GUI.

11 years agodvb-c scanning support (not working yet)
Ilkka Ollakka [Sun, 18 Jan 2009 17:40:21 +0000 (19:40 +0200)]
dvb-c scanning support (not working yet)

11 years agoplaylist: do case ignoring cmp everywhere when sorting
Ilkka Ollakka [Sun, 18 Jan 2009 23:50:12 +0000 (01:50 +0200)]
playlist: do case ignoring cmp everywhere when sorting

11 years agoQt: new defaults for buttons.
Jean-Baptiste Kempf [Sun, 18 Jan 2009 23:17:29 +0000 (00:17 +0100)]
Qt: new defaults for buttons.

11 years agoQt: support for drag n dropping widget, removall and many other improvements.
Jean-Baptiste Kempf [Sun, 18 Jan 2009 22:47:40 +0000 (23:47 +0100)]
Qt: support for drag n dropping widget, removall and many other improvements.

To remove, just drag n drop to the void.
To change, just drag n drop to new position.

11 years agoQt: toolbars, change regroupments of unsplittable buttons as QFrame
Jean-Baptiste Kempf [Sun, 18 Jan 2009 18:03:25 +0000 (19:03 +0100)]
Qt: toolbars, change regroupments of unsplittable buttons as QFrame

I will need that to clarify the Toolbar editor.

11 years agoQt: Change "Load playlist" position.
Jean-Baptiste Kempf [Sun, 18 Jan 2009 14:31:02 +0000 (15:31 +0100)]
Qt: Change "Load playlist" position.

11 years agoSimplification
Rémi Denis-Courmont [Sun, 7 Dec 2008 13:02:49 +0000 (15:02 +0200)]
Simplification

11 years agoOne less vlc_object_find()
Christophe Mutricy [Sun, 18 Jan 2009 18:46:31 +0000 (18:46 +0000)]
One less vlc_object_find()

11 years agoI18n the string as recomended by the spec
Christophe Mutricy [Sun, 18 Jan 2009 18:04:14 +0000 (18:04 +0000)]
I18n the string as recomended by the spec

11 years agoFix logic
Christophe Mutricy [Sun, 18 Jan 2009 17:58:56 +0000 (17:58 +0000)]
Fix logic

And unhibit before quiting

11 years agoFile: (try to) give up reading on I/O error
Rémi Denis-Courmont [Sun, 18 Jan 2009 18:16:03 +0000 (20:16 +0200)]
File: (try to) give up reading on I/O error

Whether this works depends on the stream and demux behaviour. There may
be a better way to fix this.

11 years agoWin32 old crappy poll replacement: misc fixes
Rémi Denis-Courmont [Sun, 18 Jan 2009 18:08:23 +0000 (20:08 +0200)]
Win32 old crappy poll replacement: misc fixes

11 years agoMade input_clock_t in charge of pts_delay.
Laurent Aimar [Sun, 18 Jan 2009 16:44:56 +0000 (17:44 +0100)]
Made input_clock_t in charge of pts_delay.

It fixes a lot of unlocked access.
It will allows a better clock algo.

11 years agoProbe v4l2 when specifically forced not when an access is forced.
Laurent Aimar [Sun, 18 Jan 2009 16:38:38 +0000 (17:38 +0100)]
Probe v4l2 when specifically forced not when an access is forced.

11 years agoCosmetic.
Laurent Aimar [Sun, 18 Jan 2009 15:09:36 +0000 (16:09 +0100)]
Cosmetic.

11 years agoFix warning
Rémi Denis-Courmont [Sun, 18 Jan 2009 14:59:21 +0000 (16:59 +0200)]
Fix warning

11 years agoWin32: wake up select every split tenth of seconds (fix #1949)
Rémi Denis-Courmont [Sun, 18 Jan 2009 14:57:47 +0000 (16:57 +0200)]
Win32: wake up select every split tenth of seconds (fix #1949)

11 years agoPoll: cleanup #includes
Rémi Denis-Courmont [Sun, 18 Jan 2009 14:40:17 +0000 (16:40 +0200)]
Poll: cleanup #includes

11 years agoRevert "Improve Win32 poll replacement (and fix #1949)" et al
Rémi Denis-Courmont [Sun, 18 Jan 2009 14:40:50 +0000 (16:40 +0200)]
Revert "Improve Win32 poll replacement (and fix #1949)" et al

Looks like Winsock events operate in a weird and barely adaptable way.
Fixes #2369.

This reverts commit c6ea17a3ce7e5884c323a66bd48f09f551dbb86d.
This reverts commit 1a582db112f0d898f93bdcc618e06d75ff8f2410.
This reverts commit 8bda7d7287446b0f5b54fe69c07d600cb0bbd1a2.
This reverts commit acade544006e80a73facb152fa53437e21a99a2f.

11 years agoQt: add accessiblewidgets for Win32 static Qt compilation.
Jean-Baptiste Kempf [Sun, 18 Jan 2009 14:51:53 +0000 (15:51 +0100)]
Qt: add accessiblewidgets for Win32 static Qt compilation.

11 years agoChanged playlist_AddExt to be more consistant with input_item_NewWithType.
Laurent Aimar [Sun, 18 Jan 2009 14:11:13 +0000 (15:11 +0100)]
Changed playlist_AddExt to be more consistant with input_item_NewWithType.

11 years agoFixed typo in pda intf.
Laurent Aimar [Sun, 18 Jan 2009 14:03:51 +0000 (15:03 +0100)]
Fixed typo in pda intf.

11 years agoRemoved unused playlist_ItemNew(WithType).
Laurent Aimar [Sun, 18 Jan 2009 13:44:43 +0000 (14:44 +0100)]
Removed unused playlist_ItemNew(WithType).

11 years agoMore NEWS marketing and removing of "support" every 2 lines.
Jean-Baptiste Kempf [Sun, 18 Jan 2009 13:57:18 +0000 (14:57 +0100)]
More NEWS marketing and removing of "support" every 2 lines.

11 years agoSmall simplification in cdda.
Laurent Aimar [Sun, 18 Jan 2009 13:39:03 +0000 (14:39 +0100)]
Small simplification in cdda.

11 years agoTry to partially clean up CDDAX (libcdio) module.
Laurent Aimar [Sun, 18 Jan 2009 13:38:05 +0000 (14:38 +0100)]
Try to partially clean up CDDAX (libcdio) module.

11 years agoRemove DTS-HD block for DTS track.
Laurent Aimar [Sun, 18 Jan 2009 11:53:23 +0000 (12:53 +0100)]
Remove DTS-HD block for DTS track.

It allows to decode the core part (standard DTS) of a DTS-HD track.

11 years agoFixed decoder init when libdca is not present + clean up.
Laurent Aimar [Sun, 18 Jan 2009 11:48:54 +0000 (12:48 +0100)]
Fixed decoder init when libdca is not present + clean up.

11 years agoContribs: update Qt for Windows to 4.4.3
Jean-Baptiste Kempf [Sun, 18 Jan 2009 13:33:27 +0000 (14:33 +0100)]
Contribs: update Qt for Windows to 4.4.3

This release enabled accessibility plugins and should solve the issue for blind people.

11 years agodirac: missing #include
Rémi Denis-Courmont [Sun, 18 Jan 2009 11:31:05 +0000 (13:31 +0200)]
dirac: missing #include

Pointed out by Erwan10

11 years agoTaglib: undefined operation due to duplicate usage of var with post-increment
Dominique Leuenberger [Sat, 17 Jan 2009 15:31:03 +0000 (16:31 +0100)]
Taglib: undefined operation due to duplicate usage of var with post-increment

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
11 years agoRevert "access_samba: don't use deprecated functions."
Rémi Duraffort [Sun, 18 Jan 2009 11:23:21 +0000 (12:23 +0100)]
Revert "access_samba: don't use deprecated functions."

This reverts commit 452ceeacf515b84f1e135e842214ff3fd65394b3.

It break compilation for some users without adding anything.

11 years agomake.pl: missing qt4 stuff.
Rémi Duraffort [Sun, 18 Jan 2009 10:59:47 +0000 (11:59 +0100)]
make.pl: missing qt4 stuff.

11 years agoMisc fixes.
Antoine Cellerier [Sun, 18 Jan 2009 11:20:21 +0000 (12:20 +0100)]
Misc fixes.

11 years agoContribs: small updates
Jean-Baptiste Kempf [Sun, 18 Jan 2009 10:08:17 +0000 (11:08 +0100)]
Contribs: small updates

11 years agowaitpipe: fix missing initializer from earlier commit
Rémi Denis-Courmont [Sun, 18 Jan 2009 10:03:31 +0000 (12:03 +0200)]
waitpipe: fix missing initializer from earlier commit

11 years agoFix waitpipe error handling in net_Accept()
Rémi Denis-Courmont [Sun, 18 Jan 2009 09:29:09 +0000 (11:29 +0200)]
Fix waitpipe error handling in net_Accept()

from fdb990bd55f690131f00a443f187577fc82c8aa6.
Spotted by Laurent.

11 years agoWin32: fix poll() return value
Rémi Denis-Courmont [Sun, 18 Jan 2009 09:54:48 +0000 (11:54 +0200)]
Win32: fix poll() return value

Spotted by Laurent

11 years agoInclude <sys/eventfd.h> as needed
Rémi Denis-Courmont [Sun, 18 Jan 2009 09:34:24 +0000 (11:34 +0200)]
Include <sys/eventfd.h> as needed

11 years agoFlawed logic
Rémi Denis-Courmont [Sun, 18 Jan 2009 08:43:31 +0000 (10:43 +0200)]
Flawed logic

11 years agoUse right mode for fdopen.
Laurent Aimar [Sat, 17 Jan 2009 21:04:57 +0000 (22:04 +0100)]
Use right mode for fdopen.

Noticed by courmish.

11 years agoFixed es_out timeshift under windows.
Laurent Aimar [Sat, 17 Jan 2009 19:39:37 +0000 (20:39 +0100)]
Fixed es_out timeshift under windows.

A missing 'b' flag in fdopen.

11 years agoDon't leak message contexts at end of threads
Rémi Denis-Courmont [Sat, 17 Jan 2009 20:26:37 +0000 (22:26 +0200)]
Don't leak message contexts at end of threads

11 years agoMemory leaks
Rémi Denis-Courmont [Sat, 17 Jan 2009 20:22:15 +0000 (22:22 +0200)]
Memory leaks

11 years agoMemory leaks
Rémi Denis-Courmont [Sat, 17 Jan 2009 20:15:57 +0000 (22:15 +0200)]
Memory leaks

11 years agoDestroy/cleanup should be consistent with Create/Init
Rémi Denis-Courmont [Sat, 17 Jan 2009 20:14:51 +0000 (22:14 +0200)]
Destroy/cleanup should be consistent with Create/Init

Otherwise, the Create/Destroy sequence crashes.

11 years agoCleanup functions cannot fail
Rémi Denis-Courmont [Sat, 17 Jan 2009 20:09:40 +0000 (22:09 +0200)]
Cleanup functions cannot fail

11 years agoRemove p_static_vlc, not used anymore
Rémi Denis-Courmont [Sat, 17 Jan 2009 20:06:48 +0000 (22:06 +0200)]
Remove p_static_vlc, not used anymore

11 years agoQt: on startup, if there is no input, show the cone
Jean-Philippe Andre [Sat, 17 Jan 2009 19:58:21 +0000 (20:58 +0100)]
Qt: on startup, if there is no input, show the cone

11 years agoPrivatize vlc_object_t.i_object_type
Rémi Denis-Courmont [Sat, 17 Jan 2009 19:26:09 +0000 (21:26 +0200)]
Privatize vlc_object_t.i_object_type

11 years agoAvoid using i_object_type
Rémi Denis-Courmont [Sat, 17 Jan 2009 19:25:57 +0000 (21:25 +0200)]
Avoid using i_object_type

11 years agoQT4: remove unneeded signal-connect
Ilkka Ollakka [Sat, 17 Jan 2009 19:16:55 +0000 (21:16 +0200)]
QT4: remove unneeded signal-connect

11 years agoQt: this is a float, not an int
Jean-Philippe Andre [Sat, 17 Jan 2009 19:07:32 +0000 (20:07 +0100)]
Qt: this is a float, not an int

11 years agoDocuments a bit vlc_input_item.h
Laurent Aimar [Sat, 17 Jan 2009 18:19:09 +0000 (19:19 +0100)]
Documents a bit vlc_input_item.h

11 years agoUse input_item_New when applicable.
Laurent Aimar [Sat, 17 Jan 2009 18:09:11 +0000 (19:09 +0100)]
Use input_item_New when applicable.

11 years agoForce to specify options flags in input_item_New*.
Laurent Aimar [Sat, 17 Jan 2009 17:37:14 +0000 (18:37 +0100)]
Force to specify options flags in input_item_New*.

It previously assumed TRUSTED.
No functionnal/security changes in this commit.

11 years agoQt: set TimeLabel to --:--/--:-- when input is stopped.
Jean-Baptiste Kempf [Sat, 17 Jan 2009 16:37:07 +0000 (17:37 +0100)]
Qt: set TimeLabel to --:--/--:-- when input is stopped.

11 years agoplaylist: add real functions for locking
Rémi Denis-Courmont [Sat, 17 Jan 2009 17:19:51 +0000 (19:19 +0200)]
playlist: add real functions for locking

11 years agoSplit out input item from include/vlc_input.h.
Laurent Aimar [Sat, 17 Jan 2009 16:59:40 +0000 (17:59 +0100)]
Split out input item from include/vlc_input.h.

11 years agoRenamed input_item_AddOpt to input_item_AddOption.
Laurent Aimar [Sat, 17 Jan 2009 16:37:23 +0000 (17:37 +0100)]
Renamed input_item_AddOpt to input_item_AddOption.

 This will force people to use VLC_INPUT_OPTION_TRUSTED flag when they
need it and ease security review.
 This commit has no functionnal/security changes.

11 years agoRemove debug.
Antoine Cellerier [Sat, 17 Jan 2009 17:10:38 +0000 (18:10 +0100)]
Remove debug.

11 years agoAdd support for directory listing in ftp access.
Antoine Cellerier [Sat, 17 Jan 2009 16:57:19 +0000 (17:57 +0100)]
Add support for directory listing in ftp access.

11 years agoSuppress httpd_mutex variable
Rémi Denis-Courmont [Sat, 17 Jan 2009 16:47:46 +0000 (18:47 +0200)]
Suppress httpd_mutex variable

11 years agohttpd: use own thread
Rémi Denis-Courmont [Sat, 17 Jan 2009 16:42:38 +0000 (18:42 +0200)]
httpd: use own thread

11 years agoRemove unused parameter
Rémi Denis-Courmont [Sat, 17 Jan 2009 16:33:34 +0000 (18:33 +0200)]
Remove unused parameter

11 years agovlc_object_alive: cosmetics
Rémi Denis-Courmont [Sat, 17 Jan 2009 16:21:37 +0000 (18:21 +0200)]
vlc_object_alive: cosmetics

11 years agoRevert "Add image types."
Antoine Cellerier [Sat, 17 Jan 2009 15:14:56 +0000 (16:14 +0100)]
Revert "Add image types."

This reverts commit 74d68fbd7adce457a52d7cbd08a83d438e7b9b54.

11 years agoIgnore image types in directory access.
Antoine Cellerier [Sat, 17 Jan 2009 15:12:26 +0000 (16:12 +0100)]
Ignore image types in directory access.

11 years agoFix some demux control replies
Antoine Cellerier [Sat, 17 Jan 2009 15:09:30 +0000 (16:09 +0100)]
Fix some demux control replies

11 years agoMerges of misc comments in mailing list thread.
Antoine Cellerier [Sat, 17 Jan 2009 15:04:09 +0000 (16:04 +0100)]
Merges of misc comments in mailing list thread.

11 years agoDefault duration of 10s when fake isn't forced. Make it possible to use fake:///path...
Antoine Cellerier [Sat, 17 Jan 2009 14:57:00 +0000 (15:57 +0100)]
Default duration of 10s when fake isn't forced. Make it possible to use fake:///path/to/image as well.

11 years agoImplement option usage/parsing in rc.lua.
Antoine Cellerier [Sat, 17 Jan 2009 14:47:51 +0000 (15:47 +0100)]
Implement option usage/parsing in rc.lua.

11 years agoAdd image types.
Antoine Cellerier [Tue, 6 Jan 2009 21:42:38 +0000 (22:42 +0100)]
Add image types.

11 years agoa straighforward still image demuxer with 100% compatibility with fake:// --fake...
Joseph Tulou [Mon, 5 Jan 2009 13:12:03 +0000 (14:12 +0100)]
a straighforward still image demuxer with 100% compatibility with fake:// --fake-file=...

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
11 years agochannels.conf demux: parse symbol-rate from playlist
Ilkka Ollakka [Sat, 17 Jan 2009 13:26:48 +0000 (15:26 +0200)]
channels.conf demux: parse symbol-rate from playlist

Without this I needed to give --dvb-srate=6875000 to vlc with
channels.conf file for it to work proberly, please review that it
doesn't cause any funky issues to other than dvb-c stuff.

11 years agoFix assertion
Rémi Denis-Courmont [Sat, 17 Jan 2009 13:31:23 +0000 (15:31 +0200)]
Fix assertion

11 years agoLinux: use an eventfd instead of pipe for waking up, if available
Rémi Denis-Courmont [Sat, 17 Jan 2009 12:42:40 +0000 (14:42 +0200)]
Linux: use an eventfd instead of pipe for waking up, if available

11 years agoSimplify waitpipe.
Rémi Denis-Courmont [Sat, 17 Jan 2009 12:29:13 +0000 (14:29 +0200)]
Simplify waitpipe.

The caller is going to call poll() or something, so locking a mutex is
surely not a performance issue.

11 years agoMore NEWS.
Jean-Baptiste Kempf [Sat, 17 Jan 2009 12:32:24 +0000 (13:32 +0100)]
More NEWS.

11 years agoGlobal Hotkeys for windows
Hannes Domani [Fri, 16 Jan 2009 14:39:58 +0000 (15:39 +0100)]
Global Hotkeys for windows

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoQt: interaction, add accelerators to the buttons.
Jean-Baptiste Kempf [Sat, 17 Jan 2009 12:25:52 +0000 (13:25 +0100)]
Qt: interaction, add accelerators to the buttons.

11 years agoAssert proper alignment of the atomic reference counter
Rémi Denis-Courmont [Sat, 17 Jan 2009 12:05:28 +0000 (14:05 +0200)]
Assert proper alignment of the atomic reference counter

11 years agoPrivatized p_input->b_can_pace_control.
Laurent Aimar [Fri, 16 Jan 2009 21:04:30 +0000 (22:04 +0100)]
Privatized p_input->b_can_pace_control.

11 years agoPrivatized p_input->i_state.
Laurent Aimar [Fri, 16 Jan 2009 20:45:16 +0000 (21:45 +0100)]
Privatized p_input->i_state.

11 years agoPrivatized p_input->i_time.
Laurent Aimar [Fri, 16 Jan 2009 20:34:35 +0000 (21:34 +0100)]
Privatized p_input->i_time.