vlc.git
9 years agoRemove __ prefix in *New() core functions
Rémi Denis-Courmont [Mon, 11 Jul 2011 15:34:54 +0000 (18:34 +0300)]
Remove __ prefix in *New() core functions

9 years agoRemove object type field
Rémi Denis-Courmont [Mon, 11 Jul 2011 15:32:04 +0000 (18:32 +0300)]
Remove object type field

9 years agoRemove VLC_OBJECT_INPUT type
Rémi Denis-Courmont [Mon, 11 Jul 2011 15:18:10 +0000 (18:18 +0300)]
Remove VLC_OBJECT_INPUT type

9 years agostream: re-use existing input pointer for statistics
Rémi Denis-Courmont [Mon, 11 Jul 2011 15:16:36 +0000 (18:16 +0300)]
stream: re-use existing input pointer for statistics

9 years agoRemove VLC_OBJECT_DECODER type
Rémi Denis-Courmont [Mon, 11 Jul 2011 15:12:16 +0000 (18:12 +0300)]
Remove VLC_OBJECT_DECODER type

9 years agoDo not check vlc_object_alive() on decoders
Rémi Denis-Courmont [Mon, 11 Jul 2011 15:07:11 +0000 (18:07 +0300)]
Do not check vlc_object_alive() on decoders

Decoders are never "killed", so this had no effects.

9 years agoRemove VLC_OBJECT_VOUT
Rémi Denis-Courmont [Mon, 11 Jul 2011 14:56:44 +0000 (17:56 +0300)]
Remove VLC_OBJECT_VOUT

(Same reasons as VLC_OBJECT_AOUT)

9 years agoRemove VLC_OBJECT_AOUT
Rémi Denis-Courmont [Mon, 11 Jul 2011 14:54:02 +0000 (17:54 +0300)]
Remove VLC_OBJECT_AOUT

Audio output is not a descendent of input thread, so there was no real
use for this object type anymore.

9 years agomacosx: make sure that we don't block media keys for iTunes in case the user doesn...
Felix Paul Kühne [Mon, 11 Jul 2011 14:06:27 +0000 (16:06 +0200)]
macosx: make sure that we don't block media keys for iTunes in case the user doesn't want to use them within VLC

Changing this option requires a relaunch now, which is automatically offered when needed.

Fixes #5025

9 years agoMP4: recognize 3gp4 brand in debug
Jean-Baptiste Kempf [Mon, 11 Jul 2011 10:21:19 +0000 (12:21 +0200)]
MP4: recognize 3gp4 brand in debug

3gp4 is not compatible to isom, while 5, 6 and 7 should be
Ref #4979

9 years agoMP4: do not warn about unsupported control query
Jean-Baptiste Kempf [Mon, 11 Jul 2011 10:12:02 +0000 (12:12 +0200)]
MP4: do not warn about unsupported control query

This doesn't help users to report issues...

9 years agoTS demux: mark CSA options as safe
Jean-Baptiste Kempf [Mon, 11 Jul 2011 09:58:02 +0000 (11:58 +0200)]
TS demux: mark CSA options as safe

9 years agoupdate live patch(es)
Rafaël Carré [Mon, 11 Jul 2011 03:09:12 +0000 (23:09 -0400)]
update live patch(es)

9 years agoqt4: only build main_interface_win32.cpp for windows
Rafaël Carré [Mon, 11 Jul 2011 01:34:35 +0000 (21:34 -0400)]
qt4: only build main_interface_win32.cpp for windows

9 years agochroma_yuv_neon: forgotten stuff
Pierre Ynard [Mon, 11 Jul 2011 01:32:00 +0000 (03:32 +0200)]
chroma_yuv_neon: forgotten stuff

9 years agoMark non-file input items as preparsed even if they're not
Rémi Denis-Courmont [Sun, 10 Jul 2011 20:12:20 +0000 (23:12 +0300)]
Mark non-file input items as preparsed even if they're not

Without this, libvlc_media_parse() will deadlock on non-file items.

9 years agomacosx: stability improvements
Felix Paul Kühne [Sun, 10 Jul 2011 18:21:27 +0000 (20:21 +0200)]
macosx: stability improvements

