]> git.sesse.net Git - vlc/log
vlc
10 years agoUse _aligned_* when compiling with MSVC
Jean-Baptiste Kempf [Sat, 7 Dec 2013 23:10:42 +0000 (00:10 +0100)]
Use _aligned_* when compiling with MSVC

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agocontrib: speex: fix git hash
Rafaël Carré [Sat, 7 Dec 2013 21:55:32 +0000 (22:55 +0100)]
contrib: speex: fix git hash

Use the revision just before libspeexdsp split

10 years agodemux: asf: fix signedness in marker
Francois Cartegnie [Sat, 7 Dec 2013 19:02:15 +0000 (20:02 +0100)]
demux: asf: fix signedness in marker

10 years agodemux: asf: fix signedness in content desc
Francois Cartegnie [Sat, 7 Dec 2013 18:59:41 +0000 (19:59 +0100)]
demux: asf: fix signedness in content desc

10 years agodemux: asf: fix signedness on stream prioritization
Francois Cartegnie [Sat, 7 Dec 2013 18:55:53 +0000 (19:55 +0100)]
demux: asf: fix signedness on stream prioritization

10 years agodemux: asf: fix signedness on stream mutex properties
Francois Cartegnie [Sat, 7 Dec 2013 18:51:41 +0000 (19:51 +0100)]
demux: asf: fix signedness on stream mutex properties

10 years agodemux: asf: use INT64_MAX
Francois Cartegnie [Sat, 7 Dec 2013 18:45:17 +0000 (19:45 +0100)]
demux: asf: use INT64_MAX

10 years agodemux: asf: don't update PCR until preroll is done
Francois Cartegnie [Sat, 7 Dec 2013 15:03:27 +0000 (16:03 +0100)]
demux: asf: don't update PCR until preroll is done

