vlc.git
12 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.

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

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

12 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

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

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

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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

12 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>
12 years agoQt: Kill more warnings.
Jean-Baptiste Kempf [Wed, 14 Jan 2009 17:20:16 +0000 (18:20 +0100)]
Qt: Kill more warnings.

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

12 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?)

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

12 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

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

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

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

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

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

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

12 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>
12 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>
12 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>
12 years agoQt4: more const
Christophe Mutricy [Wed, 14 Jan 2009 23:31:09 +0000 (23:31 +0000)]
Qt4: more const

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

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

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

12 years agosccanf supports %p, use it instead of hacky %ju
Rémi Denis-Courmont [Wed, 14 Jan 2009 20:53:30 +0000 (22:53 +0200)]
sccanf supports %p, use it instead of hacky %ju

12 years agosnapshot: release the input ASAP
Rémi Denis-Courmont [Wed, 14 Jan 2009 20:31:00 +0000 (22:31 +0200)]
snapshot: release the input ASAP

12 years agohttpd: use a condition variable instead of msleep, and fix a small race
Rémi Denis-Courmont [Wed, 14 Jan 2009 20:07:31 +0000 (22:07 +0200)]
httpd: use a condition variable instead of msleep, and fix a small race

host->i_url was read without protection. We also now use the reference
count as the "death" variable, rather than vlc_object_alive() which
simplifies locking.

12 years agohttpd: fix error handling path
Rémi Denis-Courmont [Wed, 14 Jan 2009 19:58:51 +0000 (21:58 +0200)]
httpd: fix error handling path

12 years agoupnp_intel: fix potential memleak.
Rémi Duraffort [Wed, 14 Jan 2009 18:57:46 +0000 (19:57 +0100)]
upnp_intel: fix potential memleak.

12 years agoRemove vlc_thread_create
Rémi Denis-Courmont [Wed, 14 Jan 2009 19:21:49 +0000 (21:21 +0200)]
Remove vlc_thread_create

By the way, its earlier (<= 0.8.6) incarnation were buggy.

12 years agoWin32: get rid of vlc_thread_ready()
Rémi Denis-Courmont [Wed, 14 Jan 2009 19:19:54 +0000 (21:19 +0200)]
Win32: get rid of vlc_thread_ready()

By the way, the Win32 video outputs could probably go through some code
factorization. Don't ask me.

12 years agoRemove unmatched vlc_thread_ready (vlc_create_thread not waiting)
Rémi Denis-Courmont [Wed, 14 Jan 2009 17:41:33 +0000 (19:41 +0200)]
Remove unmatched vlc_thread_ready (vlc_create_thread not waiting)

12 years agoQt4: fix transcode/stream character encoding - fixes #2411
Rémi Denis-Courmont [Wed, 14 Jan 2009 17:18:00 +0000 (19:18 +0200)]
Qt4: fix transcode/stream character encoding - fixes #2411

12 years agoQt4: get rid of qta in favor of qtu
Rémi Denis-Courmont [Wed, 14 Jan 2009 16:52:39 +0000 (18:52 +0200)]
Qt4: get rid of qta in favor of qtu

12 years agoQt4: memory leak
Rémi Denis-Courmont [Wed, 14 Jan 2009 16:51:51 +0000 (18:51 +0200)]
Qt4: memory leak

12 years agoQt4: use constData and provide expansion safety for qtu() and qta()
Rémi Denis-Courmont [Wed, 14 Jan 2009 16:36:59 +0000 (18:36 +0200)]
Qt4: use constData and provide expansion safety for qtu() and qta()

12 years agoQt4: missing const
Rémi Denis-Courmont [Wed, 14 Jan 2009 16:36:23 +0000 (18:36 +0200)]
Qt4: missing const

12 years agoaccess_ftp: uneeded var_get.
Rémi Duraffort [Wed, 14 Jan 2009 10:48:05 +0000 (11:48 +0100)]
access_ftp: uneeded var_get.

12 years agoaccess_file: unneeded test.
Rémi Duraffort [Wed, 14 Jan 2009 10:13:47 +0000 (11:13 +0100)]
access_file: unneeded test.

12 years agocontribs: updated automake to version 1.10.2 (required by libgcrypt) and autoconf...
Felix Paul Kühne [Tue, 13 Jan 2009 22:26:31 +0000 (23:26 +0100)]
contribs: updated automake to version 1.10.2 (required by libgcrypt) and autoconf to 2.63

12 years agodecomp: add assertion against #2409
Rémi Denis-Courmont [Tue, 13 Jan 2009 20:38:16 +0000 (22:38 +0200)]
decomp: add assertion against #2409

12 years agodecomp: handle NULL reads (skipping data) properly - fixes #2409
Rémi Denis-Courmont [Tue, 13 Jan 2009 20:56:48 +0000 (22:56 +0200)]
decomp: handle NULL reads (skipping data) properly - fixes #2409

12 years agodecomp: fallback to write() if Linux vmsplice returns ENOSYS
Rémi Denis-Courmont [Tue, 13 Jan 2009 20:36:21 +0000 (22:36 +0200)]
decomp: fallback to write() if Linux vmsplice returns ENOSYS

