vlc.git
8 years agoUpdate the release Howto
Jean-Baptiste Kempf [Thu, 18 Oct 2012 09:56:31 +0000 (11:56 +0200)]
Update the release Howto

8 years agorotate: don't branch inside spinlock
Pierre Ynard [Thu, 18 Oct 2012 02:39:05 +0000 (04:39 +0200)]
rotate: don't branch inside spinlock

8 years agocontrib/ffmpeg: fixed compilation for the iOS simulator
Felix Paul Kühne [Wed, 17 Oct 2012 15:49:45 +0000 (17:49 +0200)]
contrib/ffmpeg: fixed compilation for the iOS simulator

8 years agocontrib/postproc: fixed compilation for the iOS simulator
Felix Paul Kühne [Wed, 17 Oct 2012 15:54:10 +0000 (17:54 +0200)]
contrib/postproc: fixed compilation for the iOS simulator

8 years agoContribs: forcing -O2 on libavcodec is useless on small size
Jean-Baptiste Kempf [Wed, 17 Oct 2012 15:34:11 +0000 (17:34 +0200)]
Contribs: forcing -O2 on libavcodec is useless on small size

It is actually bigger on ARM/Android...

8 years agocontrib/mad: use -O3 instead -O4, since the latter results can end up to be undefined
Felix Paul Kühne [Wed, 12 Sep 2012 23:38:11 +0000 (01:38 +0200)]
contrib/mad: use -O3 instead -O4, since the latter results can end up to be undefined

8 years agoextras/tools: updated the iOS build script
Felix Paul Kühne [Wed, 8 Aug 2012 13:10:24 +0000 (15:10 +0200)]
extras/tools: updated the iOS build script

- Use the iOS 6 SDK by default while retaining 5.1 compatibility

- enable ogg, speex, theora, flac

- limit the number of installed modules to the actually useful ones for this port

- add support for OPUS

8 years agoAAC detection is not strong enough to force the aac demuxer
Jean-Baptiste Kempf [Wed, 17 Oct 2012 13:40:21 +0000 (15:40 +0200)]
AAC detection is not strong enough to force the aac demuxer

8 years agoandroid: fix detached threads leak
Rafaël Carré [Wed, 17 Oct 2012 11:12:50 +0000 (13:12 +0200)]
android: fix detached threads leak

