vlc.git
6 years agoAdd a new playlist module whose job is to output pf_readdir modules items to the...
Julien 'Lta' BALLET [Sat, 21 Jun 2014 13:55:12 +0000 (15:55 +0200)]
Add a new playlist module whose job is to output pf_readdir modules items to the playlist

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAdd a default implementation for pf_readdir for StreamFilter. Use it in stream_filter...
Julien 'Lta' BALLET [Sat, 21 Jun 2014 13:55:11 +0000 (15:55 +0200)]
Add a default implementation for pf_readdir for StreamFilter. Use it in stream_filter/record.c

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAdd support for pf_readdir access modules in Streams
Julien 'Lta' BALLET [Sat, 21 Jun 2014 13:55:10 +0000 (15:55 +0200)]
Add support for pf_readdir access modules in Streams

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAdd a pf_readdir callback to access_t modules
Julien 'Lta' BALLET [Mon, 23 Jun 2014 15:07:08 +0000 (11:07 -0400)]
Add a pf_readdir callback to access_t modules

This commit also adds a related documentation file (doc/browsing.txt) describing
the expected behavior of pf_readdir callback implementations

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agozlib: enable PIC on Solaris
Sean McGovern [Tue, 24 Jun 2014 01:08:16 +0000 (21:08 -0400)]
zlib: enable PIC on Solaris

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agopostproc: enable PIC on Solaris
Sean McGovern [Tue, 24 Jun 2014 01:08:15 +0000 (21:08 -0400)]
postproc: enable PIC on Solaris

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoffmpeg: enable PIC on Solaris
Sean McGovern [Tue, 24 Jun 2014 01:08:14 +0000 (21:08 -0400)]
ffmpeg: enable PIC on Solaris

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoandroid surface: check error when locking the video playback surface
Felix Abecassis [Mon, 23 Jun 2014 17:21:41 +0000 (19:21 +0200)]
android surface: check error when locking the video playback surface

6 years agoandroid opaque: check error when locking the subtitles surface
Felix Abecassis [Mon, 23 Jun 2014 17:18:50 +0000 (19:18 +0200)]
android opaque: check error when locking the subtitles surface

6 years agomessages: save one byte
Rémi Denis-Courmont [Mon, 23 Jun 2014 15:26:04 +0000 (18:26 +0300)]
messages: save one byte

6 years agomacosx: fix resume playback for file urls containing whitespaces
David Fuhrmann [Sun, 22 Jun 2014 20:00:54 +0000 (22:00 +0200)]
macosx: fix resume playback for file urls containing whitespaces

6 years agomacosx: set a proper main window frame on termination
David Fuhrmann [Sun, 22 Jun 2014 11:33:35 +0000 (13:33 +0200)]
macosx: set a proper main window frame on termination

The frame is used which was set before video playback has been started.
These are the values the user will expect when restarting VLC.

close #11373

6 years agomacosx: remove unneeded libvlc_Quit and add some comments for termination
David Fuhrmann [Sun, 22 Jun 2014 11:15:51 +0000 (13:15 +0200)]
macosx: remove unneeded libvlc_Quit and add some comments for termination

6 years agomacosx: remove unneeded performSelectorOnMainThread
David Fuhrmann [Sun, 22 Jun 2014 11:10:34 +0000 (13:10 +0200)]
macosx: remove unneeded performSelectorOnMainThread

setActiveVideoPlayback is always called on the main thread nowadays..

6 years agosap: remove bogus error return
Rémi Denis-Courmont [Fri, 20 Jun 2014 17:00:56 +0000 (20:00 +0300)]
sap: remove bogus error return

6 years agosap: remove the sap handler object
Rémi Denis-Courmont [Fri, 20 Jun 2014 16:59:37 +0000 (19:59 +0300)]
sap: remove the sap handler object

6 years agosap: merge global and per-instance locks
Rémi Denis-Courmont [Fri, 20 Jun 2014 16:52:03 +0000 (19:52 +0300)]
sap: merge global and per-instance locks

