vlc.git
6 years agoDVB (old): use vlc_strerror_c()
Rémi Denis-Courmont [Sat, 28 Dec 2013 17:05:14 +0000 (19:05 +0200)]
DVB (old): use vlc_strerror_c()

6 years agoDV: use vlc_strerror_c()
Rémi Denis-Courmont [Sat, 28 Dec 2013 17:04:53 +0000 (19:04 +0200)]
DV: use vlc_strerror_c()

6 years agoDTV: use vlc_strerror_c()
Rémi Denis-Courmont [Sat, 28 Dec 2013 17:04:38 +0000 (19:04 +0200)]
DTV: use vlc_strerror_c()

6 years agolibav: use vlc_strerror_c()
Rémi Denis-Courmont [Sat, 28 Dec 2013 17:04:13 +0000 (19:04 +0200)]
libav: use vlc_strerror_c()

6 years agofile: use vlc_strerror()
Rémi Denis-Courmont [Sat, 28 Dec 2013 15:57:55 +0000 (17:57 +0200)]
file: use vlc_strerror()

This fixes "%m" in error dialogs on non-GNU platforms.

6 years agosrc: use vlc_strerror_c() for log messages
Rémi Denis-Courmont [Sat, 28 Dec 2013 16:46:52 +0000 (18:46 +0200)]
src: use vlc_strerror_c() for log messages

6 years agowin32: implement vlc_strerror and vlc_strerror_c
Rémi Denis-Courmont [Sat, 28 Dec 2013 16:33:59 +0000 (18:33 +0200)]
win32: implement vlc_strerror and vlc_strerror_c

6 years agovlc_strerror() and vlc_strerror_c() convenience wrappers
Rémi Denis-Courmont [Sat, 28 Dec 2013 15:56:22 +0000 (17:56 +0200)]
vlc_strerror() and vlc_strerror_c() convenience wrappers

Those are more flexible than the GNU-specific %m format specifier to
print standard error messages. They are also less likely to format a
clobbered error number.

6 years agoposix: simplify thread error handler
Rémi Denis-Courmont [Sun, 29 Dec 2013 13:35:35 +0000 (15:35 +0200)]
posix: simplify thread error handler

6 years agoDirect3D: less verbose output
Jean-Baptiste Kempf [Sun, 29 Dec 2013 10:30:20 +0000 (11:30 +0100)]
Direct3D: less verbose output

6 years agoContrib: use a simpler way to discriminate between libav and FFmpeg
Jean-Baptiste Kempf [Sat, 28 Dec 2013 17:38:49 +0000 (18:38 +0100)]
Contrib: use a simpler way to discriminate between libav and FFmpeg

6 years agoavcodec: Always output frames
Luca Barbato [Sat, 28 Dec 2013 09:15:35 +0000 (10:15 +0100)]
avcodec: Always output frames

With the introduction of CODEC_FLAG_OUTPUT_CORRUPT incomplete frames
are silently dropped. Enable it to maintain the previous behaviour.

Close #10140

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFix FFv1 output with FFmpeg
Jean-Baptiste Kempf [Sat, 28 Dec 2013 15:23:41 +0000 (16:23 +0100)]
Fix FFv1 output with FFmpeg

Close #8691

Of course, because we _really_ need that many RGB formats...

6 years agoDo not activate YUVA422P in FFmpeg until 51.74.100
Jean-Baptiste Kempf [Sat, 28 Dec 2013 11:37:47 +0000 (12:37 +0100)]
Do not activate YUVA422P in FFmpeg until 51.74.100

From 51.49.100 to 51.74.100, it only defines PIX_FMT_YUVA422P and not
AV_PIX_FMT_YUVA422P. There are other ways to fix, but ugly. And people should
update their FFmpeg anyway :)

6 years agommdevice: cosmetic
Rémi Denis-Courmont [Sat, 28 Dec 2013 11:04:27 +0000 (13:04 +0200)]
mmdevice: cosmetic

