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

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

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

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

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

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

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

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

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

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

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

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

13 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

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

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

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

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

13 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

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

13 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

13 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

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

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

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

13 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

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

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

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

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

13 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

13 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

13 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

13 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

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

13 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

13 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

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

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

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

13 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

13 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

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

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

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

13 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

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

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

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

13 years agoUse "can-rate" and "state" input variable when applicable.
Laurent Aimar [Fri, 16 Jan 2009 20:19:27 +0000 (21:19 +0100)]
Use "can-rate" and "state" input variable when applicable.

 It seems that both gui/pda/pda.c and gui/macosx/intf.m fetch "can-rate" value
but does not use it, could maintainers check it ...

 The inhibit and screensaver modules are using bad object_find. Proper
playlist event handling would be cleaner.

13 years agocompilation fix in case that INT64_C isn't defined
Felix Paul Kühne [Fri, 16 Jan 2009 23:26:09 +0000 (00:26 +0100)]
compilation fix in case that INT64_C isn't defined

13 years agoPrivatized i_pts_delay (input_thread_t).
Laurent Aimar [Fri, 16 Jan 2009 20:06:30 +0000 (21:06 +0100)]
Privatized i_pts_delay (input_thread_t).

13 years agoRemoved invalid comment.
Laurent Aimar [Fri, 16 Jan 2009 19:46:45 +0000 (20:46 +0100)]
Removed invalid comment.

13 years agoFixed an invalid use of p_input->i_pts_delay.
Laurent Aimar [Fri, 16 Jan 2009 19:42:24 +0000 (20:42 +0100)]
Fixed an invalid use of p_input->i_pts_delay.

The wait STILL frame is handled by dvdnav is not right.

13 years agoFixed invalid use of p_input->i_pts_delay.
Laurent Aimar [Fri, 16 Jan 2009 19:39:59 +0000 (20:39 +0100)]
Fixed invalid use of p_input->i_pts_delay.

13 years agoRemoved broken ES_OUT_GET_TS.
Laurent Aimar [Fri, 16 Jan 2009 19:35:39 +0000 (20:35 +0100)]
Removed broken ES_OUT_GET_TS.

13 years agomacosx: fix 2 warnings
Felix Paul Kühne [Fri, 16 Jan 2009 19:40:33 +0000 (20:40 +0100)]
macosx: fix 2 warnings

13 years agomacosx: changed the data appearance in the info panel to the following behaviour...
Felix Paul Kühne [Fri, 16 Jan 2009 19:29:58 +0000 (20:29 +0100)]
macosx: changed the data appearance in the info panel to the following behaviour: if playlist is collapsed, we show data about the currently playing item. if the playlist is shown, we show data about the current selection in the list, regardless of the current item.

Empty selections in the playlist are still not allowed, as this would lead to some trouble I don't want to solve for this old panel (to be fixed once the dudiak branch is merged)

13 years agoQt: fix win32 compilation
Jean-Baptiste Kempf [Fri, 16 Jan 2009 18:02:13 +0000 (19:02 +0100)]
Qt: fix win32 compilation

13 years agoQt: simple preferences, User Experience improvements.
Jean-Baptiste Kempf [Fri, 16 Jan 2009 17:37:56 +0000 (18:37 +0100)]
Qt: simple preferences, User Experience improvements.

- Set buddies where possible.
- Set tooltips on most labels.

13 years agoQt: remove unneeded code.
Jean-Baptiste Kempf [Fri, 16 Jan 2009 16:59:10 +0000 (17:59 +0100)]
Qt: remove unneeded code.

13 years agoQt: change dialog size.
Jean-Baptiste Kempf [Fri, 16 Jan 2009 16:58:43 +0000 (17:58 +0100)]
Qt: change dialog size.

13 years agofix cdda playlists for CDs that have more than 9 titles.
Timo Paulssen [Wed, 14 Jan 2009 21:02:29 +0000 (22:02 +0100)]
fix cdda playlists for CDs that have more than 9 titles.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoQt: Kill more warnings.
Jean-Baptiste Kempf [Wed, 14 Jan 2009 17:20:16 +0000 (18:20 +0100)]
Qt: Kill more warnings.