6 years agosap: remove session_descriptor_t and rename sap_session_t
Rémi Denis-Courmont [Fri, 20 Jun 2014 16:34:45 +0000 (19:34 +0300)]
sap: remove session_descriptor_t and rename sap_session_t

6 years agosap: remove useless destination socket address
Rémi Denis-Courmont [Fri, 20 Jun 2014 16:13:18 +0000 (19:13 +0300)]
sap: remove useless destination socket address

6 years agosap: remove useless source socket address
Rémi Denis-Courmont [Fri, 20 Jun 2014 15:57:09 +0000 (18:57 +0300)]
sap: remove useless source socket address

6 years agosap: remove useless string
Rémi Denis-Courmont [Fri, 20 Jun 2014 15:52:44 +0000 (18:52 +0300)]
sap: remove useless string

6 years agosout: merge SAP and announce code in a single file
Rémi Denis-Courmont [Fri, 20 Jun 2014 15:33:30 +0000 (18:33 +0300)]
sout: merge SAP and announce code in a single file

6 years agoavcodec: map HNM4
Daniel Verkamp [Fri, 20 Jun 2014 06:25:25 +0000 (23:25 -0700)]
avcodec: map HNM4

Sample:
http://samples.mplayerhq.hu/game-formats/hnm/losteden-hnm4/BROCIME.HNM

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Chronomaster DFA
Daniel Verkamp [Fri, 20 Jun 2014 06:25:24 +0000 (23:25 -0700)]
avcodec: map Chronomaster DFA

Sample:
http://fate-suite.libav.org/chronomaster-dfa/0000.dfa

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Bitmap Brothers JV
Daniel Verkamp [Fri, 20 Jun 2014 06:25:23 +0000 (23:25 -0700)]
avcodec: map Bitmap Brothers JV

Sample:
http://samples.ffmpeg.org/game-formats/jv/E_INTRO.JV

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map YOP video and ADPCM IMA APC
Daniel Verkamp [Fri, 20 Jun 2014 06:25:22 +0000 (23:25 -0700)]
avcodec: map YOP video and ADPCM IMA APC

Sample:
http://fate-suite.libav.org/yop/test1.yop

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map DeluxePaint animation
Daniel Verkamp [Fri, 20 Jun 2014 06:25:21 +0000 (23:25 -0700)]
avcodec: map DeluxePaint animation

Sample:
http://fate-suite.libav.org/deluxepaint-anm/INTRO1.ANM

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map PCM_S16LE_PLANAR
Daniel Verkamp [Fri, 20 Jun 2014 06:25:20 +0000 (23:25 -0700)]
avcodec: map PCM_S16LE_PLANAR

Sample:
http://fate-suite.libav.org/ea-mad/xeasport.mad

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map EA MAD and EA ADPCM R1
Daniel Verkamp [Fri, 20 Jun 2014 06:25:19 +0000 (23:25 -0700)]
avcodec: map EA MAD and EA ADPCM R1

Sample:
http://fate-suite.libav.org/ea-mad/NFS6LogoE.mad

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map EA TGQ
Daniel Verkamp [Fri, 20 Jun 2014 06:25:18 +0000 (23:25 -0700)]
avcodec: map EA TGQ

Sample:
http://fate-suite.libav.org/ea-tgq/v27.tgq

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map EA TGV and SEAD
Daniel Verkamp [Fri, 20 Jun 2014 06:25:17 +0000 (23:25 -0700)]
avcodec: map EA TGV and SEAD

Sample:
http://fate-suite.libav.org/ea-tgv/INTEL_S.TGV

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Motion Pixels
Daniel Verkamp [Fri, 20 Jun 2014 06:25:16 +0000 (23:25 -0700)]
avcodec: map Motion Pixels

Sample:
http://fate-suite.libav.org/motion-pixels/INTRO-partial.MVI

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Electronic Arts CMV
Daniel Verkamp [Fri, 20 Jun 2014 06:25:15 +0000 (23:25 -0700)]
avcodec: map Electronic Arts CMV

