vlc.git
7 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()

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

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

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

7 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

7 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

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

7 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

7 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

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

7 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>
7 years agovaapi: fix build
Rafaël Carré [Sun, 14 Oct 2012 17:46:38 +0000 (19:46 +0200)]
vaapi: fix build

link with libavcodec

7 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

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

7 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>
7 years agomotion: build fix
Pierre Ynard [Sun, 14 Oct 2012 16:51:11 +0000 (18:51 +0200)]
motion: build fix

7 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

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

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

7 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

7 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

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

7 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

7 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

7 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

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

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

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

7 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

7 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

7 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>
7 years agoi18n: add hardware decoding files
Pierre Ynard [Fri, 12 Oct 2012 20:42:55 +0000 (22:42 +0200)]
i18n: add hardware decoding files

7 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

7 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

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

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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

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

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

7 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

7 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

7 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

7 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

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

7 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

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

7 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

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

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

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

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

7 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

7 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

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

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

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

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

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

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

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

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

7 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

7 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

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

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

7 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

7 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
7 years agoCC: simplify Eia608TextUtf8()
Rafaël Carré [Thu, 11 Oct 2012 11:56:20 +0000 (13:56 +0200)]
CC: simplify Eia608TextUtf8()
7 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
7 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

7 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

7 years agomacosx: don't initiate a modal dialog during a modal session (close #7575)
Felix Paul Kühne [Wed, 10 Oct 2012 10:58:44 +0000 (12:58 +0200)]
macosx: don't initiate a modal dialog during a modal session (close #7575)

7 years agoSubsdec: various fixes for broken subtitles
Jean-Baptiste Kempf [Wed, 10 Oct 2012 09:27:55 +0000 (11:27 +0200)]
Subsdec: various fixes for broken subtitles

Close #7553

7 years agoyoutube.lua: support live streams
Pierre Ynard [Tue, 9 Oct 2012 23:20:48 +0000 (01:20 +0200)]
youtube.lua: support live streams

This could use a bit more testing than a single video

7 years agoavformat demux: AVFormatContext->nb_streams == 0 is valid
Rafaël Carré [Tue, 9 Oct 2012 21:40:55 +0000 (23:40 +0200)]
avformat demux: AVFormatContext->nb_streams == 0 is valid

Set the options correctly in this case.
This happens with some .ts files for example.

7 years agomacosx: show the localized, intended to be user-facing encoding names instead of...
Felix Paul Kühne [Tue, 9 Oct 2012 16:37:16 +0000 (18:37 +0200)]
macosx: show the localized, intended to be user-facing encoding names instead of the variable values to the user.

This way, s/he is never presented an empty menu item for the default value.

This also closes #7539 by preventing stringWithUTF8String calls with empty strings.

7 years agoFix compilation on older versions of libavutil
Jean-Baptiste Kempf [Tue, 9 Oct 2012 15:21:21 +0000 (17:21 +0200)]
Fix compilation on older versions of libavutil

7 years agoAvformat: set the dsp mask too
Jean-Baptiste Kempf [Tue, 9 Oct 2012 14:33:36 +0000 (16:33 +0200)]
Avformat: set the dsp mask too

7 years agoAv* move GetVlcDspMask from avcodec.h to avcommon.h
Jean-Baptiste Kempf [Tue, 9 Oct 2012 14:25:31 +0000 (16:25 +0200)]
Av* move GetVlcDspMask from avcodec.h to avcommon.h

7 years agoandroid: threads support
Rafaël Carré [Sun, 7 Oct 2012 13:49:53 +0000 (15:49 +0200)]
android: threads support

7 years agoAvcodec: set the Dsp flags for the encoders too
Jean-Baptiste Kempf [Tue, 9 Oct 2012 13:19:33 +0000 (15:19 +0200)]
Avcodec: set the Dsp flags for the encoders too

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years agoKill a deprecation warning
Jean-Baptiste Kempf [Tue, 9 Oct 2012 13:15:10 +0000 (15:15 +0200)]
Kill a deprecation warning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>