10 years agodemux: asf: use send time as base time for pcr (fix #6662, #8795)
Francois Cartegnie [Sat, 9 Nov 2013 11:43:48 +0000 (20:43 +0900)]
demux: asf: use send time as base time for pcr (fix #6662, #8795)

Using lowest PTS or DTS is a bad idea, as lower video packets are sent
ahead of pts, and most audio tracks are sending packets near to pts.
So we had audio packets coming late, with a lower pts, and corrupted
our PCR as we take the lowest pts among tracks.
We can't also guess the full tracks rolls, so updating after a full
roll instead of each packet is useless.
Send time is a reliable base time.

10 years agodemux: asf: only substract preroll from presentation time and duration
Francois Cartegnie [Sat, 9 Nov 2013 07:51:04 +0000 (16:51 +0900)]
demux: asf: only substract preroll from presentation time and duration

Offsets pts & duration

10 years agodemux: asf: decode payload extension
Francois Cartegnie [Mon, 2 Dec 2013 12:49:38 +0000 (13:49 +0100)]
demux: asf: decode payload extension

Reads keyframe flag from payload extensions.
Some formats like DVR-MS ships keyframe info into
payload extensions and not as packet flag. Why make things simple ?

10 years agodemux: libasf: add payload extensions guids
Francois Cartegnie [Tue, 26 Nov 2013 07:06:18 +0000 (08:06 +0100)]
demux: libasf: add payload extensions guids

10 years agodemux: asf: fix time conversion
Francois Cartegnie [Sat, 9 Nov 2013 07:58:37 +0000 (16:58 +0900)]
demux: asf: fix time conversion

already microseconds

10 years agodemux: asf: fix computing pts/dts with deltas on sub payloads
Francois Cartegnie [Sat, 9 Nov 2013 07:48:41 +0000 (16:48 +0900)]
demux: asf: fix computing pts/dts with deltas on sub payloads

Sub-Payloads must have their pts computed from deltapts.

10 years agodemux: asf: Use pts as track time instead of dts
Francois Cartegnie [Sat, 9 Nov 2013 06:54:33 +0000 (15:54 +0900)]
demux: asf: Use pts as track time instead of dts

Use pts as track time, and then for pcr.

10 years agoyoutube.lua: handle relative reference in javascript URL
Pierre Ynard [Sat, 7 Dec 2013 17:23:51 +0000 (18:23 +0100)]
youtube.lua: handle relative reference in javascript URL

10 years agoContribs: update fribidi to 0.19.6
Jean-Baptiste Kempf [Sat, 7 Dec 2013 15:48:32 +0000 (16:48 +0100)]
Contribs: update fribidi to 0.19.6

10 years agoContribs: update live555
Jean-Baptiste Kempf [Sat, 7 Dec 2013 15:37:34 +0000 (16:37 +0100)]
Contribs: update live555

10 years agoContribs: update GnuTLS to 3.1.17
Jean-Baptiste Kempf [Sat, 7 Dec 2013 15:30:04 +0000 (16:30 +0100)]
Contribs: update GnuTLS to 3.1.17

10 years agoContrib: upgrade Opus to 1.1
Jean-Baptiste Kempf [Sat, 7 Dec 2013 15:19:22 +0000 (16:19 +0100)]
Contrib: upgrade Opus to 1.1

10 years agoRemove MODULE_PATH define
Rafaël Carré [Fri, 6 Dec 2013 23:40:11 +0000 (00:40 +0100)]
Remove MODULE_PATH define

It was unused since VLC started using automake, 11 years ago.

10 years agoinput: do not misinterpret attachment MRLs as file paths, fixes #10046
Rémi Denis-Courmont [Fri, 6 Dec 2013 13:09:01 +0000 (15:09 +0200)]
input: do not misinterpret attachment MRLs as file paths, fixes #10046

10 years agoinput: off-by-three
Rémi Denis-Courmont [Fri, 6 Dec 2013 12:49:13 +0000 (14:49 +0200)]
input: off-by-three

10 years agoavcodec: decode dvbs
Rafaël Carré [Sat, 28 Sep 2013 21:22:34 +0000 (21:22 +0000)]
avcodec: decode dvbs

Tested with http://www.martinunderwood.f9.co.uk/mallard.wtv

10 years agomessages: Don't mix fprintf and utf8_fprintf
Rafaël Carré [Fri, 6 Dec 2013 10:25:51 +0000 (11:25 +0100)]
messages: Don't mix fprintf and utf8_fprintf

On windows the latter uses the console API under the hood.

This gives VLC output the same format on Linux and on Windows (tested with wine),
rather than printing the pointer ID at the end of the line.

10 years agoPrint(Color)Msg: align pointers on the right
Rafaël Carré [Mon, 18 Nov 2013 17:42:28 +0000 (18:42 +0100)]
Print(Color)Msg: align pointers on the right

Pad with 0s, remove 0x prefix

10 years agoFix make dist
Jean-Baptiste Kempf [Thu, 5 Dec 2013 18:04:12 +0000 (19:04 +0100)]
Fix make dist

10 years agomac packages: remove obsolete Delete Preferences.app
David Fuhrmann [Thu, 5 Dec 2013 17:34:23 +0000 (18:34 +0100)]
mac packages: remove obsolete Delete Preferences.app

This application is incompatible with Mavericks, and it is superseded by the mechanisms provided
within the UI itself.

Also update the readme to reflect this change.

10 years agoDirectSound: fix SPDIF
Andy Tather [Thu, 5 Dec 2013 17:33:26 +0000 (18:33 +0100)]
DirectSound: fix SPDIF

Close #9522

10 years agoWaveout: Fix SPDIF output
Andy Tather [Thu, 5 Dec 2013 17:32:38 +0000 (18:32 +0100)]
Waveout: Fix SPDIF output

Ref #9522

10 years agocontrib: documentation update
Rémi Denis-Courmont [Thu, 5 Dec 2013 16:15:52 +0000 (18:15 +0200)]
contrib: documentation update

10 years agocontrib: fix FFI build
Rémi Denis-Courmont [Thu, 5 Dec 2013 16:09:41 +0000 (18:09 +0200)]
contrib: fix FFI build

There is no point building FFI for its own sake since VLC does not use
FFI directly on any platform.

10 years agoflac: fix void pointer arithmetic warning
Tristan Matthews [Thu, 5 Dec 2013 05:21:25 +0000 (00:21 -0500)]
flac: fix void pointer arithmetic warning

10 years agodemux: asf: flush remaining tail data (fix #5356)
Francois Cartegnie [Wed, 4 Dec 2013 15:41:37 +0000 (16:41 +0100)]
demux: asf: flush remaining tail data (fix #5356)

10 years agodemux: asf: define MAX_ASF_TRACKS
Francois Cartegnie [Wed, 4 Dec 2013 15:39:40 +0000 (16:39 +0100)]
demux: asf: define MAX_ASF_TRACKS

10 years agoogg: fix order of frees
Tristan Matthews [Wed, 4 Dec 2013 14:37:11 +0000 (09:37 -0500)]
ogg: fix order of frees

10 years agoopus: avoid NULL pointer dereference
Tristan Matthews [Wed, 4 Dec 2013 14:34:00 +0000 (09:34 -0500)]
opus: avoid NULL pointer dereference

10 years agotranscode: initialize audio encoder properly when first packet arrives
Ilkka Ollakka [Wed, 4 Dec 2013 12:42:30 +0000 (14:42 +0200)]
transcode: initialize audio encoder properly when first packet arrives

10 years agoQt: SoutWidgets: refactor (fix #8865)
Francois Cartegnie [Wed, 4 Dec 2013 12:41:56 +0000 (13:41 +0100)]
Qt: SoutWidgets: refactor (fix #8865)

10 years agoDistribute windows_audio_commons.h
Rafaël Carré [Wed, 4 Dec 2013 12:39:27 +0000 (13:39 +0100)]
Distribute windows_audio_commons.h

10 years agoRevert "faad: try to guess channel count if we can, and don't set it to 0 in Open"
Ilkka Ollakka [Wed, 4 Dec 2013 07:45:18 +0000 (09:45 +0200)]
Revert "faad: try to guess channel count if we can, and don't set it to 0 in Open"

This reverts commit c2e4f7c67765ab9ef464f4e320128056133d5f3a.

10 years agotranscode: initialize audio encoder after first packet arrives
Ilkka Ollakka [Tue, 3 Dec 2013 20:26:36 +0000 (22:26 +0200)]
transcode: initialize audio encoder after first packet arrives

Similar approach as video encoding does, helps for example with faad
module that in some cases only gets proper audio properties on decoding.

Ref #9022,#6298

10 years agotranscode: cosmetic
Ilkka Ollakka [Tue, 3 Dec 2013 15:55:33 +0000 (17:55 +0200)]
transcode: cosmetic

10 years agotranscode: assume user requests visible width/height so init those instead of with...
Ilkka Ollakka [Tue, 3 Dec 2013 15:55:20 +0000 (17:55 +0200)]
transcode: assume user requests visible width/height so init those instead of with/height

10 years agoavcodec: just set timestamp at beginning of block
Ilkka Ollakka [Mon, 2 Dec 2013 13:01:04 +0000 (15:01 +0200)]
avcodec: just set timestamp at beginning of block

It's used only to calculate timestamps if block needs to be divided into
multiple frames and not in overall timestamp keeping.

10 years agotranscode: small refactor
Ilkka Ollakka [Fri, 22 Nov 2013 19:58:57 +0000 (21:58 +0200)]
transcode: small refactor

10 years agotranscode: add some comments
Ilkka Ollakka [Fri, 22 Nov 2013 19:56:33 +0000 (21:56 +0200)]
transcode: add some comments

10 years agodemux: asf: correctly flag invalid time
Francois Cartegnie [Tue, 26 Nov 2013 14:27:37 +0000 (15:27 +0100)]
demux: asf: correctly flag invalid time

10 years agodemux: asf: reset PCR on seek
Francois Cartegnie [Tue, 3 Dec 2013 16:41:51 +0000 (17:41 +0100)]
demux: asf: reset PCR on seek

10 years agodemux: asf: wait keyframe on index seek too
Francois Cartegnie [Tue, 3 Dec 2013 14:59:03 +0000 (15:59 +0100)]
demux: asf: wait keyframe on index seek too

Index could be post keyframe type !

10 years agodvbpsi: do not spam the debug log at each PMT update
Rafaël Carré [Tue, 3 Dec 2013 09:30:19 +0000 (10:30 +0100)]
dvbpsi: do not spam the debug log at each PMT update

dvbpsi own debug messages are not needed to debug VLC modules

10 years agodvbpsi: do not print a message if message type is DVBPSI_MSG_NONE
Rafaël Carré [Tue, 3 Dec 2013 09:29:30 +0000 (10:29 +0100)]
dvbpsi: do not print a message if message type is DVBPSI_MSG_NONE

This value is documented as '/*!< No messages */'

10 years agoplaylist demux: do not use index()
Rafaël Carré [Tue, 3 Dec 2013 08:14:16 +0000 (09:14 +0100)]
playlist demux: do not use index()

marked as LEGACY in POSIX.1-2001.
POSIX.1-2008 removes the  specifications  of  index()
and rindex(), recommending strchr(3) and strrchr(3) instead.

10 years agocontrib: don't build glib by default
Rafaël Carré [Tue, 3 Dec 2013 08:04:51 +0000 (09:04 +0100)]
contrib: don't build glib by default

We only need it as a dependency of another library (fluidsynth)

10 years agodecoder: Simplify DecoderWaitUnblock() proto
Rafaël Carré [Wed, 27 Nov 2013 15:04:28 +0000 (16:04 +0100)]
decoder: Simplify DecoderWaitUnblock() proto

10 years agodecoder: merge DecoderError into DecoderProcess
Rafaël Carré [Wed, 27 Nov 2013 14:49:22 +0000 (15:49 +0100)]
decoder: merge DecoderError into DecoderProcess

10 years agodecoder: cosmetics
Rafaël Carré [Wed, 27 Nov 2013 14:49:03 +0000 (15:49 +0100)]
decoder: cosmetics

10 years agocodec/fluidsynth: fixed linking on Darwin
Felix Paul Kühne [Fri, 29 Nov 2013 17:44:54 +0000 (18:44 +0100)]
codec/fluidsynth: fixed linking on Darwin

10 years agocontrib/fluidsynth: add glib dependency
Felix Paul Kühne [Fri, 29 Nov 2013 17:44:26 +0000 (18:44 +0100)]
contrib/fluidsynth: add glib dependency

10 years agocontrib: added target for libffi since it is required to compile glib, which in turn...
Felix Paul Kühne [Fri, 29 Nov 2013 17:43:48 +0000 (18:43 +0100)]
contrib: added target for libffi since it is required to compile glib, which in turn is needed for Fluidsynth on Darwin (refs #10014)

10 years agocontrib: added target for glib since this is a required dependency to compile fluidsy...
Felix Paul Kühne [Fri, 29 Nov 2013 17:42:56 +0000 (18:42 +0100)]
contrib: added target for glib since this is a required dependency to compile fluidsynth (refs #10014)

10 years agodemux: playlist: asx: handle common mime type for asx playlist and asf
Francois Cartegnie [Mon, 2 Dec 2013 18:47:46 +0000 (19:47 +0100)]
demux: playlist: asx: handle common mime type for asx playlist and asf

http://gonze.com/playlists/playlist-format-survey.html#ASX

10 years agoQt: update QUrlValidator (fix #9932)
Francois Cartegnie [Mon, 2 Dec 2013 17:54:55 +0000 (18:54 +0100)]
Qt: update QUrlValidator (fix #9932)

somehow #3435

10 years agoaudio unit: fix init order
Felix Paul Kühne [Mon, 2 Dec 2013 17:06:46 +0000 (18:06 +0100)]
audio unit: fix init order

10 years agoFreetype: fix compilation with 2.5.1
Jean-Baptiste Kempf [Mon, 2 Dec 2013 16:32:07 +0000 (17:32 +0100)]
Freetype: fix compilation with 2.5.1

Close #10019

10 years agoaudiounit: fix crash
Felix Paul Kühne [Mon, 2 Dec 2013 16:14:18 +0000 (17:14 +0100)]
audiounit: fix crash

10 years agodeinterlace: fix segmentation fault (fixes #9916)
Rémi Denis-Courmont [Mon, 2 Dec 2013 16:04:19 +0000 (18:04 +0200)]
deinterlace: fix segmentation fault (fixes #9916)

10 years agodemux: asf: fix keyframe waiting after a seek (fix #6647)
Francois Cartegnie [Wed, 27 Nov 2013 10:54:11 +0000 (11:54 +0100)]
demux: asf: fix keyframe waiting after a seek (fix #6647)

Having pts doesn't mean we have a valid index.
Also, waiting 50 frames, including all streams is pointless.
We expect at least a keyframe within 60 sec on seek track.
This wait is lowered to 5 sec of data if we estimate a low
bandwidth (that one might need a better hint)

10 years agodemux: asf: remember extended stream parameters for tracks
Francois Cartegnie [Mon, 2 Dec 2013 12:51:41 +0000 (13:51 +0100)]
demux: asf: remember extended stream parameters for tracks

10 years agocontrib: fix compilation of libraries for iOS which deploy cmake
Felix Paul Kühne [Sat, 30 Nov 2013 19:05:58 +0000 (20:05 +0100)]
contrib: fix compilation of libraries for iOS which deploy cmake

10 years agoFixed warning on incompatible pointer types
Maxim Bublis [Wed, 20 Nov 2013 09:52:59 +0000 (13:52 +0400)]
Fixed warning on incompatible pointer types

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
10 years agolua sd: fix potential memory leaks (cdi #1048936)
Rémi Duraffort [Mon, 2 Dec 2013 07:57:03 +0000 (08:57 +0100)]
lua sd: fix potential memory leaks (cdi #1048936)

10 years agoaudioscrobbler: fix memory leak (cid #1048937 and others)
Rémi Duraffort [Mon, 2 Dec 2013 07:52:27 +0000 (08:52 +0100)]
audioscrobbler: fix memory leak (cid #1048937 and others)

10 years agoaudioscrobbler: factorize test and fix potential memleak
Rémi Duraffort [Mon, 2 Dec 2013 07:48:12 +0000 (08:48 +0100)]
audioscrobbler: factorize test and fix potential memleak

10 years agortsp: fix memory leaks and factorize (cid #1048938)
Rémi Duraffort [Mon, 2 Dec 2013 07:42:40 +0000 (08:42 +0100)]
rtsp: fix memory leaks and factorize (cid #1048938)

10 years agosap: fix potential memory leak (cid #1048940)
Rémi Duraffort [Mon, 2 Dec 2013 07:37:04 +0000 (08:37 +0100)]
sap: fix potential memory leak (cid #1048940)

10 years agoaccess/zip:patch for memory leak in zipstream.c #8726
Gaurav Pruthi [Mon, 25 Nov 2013 09:49:38 +0000 (09:49 +0000)]
access/zip:patch for memory leak in zipstream.c #8726

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoFixed unused variable and parameter warnings.
Maxim Bublis [Fri, 22 Nov 2013 19:07:20 +0000 (19:07 +0000)]
Fixed unused variable and parameter warnings.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agohqdn3d: add mutex on callback and delete callback on close
Ilkka Ollakka [Sun, 1 Dec 2013 11:08:06 +0000 (13:08 +0200)]
hqdn3d: add mutex on callback and delete callback on close

Now callbacks are thread-safe and don't block UI thread while
calculating coefs again.

Also remove callbacks on Close.

10 years agovout: missing initializer (cid #1049030)
Francois Cartegnie [Sat, 30 Nov 2013 20:24:44 +0000 (21:24 +0100)]
vout: missing initializer (cid #1049030)

button might be unmatched

10 years agodemux: mkv: fix use after free (cid #1049107)
Francois Cartegnie [Sat, 30 Nov 2013 20:10:51 +0000 (21:10 +0100)]
demux: mkv: fix use after free (cid #1049107)

GetMainName() can return a pointer to temporary string::

10 years agovlmshell: fix null pointer dereference (cid #1049028)
Francois Cartegnie [Sat, 30 Nov 2013 19:46:36 +0000 (20:46 +0100)]
vlmshell: fix null pointer dereference (cid #1049028)

10 years agodemux: mkv: fix use after free (cid #1049108)
Francois Cartegnie [Sat, 30 Nov 2013 20:03:26 +0000 (21:03 +0100)]
demux: mkv: fix use after free (cid #1049108)

10 years agoAvoid redeclaration of lseek under MSVC.
Felix Abecassis [Fri, 29 Nov 2013 16:43:12 +0000 (17:43 +0100)]
Avoid redeclaration of lseek under MSVC.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAdd missing include in order to provide a declaration of _pipe under MSVC.
Felix Abecassis [Fri, 29 Nov 2013 16:43:11 +0000 (17:43 +0100)]
Add missing include in order to provide a declaration of _pipe under MSVC.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoImplement atomic operations for MSVC using the Interlocked API.
Felix Abecassis [Fri, 29 Nov 2013 16:41:33 +0000 (17:41 +0100)]
Implement atomic operations for MSVC using the Interlocked API.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoImplement ATTR_PACKED for MSVC.
Felix Abecassis [Fri, 29 Nov 2013 16:41:31 +0000 (17:41 +0100)]
Implement ATTR_PACKED for MSVC.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAdd #ifdef clauses around MinGW specific code.
Felix Abecassis [Fri, 29 Nov 2013 16:41:28 +0000 (17:41 +0100)]
Add #ifdef clauses around MinGW specific code.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAvcodec: use the already computed size
Jean-Baptiste Kempf [Fri, 29 Nov 2013 18:28:59 +0000 (19:28 +0100)]
Avcodec: use the already computed size

10 years agoXiph: fix sign warning
Jean-Baptiste Kempf [Fri, 29 Nov 2013 18:28:46 +0000 (19:28 +0100)]
Xiph: fix sign warning

10 years agoAVI: fix sign warning for DV Audio
Jean-Baptiste Kempf [Fri, 29 Nov 2013 18:28:32 +0000 (19:28 +0100)]
AVI: fix sign warning for DV Audio

10 years agoUleadDVAudio: fix signedness warning
Jean-Baptiste Kempf [Fri, 29 Nov 2013 18:28:01 +0000 (19:28 +0100)]
UleadDVAudio: fix signedness warning

10 years agoCDG: fix warning
Jean-Baptiste Kempf [Fri, 29 Nov 2013 18:27:46 +0000 (19:27 +0100)]
CDG: fix warning

10 years agoFix KEY_PAUSE double-definition
Jean-Baptiste Kempf [Fri, 29 Nov 2013 17:53:00 +0000 (18:53 +0100)]
Fix KEY_PAUSE double-definition

10 years agoavcodec: set dummy time base value in probing
Ilkka Ollakka [Sat, 30 Nov 2013 14:55:00 +0000 (16:55 +0200)]
avcodec: set dummy time base value in probing

Set time base on fps=25 as some codecs need it to be set (atleast DIV3).

10 years agoavcodec: define 1/2 second buffer size by default
Ilkka Ollakka [Sat, 30 Nov 2013 14:47:28 +0000 (16:47 +0200)]
avcodec: define 1/2 second buffer size by default

mpeg-based codecs seems to require this to be able to produce ~cbr
output. Should Fix #8239 and #9983

10 years agofourcc: fix empty initializer
Felix Abecassis [Fri, 29 Nov 2013 16:43:10 +0000 (17:43 +0100)]
fourcc: fix empty initializer

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agonetwork: undef EAFNOSUPPORT before overriding it.
Felix Abecassis [Fri, 29 Nov 2013 16:41:32 +0000 (17:41 +0100)]
network: undef EAFNOSUPPORT before overriding it.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoFix concatenation of Unicode string literals.
Felix Abecassis [Fri, 29 Nov 2013 16:41:27 +0000 (17:41 +0100)]
Fix concatenation of Unicode string literals.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoRemove old stray definitions
Rémi Denis-Courmont [Sat, 30 Nov 2013 13:11:37 +0000 (15:11 +0200)]
Remove old stray definitions