13 years agoQt: kill many warnings.
Jean-Baptiste Kempf [Tue, 13 Jan 2009 23:00:22 +0000 (00:00 +0100)]
Qt: kill many warnings.

13 years agoQt: interaction, cleanup and fix of the Cancel button in avi fixing...
Jean-Baptiste Kempf [Tue, 13 Jan 2009 20:56:24 +0000 (21:56 +0100)]
Qt: interaction, cleanup and fix of the Cancel button in avi fixing...

(But, what is the use of that cancel anyway?)

13 years agoQt: menus, simplification and accelerator addition.
Jean-Baptiste Kempf [Tue, 13 Jan 2009 20:55:44 +0000 (21:55 +0100)]
Qt: menus, simplification and accelerator addition.

13 years agoQt: more debug to find the Chapitre and Titre in Qt4
Jean-Baptiste Kempf [Mon, 12 Jan 2009 18:03:55 +0000 (19:03 +0100)]
Qt: more debug to find the Chapitre and Titre in Qt4

13 years agovlc_object_dump is used only when debuging.
Rémi Duraffort [Fri, 16 Jan 2009 11:24:07 +0000 (12:24 +0100)]
vlc_object_dump is used only when debuging.

13 years agocalloc( nb_elmnt, size ) instead of calloc( size, nb_elmnt )
Rémi Duraffort [Fri, 16 Jan 2009 10:53:20 +0000 (11:53 +0100)]
calloc( nb_elmnt, size ) instead of calloc( size, nb_elmnt )

13 years agoUse the access helpers.
Rémi Duraffort [Fri, 16 Jan 2009 10:45:12 +0000 (11:45 +0100)]
Use the access helpers.

13 years agoaccess_mms: use STANDARD_READ_ACCESS_INIT and fix potential memleaks.
Rémi Duraffort [Fri, 16 Jan 2009 10:30:00 +0000 (11:30 +0100)]
access_mms: use STANDARD_READ_ACCESS_INIT and fix potential memleaks.

13 years agoaccess_gnomevfs: Read function take a size_t and not an int.
Rémi Duraffort [Fri, 16 Jan 2009 10:03:11 +0000 (11:03 +0100)]
access_gnomevfs: Read function take a size_t and not an int.

13 years agoaccess_samba: don't use deprecated functions.
Rémi Duraffort [Fri, 16 Jan 2009 09:30:35 +0000 (10:30 +0100)]
access_samba: don't use deprecated functions.

13 years agoFix several compilation bugs in msw vout
Jean-Marc Dressler [Thu, 15 Jan 2009 15:01:30 +0000 (16:01 +0100)]
Fix several compilation bugs in msw vout

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoFix unused flag variable
Jean-Marc Dressler [Thu, 15 Jan 2009 13:59:34 +0000 (14:59 +0100)]
Fix unused flag variable

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoIncreased RC interface input buffer
Ken Self [Thu, 15 Jan 2009 10:00:51 +0000 (21:00 +1100)]
Increased RC interface input buffer

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
13 years agoQt4: more const
Christophe Mutricy [Wed, 14 Jan 2009 23:31:09 +0000 (23:31 +0000)]
Qt4: more const

13 years agoPartially revert 497a6b5b as it creates infinite loops with avformat.
Laurent Aimar [Wed, 14 Jan 2009 22:30:50 +0000 (23:30 +0100)]
Partially revert 497a6b5b as it creates infinite loops with avformat.

I am not sure that the reverted part was really intented.
Reported by Jonathan Brossard, iViZ Techno Solutions Pvt. Ltd.

13 years agoRemove unused includes
Christophe Mutricy [Wed, 14 Jan 2009 21:22:29 +0000 (21:22 +0000)]
Remove unused includes

13 years agoRemove unused includes
Christophe Mutricy [Wed, 14 Jan 2009 21:17:57 +0000 (21:17 +0000)]
Remove unused includes