9 years agoauhal: fixed detection of available output stream formats
Felix Paul Kühne [Sun, 10 Jul 2011 18:20:25 +0000 (20:20 +0200)]
auhal: fixed detection of available output stream formats

9 years agolibvlc_audio_output_set: really force the requested output
Rémi Denis-Courmont [Sun, 10 Jul 2011 17:20:35 +0000 (20:20 +0300)]
libvlc_audio_output_set: really force the requested output

9 years agoRemove useless vlc_object parameter when creating an input item
Rémi Denis-Courmont [Sun, 10 Jul 2011 15:23:41 +0000 (18:23 +0300)]
Remove useless vlc_object parameter when creating an input item

9 years agolibvlc_media_parse: thread-safety
Rémi Denis-Courmont [Sun, 10 Jul 2011 16:31:09 +0000 (19:31 +0300)]
libvlc_media_parse: thread-safety

9 years agoavcodec EncodeVideo(): reduce indentation level
Rafaël Carré [Sun, 10 Jul 2011 16:09:57 +0000 (12:09 -0400)]
avcodec EncodeVideo(): reduce indentation level

Also fix indentation (4 spaces)

9 years agolibvlc_media_get_meta: do not free(NULL)
Rémi Denis-Courmont [Sun, 10 Jul 2011 16:09:58 +0000 (19:09 +0300)]
libvlc_media_get_meta: do not free(NULL)

This has no effects, so lets not do it.

9 years agoplaylist preparse and fetch: return error if appropriate
Rémi Denis-Courmont [Sun, 10 Jul 2011 16:09:19 +0000 (19:09 +0300)]
playlist preparse and fetch: return error if appropriate

9 years agoRemove debug-only dependency of vlc_events on vlc_object
Rémi Denis-Courmont [Sun, 10 Jul 2011 15:03:26 +0000 (18:03 +0300)]
Remove debug-only dependency of vlc_events on vlc_object

9 years agoUse vlc_atomic_t for input item ID
Rémi Denis-Courmont [Sun, 10 Jul 2011 14:42:37 +0000 (17:42 +0300)]
Use vlc_atomic_t for input item ID

9 years agoAdd VLC_ATOMIC_INIT, static initializer for vlc_atomic_t
Rémi Denis-Courmont [Sun, 10 Jul 2011 14:39:45 +0000 (17:39 +0300)]
Add VLC_ATOMIC_INIT, static initializer for vlc_atomic_t

9 years agomacosx-framework: expand .gitignore a bit
Felix Paul Kühne [Sun, 10 Jul 2011 14:59:10 +0000 (16:59 +0200)]
macosx-framework: expand .gitignore a bit

9 years agoMacOS GUI: Tie display fade to "Black out" preference
Ron Frederick [Sat, 9 Jul 2011 21:02:05 +0000 (14:02 -0700)]
MacOS GUI: Tie display fade to "Black out" preference

Change the MacOS GUI to trigger the fade of all the displays to black
when entering & leaving full screen mode only if the "Black out other
displays" preference is set.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
9 years agoFlac demux: misc cleanup
Jean-Baptiste Kempf [Sat, 9 Jul 2011 16:23:25 +0000 (18:23 +0200)]
Flac demux: misc cleanup

9 years agoTaglib: header cleanups
Jean-Baptiste Kempf [Sat, 9 Jul 2011 16:09:17 +0000 (18:09 +0200)]
Taglib: header cleanups

9 years agoTaglib: add more debug about cover art
Jean-Baptiste Kempf [Sat, 9 Jul 2011 15:54:22 +0000 (17:54 +0200)]
Taglib: add more debug about cover art

9 years agoFix audio outputs access aout internals directly
Rémi Denis-Courmont [Sat, 9 Jul 2011 10:14:15 +0000 (13:14 +0300)]
Fix audio outputs access aout internals directly

9 years agoFix doxygen for libvlc_audio_output_set
Alexey Sokolov [Sat, 9 Jul 2011 03:54:46 +0000 (10:54 +0700)]
Fix doxygen for libvlc_audio_output_set