(Since we are always dealing with a pipe, it cannot return EINVAL)

12 years agodecomp: fix reading after peeking
Rémi Denis-Courmont [Tue, 13 Jan 2009 20:56:04 +0000 (22:56 +0200)]
decomp: fix reading after peeking

12 years agoAdd subscreen/follow mouse options in open dialog.
FUJISAWA Tooru [Tue, 13 Jan 2009 16:57:03 +0000 (01:57 +0900)]
Add subscreen/follow mouse options in open dialog.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
12 years agoFix sizeof misuse and variable uninitialization
Pierre Ynard [Tue, 13 Jan 2009 14:14:22 +0000 (15:14 +0100)]
Fix sizeof misuse and variable uninitialization

Unbreaks start-up on WinCE.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoDo not issue input times event when buffering.
Laurent Aimar [Mon, 12 Jan 2009 21:58:33 +0000 (22:58 +0100)]
Do not issue input times event when buffering.

12 years agoOptimized a bit bs_skip.
Laurent Aimar [Mon, 12 Jan 2009 21:06:43 +0000 (22:06 +0100)]
Optimized a bit bs_skip.

12 years agoMissing ENABLE_SOUT checks.
Laurent Aimar [Mon, 12 Jan 2009 21:03:24 +0000 (22:03 +0100)]
Missing ENABLE_SOUT checks.

Pointed out by linkfanel.

12 years agoInteraction: use dedicated condition variable
Rémi Denis-Courmont [Mon, 12 Jan 2009 21:09:50 +0000 (23:09 +0200)]
Interaction: use dedicated condition variable

12 years agoaccess_ftp: cleanup.
Rémi Duraffort [Mon, 12 Jan 2009 18:17:05 +0000 (19:17 +0100)]
access_ftp: cleanup.

12 years agoHide interaction object layout
Rémi Denis-Courmont [Mon, 12 Jan 2009 20:42:30 +0000 (22:42 +0200)]
Hide interaction object layout

12 years agoRemove useless console type and pointer
Rémi Denis-Courmont [Mon, 12 Jan 2009 20:42:12 +0000 (22:42 +0200)]
Remove useless console type and pointer

12 years agoDeclare M4 macro directory
Rémi Denis-Courmont [Mon, 12 Jan 2009 20:21:22 +0000 (22:21 +0200)]
Declare M4 macro directory

12 years agoinput: remove duplicate end/error events
Rémi Denis-Courmont [Mon, 12 Jan 2009 19:36:50 +0000 (21:36 +0200)]
input: remove duplicate end/error events

12 years agoinput: end immediately, do not wait for kill event
Rémi Denis-Courmont [Mon, 12 Jan 2009 19:27:17 +0000 (21:27 +0200)]
input: end immediately, do not wait for kill event

Once the input main loop is done (or if input init fails), input
controls are not popped anyway. So the input callbacks are no-ops.
There is no point in postponing cleanup.

12 years agoinput: small code factorization
Rémi Denis-Courmont [Mon, 12 Jan 2009 19:20:37 +0000 (21:20 +0200)]
input: small code factorization

12 years agoQt4: tell how much has been buffered when buffering (percents)
Ilkka Ollakka [Mon, 12 Jan 2009 18:57:19 +0000 (20:57 +0200)]
Qt4: tell how much has been buffered when buffering (percents)

12 years agovout: trivial code factorization
Rémi Denis-Courmont [Mon, 12 Jan 2009 18:33:24 +0000 (20:33 +0200)]
vout: trivial code factorization

12 years agovout: stop using the object lock, we have the change_lock already
Rémi Denis-Courmont [Mon, 12 Jan 2009 18:31:17 +0000 (20:31 +0200)]
vout: stop using the object lock, we have the change_lock already

12 years agoUseless vlc_object_wait() usage
Rémi Denis-Courmont [Mon, 12 Jan 2009 18:06:03 +0000 (20:06 +0200)]
Useless vlc_object_wait() usage

12 years agoLUA intf: fix lock_and_wait, and stop using vlc_object_wait()
Rémi Denis-Courmont [Mon, 12 Jan 2009 17:52:01 +0000 (19:52 +0200)]
LUA intf: fix lock_and_wait, and stop using vlc_object_wait()

The only event that lock_and_wait can only wait for the end of the
interface event (safely). That is the only piece of state which is read
under the lock.

Also it is not possible to wait on a random object since (deprecated)
vlc_object_signal() is _not_ broadcasting the object condition variable.
In effect, VLC threads shall only wait on their own object (this is not
LUA-specific).

Ultimately, lock_and_wait is of barely any use, and in any case is now
poorly named (my fault for inventing vlc_object_lock_and_wait()). By the
way, it always returns true now.

12 years agoUnused variable
Rémi Denis-Courmont [Mon, 12 Jan 2009 17:51:33 +0000 (19:51 +0200)]
Unused variable