Sample:
http://fate-suite.libav.org/ea-cmv/TITLE.CMVhttp://fate-suite.libav.org/ea-cmv/TITLE.CMV

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map BFI video
Daniel Verkamp [Fri, 20 Jun 2014 06:25:14 +0000 (23:25 -0700)]
avcodec: map BFI video

Sample:
http://fate-suite.libav.org/bfi/2287.bfi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map RL2 video
Daniel Verkamp [Fri, 20 Jun 2014 06:25:13 +0000 (23:25 -0700)]
avcodec: map RL2 video

Sample:
http://samples.mplayerhq.hu/game-formats/voyeur-rl2/A1100100.RL2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Beam Software VB
Daniel Verkamp [Fri, 20 Jun 2014 06:25:12 +0000 (23:25 -0700)]
avcodec: map Beam Software VB

Sample:
http://fate-suite.libav.org/SIFF/INTRO_B.VB

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Bethesda VID
Daniel Verkamp [Fri, 20 Jun 2014 06:25:11 +0000 (23:25 -0700)]
avcodec: map Bethesda VID

Sample:
http://fate-suite.libav.org/bethsoft-vid/ANIM0001.VID

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Interplay C93
Daniel Verkamp [Fri, 20 Jun 2014 06:25:10 +0000 (23:25 -0700)]
avcodec: map Interplay C93

Sample:
http://fate-suite.libav.org/cyberia-c93/intro1.c93

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Feeble Files/ScummVM DXA
Daniel Verkamp [Fri, 20 Jun 2014 06:25:09 +0000 (23:25 -0700)]
avcodec: map Feeble Files/ScummVM DXA

Sample:
http://fate-suite.libav.org/dxa/meetsquid.dxa

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Tiertex SEQ video
Daniel Verkamp [Fri, 20 Jun 2014 06:25:08 +0000 (23:25 -0700)]
avcodec: map Tiertex SEQ video

Sample:
http://fate-suite.libav.org/tiertex-seq/Gameover.seq

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Delphine CIN video
Daniel Verkamp [Fri, 20 Jun 2014 06:25:07 +0000 (23:25 -0700)]
avcodec: map Delphine CIN video

Sample:
http://fate-suite.libav.org/delphine-cin/LOGO-partial.CIN

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Creature Shock AVS
Daniel Verkamp [Fri, 20 Jun 2014 06:25:06 +0000 (23:25 -0700)]
avcodec: map Creature Shock AVS

Sample:
http://fate-suite.libav.org/creatureshock-avs/OUTATIME.AVS

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map American Laser Games MM Video
Daniel Verkamp [Fri, 20 Jun 2014 06:25:05 +0000 (23:25 -0700)]
avcodec: map American Laser Games MM Video

Sample:
http://fate-suite.libav.org/alg-mm/ibmlogo.mm

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Westwood VQA
Daniel Verkamp [Fri, 20 Jun 2014 06:25:04 +0000 (23:25 -0700)]
avcodec: map Westwood VQA

Sample:
http://samples.mplayerhq.hu/fate-suite/vqa/cc-demo1-partial.vqa

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map Wing Commander III video
Daniel Verkamp [Fri, 20 Jun 2014 06:25:03 +0000 (23:25 -0700)]
avcodec: map Wing Commander III video

Sample:
http://samples.mplayerhq.hu/fate-suite/wc3movie/SC_32-part.MVE

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: map 8088flex TMV
Daniel Verkamp [Fri, 20 Jun 2014 06:25:02 +0000 (23:25 -0700)]
avcodec: map 8088flex TMV

Sample:
http://samples.mplayerhq.hu/fate-suite/tmv/pop-partial.tmv

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAvcodec: Fix potential dereference before null check
Jean-Baptiste Kempf [Fri, 20 Jun 2014 14:09:41 +0000 (16:09 +0200)]
Avcodec: Fix potential dereference before null check

See CID #1223114

6 years agoequalizer: load the equalizer-preset only if equalizer-bands is not set
Adrien Maglo [Wed, 18 Jun 2014 14:27:49 +0000 (16:27 +0200)]
equalizer: load the equalizer-preset only if equalizer-bands is not set