Tests show that current docs are wrong.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoMix 16-bits PCM instead of fixed-point if input is 16-bits or less
Rémi Denis-Courmont [Fri, 8 Jul 2011 20:56:07 +0000 (23:56 +0300)]
Mix 16-bits PCM instead of fixed-point if input is 16-bits or less

Audio output should be more efficient on FPU-less devices.
Firstly the mixer should be faster with 16-bits instead of 32.
Secondly FPU-less systems usually output at 16-bits, so one sample
format conversion between the mixer and the output is now avoided.
Thirdly conversion from input format to the mixer format should
similarly be completely avoided or at least accelerated.

9 years agoMerge all audio output locks except volume control
Rémi Denis-Courmont [Fri, 8 Jul 2011 19:59:27 +0000 (22:59 +0300)]
Merge all audio output locks except volume control

With only one input per output, the lock is only useful:
 - to restart the audio instance (needed 3 out of 4 locks anyway),
 - to propagate volume change to the mixer or output plugin,
 - to access the FIFO from the output plugin thread (if applicable).

So 4 fine-grained was over-engineering. Most importantly, the locking
scheme was overly complicated and generally misunderstood/misused. Also
to avoid lock inversion, some unlocking/relocking sequences were
introduced; they broke atomicity.

We could certainly reduce the scope of the remaining lock. Since we
have one only input per output, most of the code is only ever run from
the decoder thread. Thus reentrancy is not anymore needed in some
places. But first aout_Restart() needs to be fixed and simplified.

9 years agoAdd pause callback for audio output (aout_output_t.pf_pause)
Rémi Denis-Courmont [Fri, 8 Jul 2011 17:58:50 +0000 (20:58 +0300)]
Add pause callback for audio output (aout_output_t.pf_pause)

This is required for PulseAudio synchronization and to pause/resume
with low-latency. This should also be useful for other buffered
 audio outputs such as ALSA or CoreAudio.

9 years agoFix infinite mixing loop with dummy audio output
Rémi Denis-Courmont [Fri, 8 Jul 2011 16:22:47 +0000 (19:22 +0300)]
Fix infinite mixing loop with dummy audio output

9 years agolua: Propagate meta_changed events.
Hugo Beauzée-Luyssen [Fri, 8 Jul 2011 13:55:28 +0000 (15:55 +0200)]
lua: Propagate meta_changed events.

Fixes #5026

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoSupport of Lagarith
Jean-Baptiste Kempf [Fri, 8 Jul 2011 05:34:22 +0000 (07:34 +0200)]
Support of Lagarith

9 years agochroma_yuv_neon: packed to planar YUV422
Rémi Denis-Courmont [Thu, 7 Jul 2011 20:12:58 +0000 (23:12 +0300)]
chroma_yuv_neon: packed to planar YUV422

9 years agoForgotten stuff
Rémi Denis-Courmont [Thu, 7 Jul 2011 20:07:14 +0000 (23:07 +0300)]
Forgotten stuff

9 years agochroma_yuv_neon: add planar to packet YUV422 conversions
Rémi Denis-Courmont [Thu, 7 Jul 2011 18:21:34 +0000 (21:21 +0300)]
chroma_yuv_neon: add planar to packet YUV422 conversions

9 years agochroma_yuv_neon: add conversions to YVYU and VYUY (come for free)
Rémi Denis-Courmont [Thu, 7 Jul 2011 17:30:08 +0000 (20:30 +0300)]
chroma_yuv_neon: add conversions to YVYU and VYUY (come for free)

9 years agoClean up NEON chroma converter
Rémi Denis-Courmont [Thu, 7 Jul 2011 17:21:09 +0000 (20:21 +0300)]
Clean up NEON chroma converter

 - do not assume output pitch equals (double) pixel width
 - improve function prototypes
 - hand zero-width or zero-height corner cases in ASM (totally useless)
 - use ARM conditon flag (opS) as appropriate

9 years agoRemove unused vlc_execve()
Rémi Denis-Courmont [Thu, 7 Jul 2011 13:59:13 +0000 (16:59 +0300)]
Remove unused vlc_execve()