12 years agoUnused variable
Rémi Denis-Courmont [Mon, 12 Jan 2009 17:51:23 +0000 (19:51 +0200)]
Unused variable

12 years agoQt4_message: when the cursor it at the end, scroll down automatically.
Rémi Duraffort [Mon, 12 Jan 2009 16:14:55 +0000 (17:14 +0100)]
Qt4_message: when the cursor it at the end, scroll down automatically.

12 years agomacosx: fixed broken screen fps selection pointed by FUJISAWA Tooru
Felix Paul Kühne [Mon, 12 Jan 2009 16:09:26 +0000 (17:09 +0100)]
macosx: fixed broken screen fps selection pointed by FUJISAWA Tooru

12 years agoRestore download cover art context menu that was taken away by my previous
Ilkka Ollakka [Mon, 12 Jan 2009 15:44:07 +0000 (17:44 +0200)]
Restore download cover art context menu that was taken away by my previous
commit. Thou I think it should invalidate current album art, so core would do
new search for it.

12 years agoQt4: refactor album art stuff into inputmanager
Ilkka Ollakka [Mon, 12 Jan 2009 13:24:20 +0000 (15:24 +0200)]
Qt4: refactor album art stuff into inputmanager

 Input manager now emits signal for album art and gives
 url to art itself, so CoverArt or Background-widgets don't
 need to parse it themself, and CoverArt don't need to use
 those callbacks. This ways both get same image too.

12 years agoQt4: need an input to update caching - fixes #2405
Rémi Denis-Courmont [Sun, 11 Jan 2009 19:34:55 +0000 (21:34 +0200)]
Qt4: need an input to update caching - fixes #2405

12 years agol10n: Japanese update
Tadashi Jokagi [Sun, 11 Jan 2009 18:26:04 +0000 (18:26 +0000)]
l10n: Japanese update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
12 years agoSAP: raw UDP has no RTCP
Rémi Denis-Courmont [Sun, 11 Jan 2009 18:36:34 +0000 (20:36 +0200)]
SAP: raw UDP has no RTCP

12 years agoRemove obsolete --sap-timeshift option
Rémi Denis-Courmont [Sun, 11 Jan 2009 18:09:48 +0000 (20:09 +0200)]
Remove obsolete --sap-timeshift option

12 years agoSAP: parse RTCP port out of the SDP
Rémi Denis-Courmont [Sun, 11 Jan 2009 18:03:58 +0000 (20:03 +0200)]
SAP: parse RTCP port out of the SDP

12 years agoRTP: allow odd RTP ports for TCP & DCCP
Rémi Denis-Courmont [Sun, 11 Jan 2009 18:03:18 +0000 (20:03 +0200)]
RTP: allow odd RTP ports for TCP & DCCP

At the moment, we assume RTP/RTCP multiplexing anyhow.

12 years agoRTP: implement separate option for RTCP receive port
Rémi Denis-Courmont [Sun, 11 Jan 2009 18:02:55 +0000 (20:02 +0200)]
RTP: implement separate option for RTCP receive port

12 years agoRemove some semi-colons
Rémi Denis-Courmont [Sun, 11 Jan 2009 17:53:49 +0000 (19:53 +0200)]
Remove some semi-colons

12 years agocontribs: win32 cross-compilation fixes
Felix Paul Kühne [Sun, 11 Jan 2009 17:06:56 +0000 (18:06 +0100)]
contribs: win32 cross-compilation fixes

12 years agoCleanup interaction-capable interface registration
Rémi Denis-Courmont [Sun, 11 Jan 2009 17:05:00 +0000 (19:05 +0200)]
Cleanup interaction-capable interface registration

 * Make registration thread-safe, and independent on vlc_list_find().
 * Fix use-after-free race condition when destroying the interface
   (interaction will be lost instead).

12 years agoAdd subscreen/follow mouse support to Mac OS X screen module.
FUJISAWA Tooru [Sat, 10 Jan 2009 22:05:15 +0000 (07:05 +0900)]
Add subscreen/follow mouse support to Mac OS X screen module.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
12 years agomodify to tell about --disable-libgcrypt
Ilkka Ollakka [Fri, 9 Jan 2009 10:54:03 +0000 (12:54 +0200)]
modify to tell about --disable-libgcrypt

12 years agodvdnav: also probe file:// (fixes #2131)
Rémi Denis-Courmont [Sun, 11 Jan 2009 14:40:38 +0000 (16:40 +0200)]
dvdnav: also probe file:// (fixes #2131)

12 years agodvdnav: trivially avoid duplicate file path lookup
Rémi Denis-Courmont [Sun, 11 Jan 2009 14:40:13 +0000 (16:40 +0200)]
dvdnav: trivially avoid duplicate file path lookup

12 years agodvdnav: cosmetic simplification
Rémi Denis-Courmont [Sun, 11 Jan 2009 14:37:58 +0000 (16:37 +0200)]
dvdnav: cosmetic simplification

12 years agoRemove un-needed libs
Rémi Denis-Courmont [Sun, 11 Jan 2009 10:14:44 +0000 (12:14 +0200)]
Remove un-needed libs