When using the libVLC equalizer API, this prevents the band settings to be overridden on start by the default "flat" preset.

6 years agoplaylist: useless #include
Rémi Denis-Courmont [Thu, 19 Jun 2014 21:09:46 +0000 (00:09 +0300)]
playlist: useless #include

6 years agoinput: unused #include
Rémi Denis-Courmont [Thu, 19 Jun 2014 21:03:53 +0000 (00:03 +0300)]
input: unused #include

6 years agoconfigure: allow compilation without libvorbis
Rémi Denis-Courmont [Thu, 19 Jun 2014 20:41:58 +0000 (23:41 +0300)]
configure: allow compilation without libvorbis

6 years agomacosx: fix broken first time settings setup
David Fuhrmann [Thu, 19 Jun 2014 18:14:16 +0000 (20:14 +0200)]
macosx: fix broken first time settings setup

Handling with *.plist on the file system should really
be avoided, as its not safe at all. Thus the current
default version is set the right way now.

close #11625

6 years agoaccess init macros: C++ compatibility
Rafaël Carré [Thu, 19 Jun 2014 09:22:23 +0000 (11:22 +0200)]
access init macros: C++ compatibility

6 years agolib: fix typos in libvlc_media_player_set_equalizer
Adrien Maglo [Mon, 16 Jun 2014 14:47:44 +0000 (16:47 +0200)]
lib: fix typos in libvlc_media_player_set_equalizer

This commit repairs the libvlc equalizer API.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agomono: Specify the expected format rather than failing
Hugo Beauzée-Luyssen [Mon, 16 Jun 2014 21:26:33 +0000 (00:26 +0300)]
mono: Specify the expected format rather than failing

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agoFix NEWS for 3.0.0-git
Jean-Baptiste Kempf [Mon, 16 Jun 2014 16:53:45 +0000 (18:53 +0200)]
Fix NEWS for 3.0.0-git

6 years agomacosx: de-duplicate code by using the global libvlccore controller to handle video...
Felix Paul Kühne [Mon, 16 Jun 2014 10:43:41 +0000 (12:43 +0200)]
macosx: de-duplicate code by using the global libvlccore controller to handle video filters

6 years agomacosx: move video filter control code to the global libvlccore control object since...
Felix Paul Kühne [Mon, 16 Jun 2014 10:39:45 +0000 (12:39 +0200)]
macosx: move video filter control code to the global libvlccore control object since it does not belong in a window controller

6 years agomacosx: remove level 0 from the post-pp menu
Felix Paul Kühne [Mon, 16 Jun 2014 10:27:45 +0000 (12:27 +0200)]
macosx: remove level 0 from the post-pp menu

6 years agomacosx: minor cleanup in the menu code
Felix Paul Kühne [Mon, 16 Jun 2014 10:21:10 +0000 (12:21 +0200)]
macosx: minor cleanup in the menu code