9 years agoMove vlc_gettext() with vlc_bindtextdomain()
Rémi Denis-Courmont [Thu, 7 Jul 2011 14:04:51 +0000 (17:04 +0300)]
Move vlc_gettext() with vlc_bindtextdomain()

9 years agoRemove useless copy of LGPLv2.1
Rémi Denis-Courmont [Thu, 7 Jul 2011 13:55:57 +0000 (16:55 +0300)]
Remove useless copy of LGPLv2.1

9 years agoAdd .mtv extension
Jean-Baptiste Kempf [Thu, 7 Jul 2011 14:31:36 +0000 (16:31 +0200)]
Add .mtv extension

9 years agoQt4: add slider to adjust playlist scaling
Ilkka Ollakka [Thu, 7 Jul 2011 13:45:15 +0000 (16:45 +0300)]
Qt4: add slider to adjust playlist scaling

9 years agoQt4: add size-scale into playlist model
Ilkka Ollakka [Thu, 7 Jul 2011 13:45:01 +0000 (16:45 +0300)]
Qt4: add size-scale into playlist model

9 years agolua: qt4: Fixing dropdown update function.
Hugo Beauzée-Luyssen [Thu, 7 Jul 2011 10:26:25 +0000 (12:26 +0200)]
lua: qt4: Fixing dropdown update function.

This closes #5000

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolua: Don't update a widget that was just created.
Hugo Beauzée-Luyssen [Wed, 6 Jul 2011 16:27:30 +0000 (18:27 +0200)]
lua: Don't update a widget that was just created.

Ref: #5000
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolua: Fixing a comment.
Hugo Beauzée-Luyssen [Tue, 5 Jul 2011 12:19:59 +0000 (14:19 +0200)]
lua: Fixing a comment.

Since set_text can be called on a label, it seems to be an editable
label.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agocontrib : update live555
Sébastien Escudier [Thu, 7 Jul 2011 07:09:55 +0000 (09:09 +0200)]
contrib : update live555

9 years agofix [da2c15aed3eed6939eda8fad82056a40367fbfed]
Rafaël Carré [Wed, 6 Jul 2011 04:56:45 +0000 (00:56 -0400)]
fix [da2c15aed3eed6939eda8fad82056a40367fbfed]

9 years agoDo not check file size coherency on multi-parts rar.
Laurent Aimar [Wed, 6 Jul 2011 21:23:46 +0000 (23:23 +0200)]
Do not check file size coherency on multi-parts rar.

Some tools seem to generate multi-parts rar where only the first chunk
contains the actual file size.

9 years agohttplive: check that we actually don't add empty line to segments
Ilkka Ollakka [Wed, 6 Jul 2011 20:25:48 +0000 (23:25 +0300)]
httplive: check that we actually don't add empty line to segments

9 years agoshasum does not know -
Rémi Denis-Courmont [Wed, 6 Jul 2011 17:45:31 +0000 (20:45 +0300)]
shasum does not know -

9 years agocontrib: use Perl shasum if sha512sum is not found
Rémi Denis-Courmont [Wed, 6 Jul 2011 17:00:55 +0000 (20:00 +0300)]
contrib: use Perl shasum if sha512sum is not found