6 years agoSOCKSv5: fix inverted logic (fixes #10247)
Rémi Denis-Courmont [Sat, 28 Dec 2013 11:03:53 +0000 (13:03 +0200)]
SOCKSv5: fix inverted logic (fixes #10247)

6 years agoAdd name and duration to enqueue and play
Pierre-Hugues Husson [Fri, 27 Dec 2013 18:15:36 +0000 (19:15 +0100)]
Add name and duration to enqueue and play

Close #10242

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agofb vout: set i_visible_*
Rafaël Carré [Fri, 27 Dec 2013 16:29:51 +0000 (17:29 +0100)]
fb vout: set i_visible_*

6 years agotranscode: add chroma conversion in actually checked filter output
Ilkka Ollakka [Fri, 27 Dec 2013 14:52:59 +0000 (16:52 +0200)]
transcode: add chroma conversion in actually checked filter output

6 years agotranscode: add chroma conversion to be the first filter if needed
Ilkka Ollakka [Fri, 27 Dec 2013 14:51:18 +0000 (16:51 +0200)]
transcode: add chroma conversion to be the first filter if needed

For example croppadd doesn't like if input and output chromas are not the same.
This is visible for example webcam input and h264 encode (YUV2->I420).

Reported by: Jean-Paul Saman

6 years agosrc/darwin: cleanup threads
Felix Paul Kühne [Fri, 27 Dec 2013 14:25:52 +0000 (15:25 +0100)]
src/darwin: cleanup threads

6 years agoBluray: reindent headers
Jean-Baptiste Kempf [Fri, 27 Dec 2013 10:20:29 +0000 (11:20 +0100)]
Bluray: reindent headers

6 years agoBluray: remove more outdated code
Jean-Baptiste Kempf [Fri, 27 Dec 2013 10:19:36 +0000 (11:19 +0100)]
Bluray: remove more outdated code

6 years agoContribs: update bluray to 0.5.0
Jean-Baptiste Kempf [Fri, 27 Dec 2013 10:17:31 +0000 (11:17 +0100)]
Contribs: update bluray to 0.5.0

6 years agoRequire libbluray 0.3.0
Jean-Baptiste Kempf [Fri, 27 Dec 2013 10:15:17 +0000 (11:15 +0100)]
Require libbluray 0.3.0

6 years agoaudiounit_ios: merge stability improvements from AUHAL module
Felix Paul Kühne [Fri, 27 Dec 2013 09:58:03 +0000 (10:58 +0100)]
audiounit_ios: merge stability improvements from AUHAL module

6 years agosrc: split darwin threading code from the generic posix implementation
Felix Paul Kühne [Fri, 27 Dec 2013 08:20:10 +0000 (09:20 +0100)]
src: split darwin threading code from the generic posix implementation

6 years agoUpdate NEWS, MODULES_LIST and POTFILES.in
Jean-Baptiste Kempf [Thu, 26 Dec 2013 17:59:28 +0000 (18:59 +0100)]
Update NEWS, MODULES_LIST and POTFILES.in

6 years agomacosx/applescript: fix opening non-file URLs (close #10112)
Felix Paul Kühne [Thu, 26 Dec 2013 17:45:17 +0000 (18:45 +0100)]
macosx/applescript: fix opening non-file URLs (close #10112)

6 years agoauhal: prevent assertion failure on TPCircularBufferClear (close #10109)
Felix Paul Kühne [Thu, 26 Dec 2013 16:43:09 +0000 (17:43 +0100)]
auhal: prevent assertion failure on TPCircularBufferClear (close #10109)

6 years agoauhal: add missing bounds checking (close #10110)
Felix Paul Kühne [Thu, 26 Dec 2013 16:34:51 +0000 (17:34 +0100)]
auhal: add missing bounds checking (close #10110)

6 years agocontrib: jpeg: do not redefine FALSE/TRUE on OSX
Rafaël Carré [Wed, 25 Dec 2013 21:19:07 +0000 (22:19 +0100)]
contrib: jpeg: do not redefine FALSE/TRUE on OSX

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
6 years agocontrib: speex*: remove destination folder before unpacking
Rafaël Carré [Thu, 26 Dec 2013 14:30:49 +0000 (15:30 +0100)]
contrib: speex*: remove destination folder before unpacking

6 years agolive555: retrieve RTSP track languages from SDP
Gilles Chanteperdrix [Wed, 18 Dec 2013 13:07:12 +0000 (13:07 +0000)]
live555: retrieve RTSP track languages from SDP

First for the "a=lang:" session attribute, then for each subsession
look for the same attribute, and use the session attribute if none
was found.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocodec: implemented libjpeg module
Maxim Bublis [Thu, 19 Dec 2013 10:45:55 +0000 (10:45 +0000)]
codec: implemented libjpeg module

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoMP4: support in32 FourCC as a type
Jean-Baptiste Kempf [Mon, 23 Dec 2013 19:34:23 +0000 (20:34 +0100)]
MP4: support in32 FourCC as a type

6 years agodemux: ogg: don't recreate decoders on same chained streams.
Francois Cartegnie [Sun, 22 Dec 2013 23:26:40 +0000 (00:26 +0100)]
demux: ogg: don't recreate decoders on same chained streams.

SET_ES_FMT recreates decoders and then triggers preroll.

6 years agodemux: ogg: don't probe length again with chained streams
Francois Cartegnie [Sun, 22 Dec 2013 19:16:48 +0000 (20:16 +0100)]
demux: ogg: don't probe length again with chained streams

6 years agodemux: ogg: do PCR handling on stream boundary
Francois Cartegnie [Sun, 22 Dec 2013 19:05:14 +0000 (20:05 +0100)]
demux: ogg: do PCR handling on stream boundary

6 years agodemux: add missing default handler for GET_SIGNAL
Francois Cartegnie [Sun, 22 Dec 2013 17:43:54 +0000 (18:43 +0100)]
demux: add missing default handler for GET_SIGNAL

6 years agodemux: ogg: delay ES creation for preparsing.
Francois Cartegnie [Fri, 20 Dec 2013 14:57:37 +0000 (15:57 +0100)]
demux: ogg: delay ES creation for preparsing.

Prevents creating ES & decoders just for playlist preparsing.

6 years agodemux: ogg: add preparsing of headers (fix #6691)
Francois Cartegnie [Tue, 17 Dec 2013 17:49:40 +0000 (18:49 +0100)]
demux: ogg: add preparsing of headers (fix #6691)

6 years agodemux: ogg: fix use after free seekpoints.
Francois Cartegnie [Sat, 21 Dec 2013 15:10:01 +0000 (16:10 +0100)]
demux: ogg: fix use after free seekpoints.

Also cleans seekpoints between tracks

6 years agocontrib: harfbuzz: disable icu
Rafaël Carré [Thu, 19 Dec 2013 19:46:35 +0000 (20:46 +0100)]
contrib: harfbuzz: disable icu

icu-config is not suited for cross-compilation

6 years agostd: Always use module name if access was not specified
Rafaël Carré [Wed, 18 Dec 2013 16:01:21 +0000 (17:01 +0100)]
std: Always use module name if access was not specified

6 years agoSimplify message when codec could not be found
Rafaël Carré [Wed, 18 Dec 2013 15:40:31 +0000 (16:40 +0100)]
Simplify message when codec could not be found

People do not read that far and keep asking for support anyway.

6 years agolibavutil: set verbosity based on VLC own verbosity
Rafaël Carré [Wed, 18 Dec 2013 15:23:01 +0000 (16:23 +0100)]
libavutil: set verbosity based on VLC own verbosity

6 years agoavcommon.h: move code around
Rafaël Carré [Wed, 18 Dec 2013 15:04:45 +0000 (16:04 +0100)]
avcommon.h: move code around

6 years agoImprove the unsupported codec errors
Rafaël Carré [Wed, 18 Dec 2013 10:55:14 +0000 (11:55 +0100)]
Improve the unsupported codec errors

Provide a description of the codec if possible
Give a more descriptive message if the codec is "undf"
That one means that the demuxer could not identify the codec

6 years agocontrib: gcrypt 1.6.0
Rafaël Carré [Tue, 17 Dec 2013 18:26:00 +0000 (19:26 +0100)]
contrib: gcrypt 1.6.0

6 years agomux hevc into mp4
Rafaël Carré [Tue, 17 Dec 2013 00:14:12 +0000 (19:14 -0500)]
mux hevc into mp4

6 years agox265: update to API 4
Rafaël Carré [Mon, 16 Dec 2013 23:37:23 +0000 (18:37 -0500)]
x265: update to API 4

6 years agoaudioscrobbler: fix use of uninitialized variable
Rémi Duraffort [Mon, 16 Dec 2013 18:54:19 +0000 (19:54 +0100)]
audioscrobbler: fix use of uninitialized variable

6 years agovobsub: fix memory leak
Rémi Duraffort [Mon, 16 Dec 2013 18:39:55 +0000 (19:39 +0100)]
vobsub: fix memory leak

6 years agoqt4: fix memory leak (allocate only when needed)
Rémi Duraffort [Mon, 16 Dec 2013 18:36:49 +0000 (19:36 +0100)]
qt4: fix memory leak (allocate only when needed)

6 years agoatmo: fix some dealocation mismatch
Rémi Duraffort [Mon, 16 Dec 2013 18:29:58 +0000 (19:29 +0100)]
atmo: fix some dealocation mismatch

6 years agolivehttp: fix typo
Rémi Duraffort [Mon, 16 Dec 2013 18:21:26 +0000 (19:21 +0100)]
livehttp: fix typo

6 years agoyuv->rgb neon: only convert visible area
Sébastien Toque [Sun, 15 Dec 2013 11:39:57 +0000 (12:39 +0100)]
yuv->rgb neon: only convert visible area

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAvcodec: fix FTBFS with FFmpeg because of YUVA422P definition
Jean-Baptiste Kempf [Mon, 16 Dec 2013 13:48:40 +0000 (14:48 +0100)]
Avcodec: fix FTBFS with FFmpeg because of YUVA422P definition

Close #10127

6 years agolivehttp: fix format string
Tristan Matthews [Mon, 16 Dec 2013 06:16:23 +0000 (01:16 -0500)]
livehttp: fix format string

6 years agoRemove dead initializations
Rémi Duraffort [Sun, 15 Dec 2013 17:49:35 +0000 (18:49 +0100)]
Remove dead initializations

6 years agoamto: fix dealocator (delete [] instead of free)
Rémi Duraffort [Sun, 15 Dec 2013 17:38:01 +0000 (18:38 +0100)]
amto: fix dealocator (delete [] instead of free)

6 years agoomxil: fix calloc usage
Rémi Duraffort [Sat, 14 Dec 2013 10:11:30 +0000 (11:11 +0100)]
omxil: fix calloc usage

6 years agoaccess_dvd: fix sizeof mismatch
Rémi Duraffort [Sat, 14 Dec 2013 10:03:01 +0000 (11:03 +0100)]
access_dvd: fix sizeof mismatch

6 years agomp4: fix sizeof mismatch
Rémi Duraffort [Sat, 14 Dec 2013 09:57:04 +0000 (10:57 +0100)]
mp4: fix sizeof mismatch

6 years agohqdn3d: fix sizeof mismatch
Rémi Duraffort [Sat, 14 Dec 2013 09:55:57 +0000 (10:55 +0100)]
hqdn3d: fix sizeof mismatch

6 years agomp4: fix memory leak
Rémi Duraffort [Sat, 14 Dec 2013 09:52:55 +0000 (10:52 +0100)]
mp4: fix memory leak

6 years agoaccess_jack: fix memory leak
Rémi Duraffort [Sat, 14 Dec 2013 09:50:10 +0000 (10:50 +0100)]
access_jack: fix memory leak

6 years agolivehttp: fix many memory leaks
Rémi Duraffort [Sat, 14 Dec 2013 09:47:01 +0000 (10:47 +0100)]
livehttp: fix many memory leaks

6 years agolivehttp: fix memory leaks
Rémi Duraffort [Sat, 14 Dec 2013 09:35:25 +0000 (10:35 +0100)]
livehttp: fix memory leaks

6 years agoinput: fix memory leak if access is not found
Rémi Duraffort [Sat, 14 Dec 2013 09:32:43 +0000 (10:32 +0100)]
input: fix memory leak if access is not found

6 years agomkv: fix memory leak
Rémi Duraffort [Sat, 14 Dec 2013 09:13:48 +0000 (10:13 +0100)]
mkv: fix memory leak

6 years agoFreetype: rename HAVE_STYLES
Jean-Baptiste Kempf [Sun, 15 Dec 2013 16:40:51 +0000 (17:40 +0100)]
Freetype: rename HAVE_STYLES

6 years agoFreetype: unexport a function we don't need anymore on Win32
Jean-Baptiste Kempf [Sun, 15 Dec 2013 16:38:53 +0000 (17:38 +0100)]
Freetype: unexport a function we don't need anymore on Win32

6 years agoFreetype: introduce a dummy font selector
Jean-Baptiste Kempf [Sun, 15 Dec 2013 16:22:12 +0000 (17:22 +0100)]
Freetype: introduce a dummy font selector

When we don't have a way to select a font by family, use the basic font
(default or the config one)

This reduces the number of HAVE_STYLES usage and avoid a few bugs

6 years agoFreetype: remove unneeded includes
Jean-Baptiste Kempf [Sun, 15 Dec 2013 15:37:26 +0000 (16:37 +0100)]
Freetype: remove unneeded includes

6 years agoMove font defaults to platform_fonts.h
Jean-Baptiste Kempf [Sun, 15 Dec 2013 15:31:57 +0000 (16:31 +0100)]
Move font defaults to platform_fonts.h

6 years agoFreetype: simplify win32 fonts lookup folder
Jean-Baptiste Kempf [Sun, 15 Dec 2013 15:15:53 +0000 (16:15 +0100)]
Freetype: simplify win32 fonts lookup folder

It's less elegant, because it is not cached, but it's cleaner in
freetype.c with less #ifdef all around...

6 years agoDCP: new access-demux module for DigitalCinemaPackage
Nicolas Bertrand [Fri, 13 Dec 2013 14:21:03 +0000 (15:21 +0100)]
DCP: new access-demux module for DigitalCinemaPackage

This version only support 1-Reel-per-track DCPs, like trailers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoAvoid infinite recursion loop when parsing tags
Denis Charmet [Sun, 15 Dec 2013 14:51:19 +0000 (15:51 +0100)]
Avoid infinite recursion loop when parsing tags

Fix #10028

6 years agoFreetype: Split font selection code from freetype.c
Jean-Baptiste Kempf [Sun, 15 Dec 2013 14:53:59 +0000 (15:53 +0100)]
Freetype: Split font selection code from freetype.c

6 years agoWin32: fix obvious typo.
Jean-Baptiste Kempf [Sun, 15 Dec 2013 14:32:56 +0000 (15:32 +0100)]
Win32: fix obvious typo.

Sorry

6 years agoFreetype: move the font selection to a function-pointer
Jean-Baptiste Kempf [Sun, 15 Dec 2013 13:57:32 +0000 (14:57 +0100)]
Freetype: move the font selection to a function-pointer

6 years agoFreetype: fix small error in previous commit
Jean-Baptiste Kempf [Sun, 15 Dec 2013 14:18:08 +0000 (15:18 +0100)]
Freetype: fix small error in previous commit

6 years agoFreetype: create an xml_reader helper
Jean-Baptiste Kempf [Sun, 15 Dec 2013 13:34:14 +0000 (14:34 +0100)]
Freetype: create an xml_reader helper

6 years agoSplit Freetype destruction from the main destruction
Jean-Baptiste Kempf [Thu, 26 Sep 2013 19:27:50 +0000 (21:27 +0200)]
Split Freetype destruction from the main destruction

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFreetype: split freetype init from Create
Jean-Baptiste Kempf [Thu, 26 Sep 2013 19:23:43 +0000 (21:23 +0200)]
Freetype: split freetype init from Create

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFix typo
Jean-Baptiste Kempf [Sat, 14 Dec 2013 16:29:11 +0000 (17:29 +0100)]
Fix typo

6 years agoUpdate NEWS and MODULES_LIST for 2.2.0
Jean-Baptiste Kempf [Sat, 14 Dec 2013 16:19:42 +0000 (17:19 +0100)]
Update NEWS and MODULES_LIST for 2.2.0

6 years agoconfigure: add a feature test for OpenGL
KO Myung-Hun [Sat, 14 Dec 2013 06:05:44 +0000 (15:05 +0900)]
configure: add a feature test for OpenGL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agolibvlc: don't use string after free
Tristan Matthews [Fri, 13 Dec 2013 20:24:57 +0000 (15:24 -0500)]
libvlc: don't use string after free

6 years agofortunes !
Rafaël Carré [Fri, 13 Dec 2013 21:54:51 +0000 (16:54 -0500)]
fortunes !

6 years agocodecs: avcodec: fix Makefile libs order
Francois Cartegnie [Fri, 13 Dec 2013 21:24:30 +0000 (22:24 +0100)]
codecs: avcodec: fix Makefile libs order

6 years agodemux: mp4: improve debug tree info
Francois Cartegnie [Thu, 12 Dec 2013 23:11:05 +0000 (00:11 +0100)]
demux: mp4: improve debug tree info

6 years agofourcc: add entry for Android opaque buffer type.
Felix Abecassis [Fri, 15 Nov 2013 14:47:20 +0000 (15:47 +0100)]
fourcc: add entry for Android opaque buffer type.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: rename members and functions previously related to decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:14 +0000 (11:46 +0100)]
input: rename members and functions previously related to decoder buffering.

Even without data buffering, it is still necessary to wait until each decoder has processed one block before updating the system clock.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove useless function DecoderFlushBuffering from decoder.c
Felix Abecassis [Wed, 11 Dec 2013 10:46:13 +0000 (11:46 +0100)]
input: remove useless function DecoderFlushBuffering from decoder.c

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove sout decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:12 +0000 (11:46 +0100)]
input: remove sout decoder buffering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove subpicture decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:11 +0000 (11:46 +0100)]
input: remove subpicture decoder buffering.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoinput: remove video decoder buffering.
Felix Abecassis [Wed, 11 Dec 2013 10:46:10 +0000 (11:46 +0100)]
input: remove video decoder buffering.

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