6 years agomacosx: fix post-proc menu item (refs #11613)
Felix Paul Kühne [Mon, 16 Jun 2014 10:11:54 +0000 (12:11 +0200)]
macosx: fix post-proc menu item (refs #11613)

6 years agovaapi: prefer vaGetImage over vaDeriveImage under most circumstances.
Jean-Yves Avenard [Sun, 15 Jun 2014 09:04:38 +0000 (09:04 +0000)]
vaapi: prefer vaGetImage over vaDeriveImage under most circumstances.

While vaDeriveImage is slightly faster than vaGetImage, there's an added cost of having to convert NV12 into YV12 later, which in practice negates any benefits.
Prefer YV12 and YUV420 formats over NV12.
This decrease time to process a VAAPI frame by over 50%: from 2.1ms/frame to 0.9ms/frame on an i7-4650U

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocopy: minor speed enhancement to USWC copy
Jean-Yves Avenard [Sun, 15 Jun 2014 09:04:37 +0000 (09:04 +0000)]
copy: minor speed enhancement to USWC copy

Adopt suggestions as per https://software.intel.com/en-us/articles/copying-accelerated-video-decode-frame-buffers:
- 64kB aligned memory buffer
- Call to mfence only around copy to cache routine.

Use a single instruction to copy non-aligned memory at startup.
Remove compilation warning on mac

This result in a small 1.3% speed increase on an i7-4650U

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoavcodec: copy frame-based palette
Daniel Verkamp [Sun, 15 Jun 2014 19:47:19 +0000 (19:47 +0000)]
avcodec: copy frame-based palette

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib/theora: fix broken compiler differenciation
Felix Paul Kühne [Sat, 14 Jun 2014 10:39:44 +0000 (12:39 +0200)]
contrib/theora: fix broken compiler differenciation

This solves compilation issues from the future.

6 years agoMove h264_get_profile_level from OMX to the h264_nal helper file
Jean-Baptiste Kempf [Sun, 15 Jun 2014 14:49:53 +0000 (16:49 +0200)]
Move h264_get_profile_level from OMX to the h264_nal helper file

6 years agoOMX: remove trailing spaces
Jean-Baptiste Kempf [Sun, 15 Jun 2014 14:45:13 +0000 (16:45 +0200)]
OMX: remove trailing spaces

6 years agoOMX: reindent and remove tabs
Jean-Baptiste Kempf [Sun, 15 Jun 2014 14:36:59 +0000 (16:36 +0200)]
OMX: reindent and remove tabs

6 years agoqtsound: fix variable type
David Fuhrmann [Sun, 15 Jun 2014 12:19:20 +0000 (14:19 +0200)]
qtsound: fix variable type

6 years agoqtsound: remove unneeded variable
David Fuhrmann [Sun, 15 Jun 2014 12:17:21 +0000 (14:17 +0200)]
qtsound: remove unneeded variable

6 years agoqtsound: fix crashes and some other issues
David Fuhrmann [Sun, 15 Jun 2014 12:11:43 +0000 (14:11 +0200)]
qtsound: fix crashes and some other issues

- do not misuse a block_t as a plain array
- use correct size of buffers
- do not overwrite buffer pointers of the second block_t, instead
copy the data

close #7886

6 years agosrc: define mac shortcut for subtitle toggle
David Fuhrmann [Sun, 15 Jun 2014 10:56:49 +0000 (12:56 +0200)]
src: define mac shortcut for subtitle toggle

6 years agoChange the gmp download URL to https://gmplib.org/download
أحمد المحم ودي (Ahmed El-Mahmoudy) [Sat, 14 Jun 2014 06:47:14 +0000 (06:47 +0000)]
Change the gmp download URL to https://gmplib.org/download

The FTP server sometimes gives the following message:

230-Your bandwidth usage is restricted
230-
230-GMP -- GNU Multiple Precision Arithmetic Library
230-
230->>>  This is an intensionally throttled ftp server.                 <<<
230->>>  For faster and less tamper-prone file download, please go to:  <<<
230->>>                                                                 <<<
230->>>                  https://gmplib.org/download/                   <<<

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoUpgrade requirements for libavcodec and libavutil
Jean-Baptiste Kempf [Sat, 14 Jun 2014 16:05:50 +0000 (18:05 +0200)]
Upgrade requirements for libavcodec and libavutil

6 years agoOn the road to 3.0.0
Jean-Baptiste Kempf [Sat, 14 Jun 2014 15:33:44 +0000 (17:33 +0200)]
On the road to 3.0.0

SI NON CONFECTVS, NON REFICIAT.

6 years agoUpdate live555 Contribs 2.2.0-git
Jean-Baptiste Kempf [Sat, 14 Jun 2014 14:40:48 +0000 (16:40 +0200)]
Update live555 Contribs

6 years agoContribs: Update libbluray to 0.6.0
Jean-Baptiste Kempf [Sat, 14 Jun 2014 14:35:38 +0000 (16:35 +0200)]
Contribs: Update libbluray to 0.6.0

And activate BD-J

6 years agohotkeys: new hotkey for toggling subtitles
Adrian Haensler [Wed, 21 May 2014 02:35:02 +0000 (02:35 +0000)]
hotkeys: new hotkey for toggling subtitles

A subtitle track chosen by hotkey "v" is remembered in variable "spu-choice".
The hotkey "Shift+v" toggles subtitle visibility.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFix libmod_plugin undefined __imp_ symbols building for win32
Konstantinos Tsanaktsidis [Thu, 12 Jun 2014 13:34:46 +0000 (13:34 +0000)]
Fix libmod_plugin undefined __imp_ symbols building for win32

When building current HEAD of master for x86_64-w64-mingw32 against current
contribs, compilation fails at libmod_plugin due to undefined symbols of
the form __imp_ModPlug_*. This patch modifies libmodplug in contribs by
adding -DMODPLUG_STATIC to CFlags in the pkg-config file. A bug is also
fixed in the main build system to make sure the CFLAGS are picked up from
this pkg-config file.

This problem occurs because of the following code in
contrib/x86_64-w64-mingw32/include/libmodplug/modplug.h. This code is
present in libmodplug obtained from running "make fetch & make" in the
contribs directory, but not present in the prebuilt contribs obtained from
running "make prebuilt".

 #if defined(_WIN32) || defined(__CYGWIN__)
 # if defined(MODPLUG_BUILD) && defined(DLL_EXPORT)
 #   define MODPLUG_EXPORT __declspec(dllexport)
 # elif defined(MODPLUG_BUILD) || defined(MODPLUG_STATIC)
 #   define MODPLUG_EXPORT
 # else
 #   define MODPLUG_EXPORT __declspec(dllimport)
 # endif

When building for Windows, if MODPLUG_STATIC is not defined, MODPLUG_EXPORT
is defined as "__declspec(dllimport)". On Windows, dynamic symbols are
prefixed with "__imp_", so this causes GCC to adjust the symbol references
to the libmodplug functions accordingly.

This patch therefore adds a patch to contribs for libmodplug's pkg-config
file. It adds -DMODPLUG_STATIC to CFlags, so that when libmod_plugin is
building it will have the correct symbol names.

However, there is also a bug in the build system that needs to be fixed for
this to work. The configure script sets a CXXFLAGS_mod containing the
output of pkg-config for libmodplug, but not CFLAGS_mod. Additionally, the
Makefile.ac for libmod_plugin sets CXXFLAGS when in fact the relevant files
(mod.c) are plain C. Autotools therefore ignores these CXXFLAGS when
generating a makefile.

The solution is to add a macro to configure.ac to set CFLAGS_mod. This then
needs to be used in modules/demux/Makefile.am to populate
libmod_plugin_la_CFLAGS instead of libmod_plugin_la_CXXFLAGS (which gets
ignored).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agovaapi: use proper official fourcc constants
Jean-Yves Avenard [Fri, 13 Jun 2014 11:02:37 +0000 (11:02 +0000)]
vaapi: use proper official fourcc constants

libva will never return I420 fourcc code, instead it uses IYUV. The first image format returned by vaQueryImageFormat with Intel VA backend is YV12, so using I420 wasn't an issue.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agovaapi: remove unused variable
Jean-Yves Avenard [Fri, 13 Jun 2014 11:02:36 +0000 (11:02 +0000)]
vaapi: remove unused variable

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib: libvpx: allow compiling on android
Vittorio Giovara [Fri, 13 Jun 2014 18:08:28 +0000 (18:08 +0000)]
contrib: libvpx: allow compiling on android

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoextras/ios: remove hack since it is no longer needed
Felix Paul Kühne [Sat, 14 Jun 2014 10:46:41 +0000 (12:46 +0200)]
extras/ios: remove hack since it is no longer needed

6 years agovdpau/chroma: fix NULL dereference on error
Rémi Denis-Courmont [Sat, 14 Jun 2014 07:31:01 +0000 (10:31 +0300)]
vdpau/chroma: fix NULL dereference on error

6 years agoandroid mediacodec: catch more Java exceptions and add log messages
Adrien Maglo [Fri, 13 Jun 2014 14:56:55 +0000 (16:56 +0200)]
android mediacodec: catch more Java exceptions and add log messages

6 years agoandroid thread: do not init the "finished" semaphore in the case of a detached thread.
Adrien Maglo [Thu, 12 Jun 2014 07:14:37 +0000 (09:14 +0200)]
android thread: do not init the "finished" semaphore in the case of a detached thread.

This commit prevents the leak of the semaphore.

6 years agoRevert "mediacodec: wait to have the first frame successfully decoded to set the...
Adrien Maglo [Thu, 12 Jun 2014 06:50:52 +0000 (08:50 +0200)]
Revert "mediacodec: wait to have the first frame successfully decoded to set the started flag"

This reverts commit 703cfc648ee8e3fe70ee276508f44321a0b7b993 as it does not solve any issue.

6 years agodemux: mp4: rescrict atoms auto matching
Francois Cartegnie [Wed, 11 Jun 2014 21:12:34 +0000 (23:12 +0200)]
demux: mp4: rescrict atoms auto matching

Allow restricting auto matching to some parent nodes.
There was some size checks on stsd/wave vs wave to prevent
bad matchs, but this could happen with any other codec name.

6 years agol10n: fixing code page for kk and tt
Christoph Miebach [Wed, 11 Jun 2014 18:55:29 +0000 (14:55 -0400)]
l10n: fixing code page for kk and tt

6 years agol10n: forgotten trivial code page localization
Christoph Miebach [Wed, 11 Jun 2014 18:50:13 +0000 (14:50 -0400)]
l10n: forgotten trivial code page localization

6 years agomux: mp4: try not to set artitrary length on boundaries
Francois Cartegnie [Wed, 11 Jun 2014 18:47:52 +0000 (20:47 +0200)]
mux: mp4: try not to set artitrary length on boundaries

6 years agol10n: hopefully fixing Hebrew code page
Christoph Miebach [Wed, 11 Jun 2014 18:33:06 +0000 (14:33 -0400)]
l10n: hopefully fixing Hebrew code page

6 years agol10n: trivial code page localization
Christoph Miebach [Wed, 11 Jun 2014 18:29:30 +0000 (14:29 -0400)]
l10n: trivial code page localization

6 years agoavcodec: encoder: Fix rounding issue
Hugo Beauzée-Luyssen [Tue, 10 Jun 2014 21:35:52 +0000 (00:35 +0300)]
avcodec: encoder: Fix rounding issue

6 years agomux: mp4: compute duration incrementally (fix #11558)
Francois Cartegnie [Mon, 9 Jun 2014 14:31:37 +0000 (16:31 +0200)]
mux: mp4: compute duration incrementally (fix #11558)

and use discontinuities as boundaries

6 years agosout: mux: flag discontinuity when joining streams
Francois Cartegnie [Tue, 10 Jun 2014 12:08:50 +0000 (14:08 +0200)]
sout: mux: flag discontinuity when joining streams

Both streams must have same format, but dts/pts/pcr
could start anywhere.

6 years agocontrib: dvdnav: fix static linking to dvdread (fixes #11530)
Rémi Denis-Courmont [Wed, 11 Jun 2014 16:37:56 +0000 (19:37 +0300)]
contrib: dvdnav: fix static linking to dvdread (fixes #11530)

6 years agocontrib: dvdread: fix static linking to dvdcss
Rémi Denis-Courmont [Wed, 11 Jun 2014 16:34:33 +0000 (19:34 +0300)]
contrib: dvdread: fix static linking to dvdcss

6 years agodemux: mp4: ignore SPU when setting PCR
Francois Cartegnie [Wed, 11 Jun 2014 13:56:47 +0000 (15:56 +0200)]
demux: mp4: ignore SPU when setting PCR

otherwise breaks PCR update on seek

6 years agodemux: mp4: fix grouped compressed samples reading (fix #11601)
Francois Cartegnie [Wed, 11 Jun 2014 13:23:21 +0000 (15:23 +0200)]
demux: mp4: fix grouped compressed samples reading (fix #11601)