9 years agoQt4: accept close event on main interface (fix #4606)
Rémi Denis-Courmont [Wed, 6 Jul 2011 16:17:14 +0000 (19:17 +0300)]
Qt4: accept close event on main interface (fix #4606)

If the event is ignored, the Qt4-X11 will reject the quit ICCM request.
This annoyingly caused VLC to inhibit logging out.

9 years agocontrib: enable contrib from (VLC) builddir subdirectory
Rémi Denis-Courmont [Wed, 6 Jul 2011 09:33:31 +0000 (12:33 +0300)]
contrib: enable contrib from (VLC) builddir subdirectory

As we need to build contrib before running configure, this remains a
little bit awkward:
 # cd builddir
 # mkdir contrib
 # cd contrib
 # ../../contrib/bootstrap
 # make

Also get rid of "hosts/" in the install prefix. Because I can.

9 years agocontrib: do not create host directories from bootstrap
Rémi Denis-Courmont [Wed, 6 Jul 2011 09:18:06 +0000 (12:18 +0300)]
contrib: do not create host directories from bootstrap

'make clean' removes those, so there is no point in creating them from
bootstrap. $(RECONF) takes care of this better already for aclocal.
Otherwise, install targets should deal with this.

9 years agocontrib: add gnutls
Rémi Denis-Courmont [Wed, 6 Jul 2011 08:55:25 +0000 (11:55 +0300)]
contrib: add gnutls

9 years agocontrib: zvbi needs RECONF
Rémi Denis-Courmont [Wed, 6 Jul 2011 13:26:17 +0000 (16:26 +0300)]
contrib: zvbi needs RECONF

9 years agocontrib: fix curl usage and prefer curl over wget
Rémi Denis-Courmont [Wed, 6 Jul 2011 07:42:11 +0000 (10:42 +0300)]
contrib: fix curl usage and prefer curl over wget

curl fits Makefile dependencies better, and supports FTP through HTTP
proxies.

9 years agocontrib: fix gcrypt->gpg-error dependency
Rémi Denis-Courmont [Wed, 6 Jul 2011 07:36:39 +0000 (10:36 +0300)]
contrib: fix gcrypt->gpg-error dependency

9 years agocontrib: update live555
Rémi Denis-Courmont [Wed, 6 Jul 2011 13:11:32 +0000 (16:11 +0300)]
contrib: update live555

9 years agocontrib: doc fix
Rémi Denis-Courmont [Wed, 6 Jul 2011 07:36:29 +0000 (10:36 +0300)]
contrib: doc fix

9 years agoQt4: fix viewchange if MEDIA_LIBRARY not defined on compile-time
Ilkka Ollakka [Wed, 6 Jul 2011 14:15:13 +0000 (17:15 +0300)]
Qt4: fix viewchange if MEDIA_LIBRARY not defined on compile-time

9 years agoQt4: refactor saving panel view
Ilkka Ollakka [Wed, 6 Jul 2011 13:59:08 +0000 (16:59 +0300)]
Qt4: refactor saving panel view

9 years agoavcodec/chroma: include PIXFMT header
Dominique Leuenberger [Tue, 5 Jul 2011 20:24:42 +0000 (22:24 +0200)]
avcodec/chroma: include PIXFMT header

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoConfigure: add -lm to png
Jean-Baptiste Kempf [Tue, 5 Jul 2011 21:48:17 +0000 (23:48 +0200)]
Configure: add -lm to png

9 years agoAndroid configure: small update
Jean-Baptiste Kempf [Tue, 5 Jul 2011 21:47:42 +0000 (23:47 +0200)]
Android configure: small update

9 years agocontrib: add pthreads-win32
Rémi Denis-Courmont [Tue, 5 Jul 2011 21:01:11 +0000 (00:01 +0300)]
contrib: add pthreads-win32

9 years agocontrib: add zvbi
Rémi Denis-Courmont [Tue, 5 Jul 2011 20:45:10 +0000 (23:45 +0300)]
contrib: add zvbi

9 years agocontrib: add stub pthreads
Rémi Denis-Courmont [Tue, 5 Jul 2011 20:44:56 +0000 (23:44 +0300)]
contrib: add stub pthreads

9 years agocontrib: fix SDL_image dependencies
Rémi Denis-Courmont [Tue, 5 Jul 2011 15:39:50 +0000 (18:39 +0300)]
contrib: fix SDL_image dependencies

9 years agoVLM: use custom reference count instead of object destructor
Rémi Denis-Courmont [Tue, 5 Jul 2011 15:09:04 +0000 (18:09 +0300)]
VLM: use custom reference count instead of object destructor

This should fix a crash whereby VLM is deleted before its child
VOD server object.

9 years agoCheck for NEON at run-time in audio converter
Rémi Denis-Courmont [Tue, 5 Jul 2011 11:00:25 +0000 (14:00 +0300)]
Check for NEON at run-time in audio converter

Also disable the sub-standard FL32 -> FI32 converter.

9 years agoAdd run-time check for NEON in chroma converter
Rémi Denis-Courmont [Tue, 5 Jul 2011 10:59:19 +0000 (13:59 +0300)]
Add run-time check for NEON in chroma converter

9 years agoauhal: updated to the latest API
Felix Paul Kühne [Tue, 5 Jul 2011 13:29:32 +0000 (15:29 +0200)]
auhal: updated to the latest API

the newly used API was introduced in OS X 10.5, while we still tried to use an older one

note that optical audio output is completely untested

9 years agoContribs: add SDL_image
Jean-Baptiste Kempf [Mon, 4 Jul 2011 22:33:03 +0000 (00:33 +0200)]
Contribs: add SDL_image

9 years agoContribs: add SDL
Jean-Baptiste Kempf [Mon, 4 Jul 2011 22:19:52 +0000 (00:19 +0200)]
Contribs: add SDL

9 years agoContrib: add jpeg
Jean-Baptiste Kempf [Mon, 4 Jul 2011 22:05:17 +0000 (00:05 +0200)]
Contrib: add jpeg

9 years agoContribs: add tiff
Jean-Baptiste Kempf [Mon, 4 Jul 2011 21:54:21 +0000 (23:54 +0200)]
Contribs: add tiff

9 years agoContribs: add gpg-error
Jean-Baptiste Kempf [Mon, 4 Jul 2011 21:33:37 +0000 (23:33 +0200)]
Contribs: add gpg-error

9 years agoContribs: add gcrypt
Jean-Baptiste Kempf [Mon, 4 Jul 2011 21:24:39 +0000 (23:24 +0200)]
Contribs: add gcrypt

9 years agoxspf.c: reorder, remove static declarations
Rafaël Carré [Mon, 4 Jul 2011 05:18:05 +0000 (01:18 -0400)]
xspf.c: reorder, remove static declarations

9 years agomake xmllint happy
Rafaël Carré [Mon, 4 Jul 2011 05:01:22 +0000 (01:01 -0400)]
make xmllint happy

9 years agoremove useless xspf.h
Rafaël Carré [Mon, 4 Jul 2011 04:57:59 +0000 (00:57 -0400)]
remove useless xspf.h

9 years agocontrib: add Xau
Rémi Denis-Courmont [Mon, 4 Jul 2011 21:04:32 +0000 (00:04 +0300)]
contrib: add Xau

9 years agocontrib: add sidplay2 and complement string.h patch
Rémi Denis-Courmont [Mon, 4 Jul 2011 20:53:37 +0000 (23:53 +0300)]
contrib: add sidplay2 and complement string.h patch

9 years agocontrib: postfix directories with a slash in cp
Rémi Denis-Courmont [Mon, 4 Jul 2011 20:48:59 +0000 (23:48 +0300)]
contrib: postfix directories with a slash in cp

9 years agocontrib: enable gme
Rémi Denis-Courmont [Mon, 4 Jul 2011 20:35:21 +0000 (23:35 +0300)]
contrib: enable gme

9 years agocontrib: really compile taglib statically
Rémi Denis-Courmont [Mon, 4 Jul 2011 20:29:58 +0000 (23:29 +0300)]
contrib: really compile taglib statically

9 years agocontrib: add gme
Rémi Denis-Courmont [Mon, 4 Jul 2011 20:16:29 +0000 (23:16 +0300)]
contrib: add gme

9 years agocontrib: build and install mpcdec statically on all platforms
Rémi Denis-Courmont [Mon, 4 Jul 2011 20:09:40 +0000 (23:09 +0300)]
contrib: build and install mpcdec statically on all platforms

9 years agolua: Don't crash when reactivating an extension.
Hugo Beauzée-Luyssen [Mon, 4 Jul 2011 15:59:55 +0000 (17:59 +0200)]
lua: Don't crash when reactivating an extension.

Close #5019
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agocontrib: update fluidsynth where possible and auto-detect
Rémi Denis-Courmont [Mon, 4 Jul 2011 19:44:11 +0000 (22:44 +0300)]
contrib: update fluidsynth where possible and auto-detect