8 years agoAnd yet another translator that cannot read English (fixes #7605)
Rémi Denis-Courmont [Tue, 16 Oct 2012 20:59:38 +0000 (23:59 +0300)]
And yet another translator that cannot read English (fixes #7605)

8 years agoavcodec: probe acceleration module only once
Rémi Denis-Courmont [Tue, 16 Oct 2012 19:41:52 +0000 (22:41 +0300)]
avcodec: probe acceleration module only once

The acceleration plugin now returns the expected pixel format instead
of checking it. That way, the avcodec module can check it directly.

This works as long as each acceleration plugin supports only one pixel
format (otherwise a table would be required).

8 years agoAndroid: remove polling timer in mwait() and msleep()
Rémi Denis-Courmont [Mon, 15 Oct 2012 18:21:32 +0000 (21:21 +0300)]
Android: remove polling timer in mwait() and msleep()

8 years agoshm: fix capture with non page-size frame size (maybe fixes #7579)
Rémi Denis-Courmont [Tue, 16 Oct 2012 15:47:35 +0000 (18:47 +0300)]
shm: fix capture with non page-size frame size (maybe fixes #7579)

8 years agoAndroid: remove contention in vlc_cond_wait()
Rémi Denis-Courmont [Mon, 15 Oct 2012 18:16:04 +0000 (21:16 +0300)]
Android: remove contention in vlc_cond_wait()

8 years agoAndroid: use monotonic clock
Rémi Denis-Courmont [Mon, 15 Oct 2012 17:53:49 +0000 (20:53 +0300)]
Android: use monotonic clock

8 years agomkv: fixed playback of certain files on 32bit Apple platforms
Felix Paul Kühne [Tue, 16 Oct 2012 14:59:22 +0000 (16:59 +0200)]
mkv: fixed playback of certain files on 32bit Apple platforms

8 years agomacosx: fixed compilation for llvm-gcc-4.2
Felix Paul Kühne [Tue, 16 Oct 2012 13:57:06 +0000 (15:57 +0200)]
macosx: fixed compilation for llvm-gcc-4.2

8 years agoi18n: update skipped files
Pierre Ynard [Mon, 15 Oct 2012 19:57:45 +0000 (21:57 +0200)]
i18n: update skipped files

8 years agoi18n: add new files
Pierre Ynard [Mon, 15 Oct 2012 19:43:58 +0000 (21:43 +0200)]
i18n: add new files

... and an old file with new translations

8 years agoi420_yuy2: correct placement of target attributes
Rémi Denis-Courmont [Mon, 15 Oct 2012 15:02:06 +0000 (18:02 +0300)]
i420_yuy2: correct placement of target attributes

8 years agopng: Check length before read
Edward Wang [Sun, 14 Oct 2012 22:58:18 +0000 (18:58 -0400)]
png: Check length before read

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agomediacodec: Check for exceptions after MediaCodec.start()
Martin Storsjö [Sun, 14 Oct 2012 21:46:57 +0000 (00:46 +0300)]
mediacodec: Check for exceptions after MediaCodec.start()

Also log a warning if MediaCodec.configure() threw an exception.

This fixes issues when playing back H264 over RTSP on devices
supporting MediaCodec - this makes it fall back cleanly to other
decoders. (The actual issue with playing back these streams is
not investigated yet.)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoContribs: update libpng to 1.5.13
Jean-Baptiste Kempf [Sun, 14 Oct 2012 21:12:53 +0000 (23:12 +0200)]
Contribs: update libpng to 1.5.13

8 years agoOS/2: enable access_sftp
KO Myung-Hun [Sun, 14 Oct 2012 11:21:16 +0000 (20:21 +0900)]
OS/2: enable access_sftp

Signed-off-by: Rafaël Carré <funman@videolan.org>
8 years agovaapi: fix build
Rafaël Carré [Sun, 14 Oct 2012 17:46:38 +0000 (19:46 +0200)]
vaapi: fix build

link with libavcodec

8 years agomp4 demux: fix crash
Rafaël Carré [Sun, 14 Oct 2012 17:41:42 +0000 (19:41 +0200)]
mp4 demux: fix crash

Don't call with NULL
Remove unused return value

8 years agoavio access: fix build
Rafaël Carré [Sun, 14 Oct 2012 17:30:55 +0000 (19:30 +0200)]
avio access: fix build

8 years agoconfigure: posix test does not understand ==
KO Myung-Hun [Sun, 14 Oct 2012 11:20:09 +0000 (20:20 +0900)]
configure: posix test does not understand ==

Signed-off-by: Rafaël Carré <funman@videolan.org>
8 years agomotion: build fix
Pierre Ynard [Sun, 14 Oct 2012 16:51:11 +0000 (18:51 +0200)]
motion: build fix

8 years agomotion: log which sensor is used
Pierre Ynard [Sun, 14 Oct 2012 16:44:37 +0000 (18:44 +0200)]
motion: log which sensor is used

8 years agohttp: trim trailing space in field content
Rui Zhang [Sat, 13 Oct 2012 18:02:11 +0000 (02:02 +0800)]
http: trim trailing space in field content

Fix incorrect redirection given in "Location: http://host/path "

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agoAdd KDE solid support for Blu-Ray discs
Rémi Denis-Courmont [Sat, 13 Oct 2012 17:47:36 +0000 (20:47 +0300)]
Add KDE solid support for Blu-Ray discs

8 years agoFix KDE solid predicate
Rémi Denis-Courmont [Sat, 13 Oct 2012 17:44:44 +0000 (20:44 +0300)]
Fix KDE solid predicate

This partially reverts commit 99ebae0c04aa2ce0b3085fbba78f4245c713d9c2.
(see http://techbase.kde.org/Development/Tutorials/Solid/Device_Actions)

8 years agodbus: avoid spamming D-Bus with bogus volume/mute changes
Rémi Denis-Courmont [Sat, 13 Oct 2012 17:42:58 +0000 (20:42 +0300)]
dbus: avoid spamming D-Bus with bogus volume/mute changes

8 years agodbus: simplify input event handling and reduce lock scope
Rémi Denis-Courmont [Sat, 13 Oct 2012 17:25:16 +0000 (20:25 +0300)]
dbus: simplify input event handling and reduce lock scope

8 years agoVLC_CPU_*: use hexadecimal
Rémi Denis-Courmont [Sat, 13 Oct 2012 17:22:56 +0000 (20:22 +0300)]
VLC_CPU_*: use hexadecimal

Hexadecimal bitmasks are easier to read.

8 years agoi420_yuy2: clobber MM and XMM registers correctly
Rémi Denis-Courmont [Sat, 13 Oct 2012 13:41:14 +0000 (16:41 +0300)]
i420_yuy2: clobber MM and XMM registers correctly

8 years agosepia: clobber XMM registers correctly
Rémi Denis-Courmont [Sat, 13 Oct 2012 13:21:24 +0000 (16:21 +0300)]
sepia: clobber XMM registers correctly

8 years agoavcodec: avoid duplicate vlc_CPU() call
Rémi Denis-Courmont [Sat, 13 Oct 2012 11:51:48 +0000 (14:51 +0300)]
avcodec: avoid duplicate vlc_CPU() call

8 years agoAndroid: compilation fixes
Rémi Denis-Courmont [Sat, 13 Oct 2012 11:39:32 +0000 (14:39 +0300)]
Android: compilation fixes

8 years agoavcodec: clobber XMM registers correctly (fixes #5268)
Rémi Denis-Courmont [Sat, 13 Oct 2012 11:05:18 +0000 (14:05 +0300)]
avcodec: clobber XMM registers correctly (fixes #5268)

8 years agoavcodec: split generic YV12/NV12 copy out of SSE2 functions
Rémi Denis-Courmont [Sat, 13 Oct 2012 11:00:01 +0000 (14:00 +0300)]
avcodec: split generic YV12/NV12 copy out of SSE2 functions

This is required by the next commit. This also avoids making two copies
on non-x86 platforms, where USWC optimizations are irrelevant.

8 years agoavcodec: fix SSE 4.1 check optimization
Rémi Denis-Courmont [Sat, 13 Oct 2012 10:57:01 +0000 (13:57 +0300)]
avcodec: fix SSE 4.1 check optimization

8 years agovlc_threads.h: gather per-platform support
Rémi Denis-Courmont [Sat, 13 Oct 2012 08:55:51 +0000 (11:55 +0300)]
vlc_threads.h: gather per-platform support

8 years agoinput: Allocate an enough buffer for UTF-8
KO Myung-Hun [Sat, 13 Oct 2012 01:39:27 +0000 (10:39 +0900)]
input: Allocate an enough buffer for UTF-8

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years agoi18n: add hardware decoding files
Pierre Ynard [Fri, 12 Oct 2012 20:42:55 +0000 (22:42 +0200)]
i18n: add hardware decoding files

8 years agoQt4: fix codec prefs layout
Rémi Denis-Courmont [Fri, 12 Oct 2012 20:32:31 +0000 (23:32 +0300)]
Qt4: fix codec prefs layout

8 years agoQt4: update avcodec-hw prefs
Rémi Denis-Courmont [Fri, 12 Oct 2012 20:19:24 +0000 (23:19 +0300)]
Qt4: update avcodec-hw prefs

8 years agodxva2: compilation fix
Rémi Denis-Courmont [Fri, 12 Oct 2012 19:36:49 +0000 (22:36 +0300)]
dxva2: compilation fix

8 years agoAndroid: avoid polling timer in vlc_join()
Rémi Denis-Courmont [Fri, 12 Oct 2012 19:29:41 +0000 (22:29 +0300)]
Android: avoid polling timer in vlc_join()

8 years agoAndroid: do not screw up the signal mask on error
Rémi Denis-Courmont [Fri, 12 Oct 2012 19:22:58 +0000 (22:22 +0300)]
Android: do not screw up the signal mask on error

8 years agoAndroid: remove vlc_thread_t.detached and simplify
Rémi Denis-Courmont [Fri, 12 Oct 2012 19:19:40 +0000 (22:19 +0300)]
Android: remove vlc_thread_t.detached and simplify

8 years agoAndroid: tag memory leak
Rémi Denis-Courmont [Fri, 12 Oct 2012 19:12:09 +0000 (22:12 +0300)]
Android: tag memory leak

8 years agoAndroid: thread->killable does not need to be atomic
Rémi Denis-Courmont [Fri, 12 Oct 2012 19:10:01 +0000 (22:10 +0300)]
Android: thread->killable does not need to be atomic

8 years agoavcodec: move hardware decoding into dedicated plugins (fixes #7220)
Rémi Denis-Courmont [Fri, 12 Oct 2012 17:59:50 +0000 (20:59 +0300)]
avcodec: move hardware decoding into dedicated plugins (fixes #7220)

8 years agoavcodec: make vlc_va_t a VLC object
Rémi Denis-Courmont [Fri, 12 Oct 2012 17:36:53 +0000 (20:36 +0300)]
avcodec: make vlc_va_t a VLC object

8 years agoavcodec: use automake conditionals for hardware acceleration
Rémi Denis-Courmont [Fri, 12 Oct 2012 17:28:28 +0000 (20:28 +0300)]
avcodec: use automake conditionals for hardware acceleration

8 years agoQt4: use config_GetPszChoices() for module items
Rémi Denis-Courmont [Fri, 12 Oct 2012 16:28:50 +0000 (19:28 +0300)]
Qt4: use config_GetPszChoices() for module items

8 years agoconfig_GetPszChoices(): add support for module config items
Rémi Denis-Courmont [Fri, 12 Oct 2012 16:28:24 +0000 (19:28 +0300)]
config_GetPszChoices(): add support for module config items

8 years agoAdd xstrdup()
Rémi Denis-Courmont [Fri, 12 Oct 2012 16:11:48 +0000 (19:11 +0300)]
Add xstrdup()

8 years agomodule_need(): rewrite using module_list_cap()
Rémi Denis-Courmont [Fri, 12 Oct 2012 15:46:12 +0000 (18:46 +0300)]
module_need(): rewrite using module_list_cap()

8 years agomodule_list_cap(): sorts modules for a certain capability
Rémi Denis-Courmont [Fri, 12 Oct 2012 15:39:38 +0000 (18:39 +0300)]
module_list_cap(): sorts modules for a certain capability

8 years agomodule_get_capability(): never return NULL
Rémi Denis-Courmont [Fri, 12 Oct 2012 15:04:58 +0000 (18:04 +0300)]
module_get_capability(): never return NULL

8 years agoRemove old object aliasing code
Rémi Denis-Courmont [Fri, 12 Oct 2012 15:01:05 +0000 (18:01 +0300)]
Remove old object aliasing code

8 years agoDVB: remove dead HTTP code
Rémi Denis-Courmont [Fri, 12 Oct 2012 14:51:55 +0000 (17:51 +0300)]
DVB: remove dead HTTP code

8 years agoDVB scan: re-enable the old plugin
Rémi Denis-Courmont [Fri, 12 Oct 2012 14:42:29 +0000 (17:42 +0300)]
DVB scan: re-enable the old plugin

I do not understand why it was disabled in the first place.

8 years agoDVB scan: fix compilation errors
Rémi Denis-Courmont [Fri, 12 Oct 2012 14:40:59 +0000 (17:40 +0300)]
DVB scan: fix compilation errors

8 years agoDShow: change text
Jean-Baptiste Kempf [Fri, 12 Oct 2012 10:48:28 +0000 (12:48 +0200)]
DShow: change text

8 years agoRevert "dshow: add missing parameter in dialog invocation"
Jean-Baptiste Kempf [Fri, 12 Oct 2012 10:46:27 +0000 (12:46 +0200)]
Revert "dshow: add missing parameter in dialog invocation"

This reverts commit c68332940c36bdbc24b5f1fc5a0633edce88bd52

And removes code from xxcv from core modules

8 years agoQt: Show TimeTooltip window without activating it on OS/2
KO Myung-Hun [Tue, 9 Oct 2012 10:24:41 +0000 (19:24 +0900)]
Qt: Show TimeTooltip window without activating it on OS/2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoQt: Bring a timetooltip on the top on OS/2
KO Myung-Hun [Tue, 9 Oct 2012 13:41:33 +0000 (22:41 +0900)]
Qt: Bring a timetooltip on the top on OS/2

This fixes the problem that a timetooltip does not appear on fullscreen
from the second fullscreen state change.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodemux/mp4: fix some memory leaks
Frédéric Yhuel [Thu, 11 Oct 2012 21:04:53 +0000 (23:04 +0200)]
demux/mp4: fix some memory leaks

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agodemux/mp4: rewrite MP4_BoxGetNextChunk()
Frédéric Yhuel [Thu, 11 Oct 2012 21:04:52 +0000 (23:04 +0200)]
demux/mp4: rewrite MP4_BoxGetNextChunk()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoSmooth Streaming: fix a memory leak
Frédéric Yhuel [Wed, 10 Oct 2012 16:54:59 +0000 (18:54 +0200)]
Smooth Streaming: fix a memory leak

initialization chunks were not freed on Close()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoSmooth Streaming: don't use block_t
Frédéric Yhuel [Wed, 10 Oct 2012 16:54:58 +0000 (18:54 +0200)]
Smooth Streaming: don't use block_t

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoSmooth Streaming: fix some memory leaks
Frédéric Yhuel [Wed, 10 Oct 2012 16:54:57 +0000 (18:54 +0200)]
Smooth Streaming: fix some memory leaks

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years agoContribs: deactivate libavcodec vorbis encoder
Jean-Baptiste Kempf [Fri, 12 Oct 2012 09:17:53 +0000 (11:17 +0200)]
Contribs: deactivate libavcodec vorbis encoder

Its quality is really bad, and we have the native one...

8 years agoQt: fix similar Typo
Jean-Baptiste Kempf [Fri, 12 Oct 2012 09:17:35 +0000 (11:17 +0200)]
Qt: fix similar Typo

8 years agoDshow: fix typo
Jean-Baptiste Kempf [Fri, 12 Oct 2012 09:10:08 +0000 (11:10 +0200)]
Dshow: fix typo

8 years agoQt4: use MTA apartment for COM (fixes #6880)
Rémi Denis-Courmont [Thu, 4 Oct 2012 15:19:22 +0000 (18:19 +0300)]
Qt4: use MTA apartment for COM (fixes #6880)

8 years agoavcodec: unify interface for video acceleration
Rémi Denis-Courmont [Wed, 10 Oct 2012 16:29:15 +0000 (19:29 +0300)]
avcodec: unify interface for video acceleration

8 years agoavcodec: reduce indentation, fix spelling
Rémi Denis-Courmont [Wed, 10 Oct 2012 15:02:47 +0000 (18:02 +0300)]
avcodec: reduce indentation, fix spelling

8 years agoavcodec: remove dead code
Rémi Denis-Courmont [Wed, 10 Oct 2012 15:41:34 +0000 (18:41 +0300)]
avcodec: remove dead code

8 years agoavcodec: useless #include
Rémi Denis-Courmont [Wed, 10 Oct 2012 14:43:29 +0000 (17:43 +0300)]
avcodec: useless #include

8 years agoavcodec: move xlib check to vaapi.c
Rémi Denis-Courmont [Wed, 10 Oct 2012 14:54:12 +0000 (17:54 +0300)]
avcodec: move xlib check to vaapi.c

vlc_xlib_init() already checks for --no-xlib internally.

8 years agoavcodec: use av_get_pix_fmt_name(), fix potential out-of-band read
Rémi Denis-Courmont [Wed, 10 Oct 2012 15:17:03 +0000 (18:17 +0300)]
avcodec: use av_get_pix_fmt_name(), fix potential out-of-band read

Our custom codec names table lacked boundary checks and was incomplete.

8 years agoavcodec: fix spelling
Rémi Denis-Courmont [Thu, 11 Oct 2012 16:41:53 +0000 (19:41 +0300)]
avcodec: fix spelling

8 years agoavcodec: fix unaligned USWC copy (fixes #6333)
Rémi Denis-Courmont [Thu, 11 Oct 2012 16:42:03 +0000 (19:42 +0300)]
avcodec: fix unaligned USWC copy (fixes #6333)

8 years agoWin32: match resource character encoding (fixes #7567)
Rémi Denis-Courmont [Tue, 9 Oct 2012 16:00:46 +0000 (19:00 +0300)]
Win32: match resource character encoding (fixes #7567)

8 years agorotate: simplify angle stuff
Pierre Ynard [Fri, 12 Oct 2012 00:13:56 +0000 (02:13 +0200)]
rotate: simplify angle stuff

8 years agomotion: fail if no sensor is available
Pierre Ynard [Thu, 11 Oct 2012 23:48:41 +0000 (01:48 +0200)]
motion: fail if no sensor is available

Also proper fallback

8 years agomotion: destroy transform-type variable when unused
Pierre Ynard [Thu, 11 Oct 2012 23:13:10 +0000 (01:13 +0200)]
motion: destroy transform-type variable when unused

This still sucks badly though

8 years agomotion: destroy motion data properly
Pierre Ynard [Thu, 11 Oct 2012 22:55:49 +0000 (00:55 +0200)]
motion: destroy motion data properly

8 years agomotion: simplify
Pierre Ynard [Thu, 11 Oct 2012 22:50:26 +0000 (00:50 +0200)]
motion: simplify

8 years agomotion: don't override permanent configuration
Pierre Ynard [Thu, 11 Oct 2012 20:26:03 +0000 (22:26 +0200)]
motion: don't override permanent configuration

Use a variable on the vout object instead to control the transform filter

8 years agoCC: remove unused sys_t member
Rafaël Carré [Thu, 11 Oct 2012 12:05:31 +0000 (14:05 +0200)]
CC: remove unused sys_t member
8 years agoCC: simplify Eia608TextUtf8()
Rafaël Carré [Thu, 11 Oct 2012 11:56:20 +0000 (13:56 +0200)]
CC: simplify Eia608TextUtf8()
8 years agoCC: use c99, removed dummy Eia608Exit
Rafaël Carré [Thu, 11 Oct 2012 11:52:14 +0000 (13:52 +0200)]
CC: use c99, removed dummy Eia608Exit
8 years agoContribs: more cleanups for libav/FFmpeg
Jean-Baptiste Kempf [Wed, 10 Oct 2012 15:21:26 +0000 (17:21 +0200)]
Contribs: more cleanups for libav/FFmpeg

8 years agoContribs: simplify libav/FFmpeg rules as suggested by DonDiego
Jean-Baptiste Kempf [Wed, 10 Oct 2012 14:25:13 +0000 (16:25 +0200)]
Contribs: simplify libav/FFmpeg rules as suggested by DonDiego