]> git.sesse.net Git - vlc/log
vlc
9 years agoUPnP: important rewrite
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 17:52:44 +0000 (18:52 +0100)]
UPnP: important rewrite

This is splitting the UPnP module in 2 parts:
- A service discovery module that is solely responsible for discovering
UPnP devices on the network
- An access module that will leverage the recently introduced
pf_readdir callback to list directories.

This removes the need for recursion and handling of all the items from
within the SD module.

9 years agoContribs: disabling decoders is not a great idea
Jean-Baptiste Kempf [Wed, 11 Mar 2015 14:28:38 +0000 (15:28 +0100)]
Contribs: disabling decoders is not a great idea

Especially since libavcodec DTS is soon going to be way better than
libdca

9 years agoAudioTrack: fix typo while squashing commits
Jean-Baptiste Kempf [Wed, 11 Mar 2015 14:25:14 +0000 (15:25 +0100)]
AudioTrack: fix typo while squashing commits

9 years agoaudiotrack: add AC3 passthrough support
Thomas Guillem [Wed, 11 Mar 2015 14:00:50 +0000 (15:00 +0100)]
audiotrack: add AC3 passthrough support

Try to configure AudioTrack with AC3 passthrough after Android Lollipop. If it
fails, fallback to PCM 5.1. If it fails again, fallback to PCM stereo.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: finish float support
Thomas Guillem [Wed, 11 Mar 2015 14:00:49 +0000 (15:00 +0100)]
audiotrack: finish float support

You have to call the write method with float array (starting API 21)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: refactor Write
Thomas Guillem [Wed, 11 Mar 2015 14:00:48 +0000 (15:00 +0100)]
audiotrack: refactor Write

Don't change p_buffer internal values, but use a local offset to know the
position.

The main advantage is that we can use this offset with the Android write method
in order to avoid a Java copy when you call Write several time for the same
p_buffer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix deadlock if JNIThread has an error
Thomas Guillem [Wed, 11 Mar 2015 14:00:47 +0000 (15:00 +0100)]
audiotrack: fix deadlock if JNIThread has an error

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: don't re-init to NULL
Thomas Guillem [Wed, 11 Mar 2015 14:00:46 +0000 (15:00 +0100)]
audiotrack: don't re-init to NULL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: refactor Configure and Start
Thomas Guillem [Wed, 11 Mar 2015 14:00:45 +0000 (15:00 +0100)]
audiotrack: refactor Configure and Start

Rename JNIThread_Configure into JNIThread_NewAudioTrack. This function doesn't
touch any vlc format anymore, it does only Android AudioTrack configuration.
The VLC init part is done by the Start function. JNIThread_NewAudioTrack can be
called up to 3 times by Start with different channels and format until if find
a working configuration. Indeed some devices don't support 5.1, or FL32.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: lpcm: fix AOB decoding (fix #11936)
Francois Cartegnie [Tue, 10 Mar 2015 18:05:22 +0000 (19:05 +0100)]
demux: lpcm: fix AOB decoding (fix #11936)

Fixes endianness and aout 16/32 bits.
AOB channels are split into 2 groups, with only one
that might be in use. They both can differ in
resolution and sampling rate.
We have to set output buffer to max bits of those two
and adapt reads accordingly to each group.
We'll reject only different group sampling rates
(missing spec about interleaving).

9 years agoReimplement NumInRange without strtol
Hugo Beauzée-Luyssen [Wed, 11 Mar 2015 09:35:22 +0000 (10:35 +0100)]
Reimplement NumInRange without strtol

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoRelicense duplicate to LGPL
Jean-Baptiste Kempf [Wed, 11 Mar 2015 09:22:31 +0000 (10:22 +0100)]
Relicense duplicate to LGPL

9 years agoDuplicate: destroy the NumInRange implementation
Jean-Baptiste Kempf [Wed, 11 Mar 2015 09:20:20 +0000 (10:20 +0100)]
Duplicate: destroy the NumInRange implementation

!!! This code is now BROKEN.

This remove the code from Andy Chenee

9 years agoRemove duplicate translator entry per request
Christoph Miebach [Tue, 10 Mar 2015 20:13:52 +0000 (16:13 -0400)]
Remove duplicate translator entry per request

9 years agoAdd vlc_UrlParse tests
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 14:45:03 +0000 (15:45 +0100)]
Add vlc_UrlParse tests

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agotext: url: Fix options parsing
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 14:45:04 +0000 (15:45 +0100)]
text: url: Fix options parsing

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoChange translator name per request
Christoph Miebach [Tue, 10 Mar 2015 18:14:08 +0000 (14:14 -0400)]
Change translator name per request

9 years agoaudiotrack: simplify channel reordering
Thomas Guillem [Tue, 10 Mar 2015 13:58:00 +0000 (13:58 +0000)]
audiotrack: simplify channel reordering

And do it for every channels configuration.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix typo
Thomas Guillem [Tue, 10 Mar 2015 13:59:41 +0000 (13:59 +0000)]
audiotrack: fix typo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: use VLC_CLIP
Thomas Guillem [Tue, 10 Mar 2015 13:59:40 +0000 (13:59 +0000)]
audiotrack: use VLC_CLIP

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: VP9 has incremental frames, no B-frames
Steve Lhomme [Tue, 10 Mar 2015 10:48:47 +0000 (10:48 +0000)]
MKV: VP9 has incremental frames, no B-frames

Fixes #11690

#11690 still fails to play with avcodec after that fix but is fine with libvpx

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agocodec: lpcm: convert endianness for 16bits AOB
Francois Cartegnie [Tue, 10 Mar 2015 14:33:49 +0000 (15:33 +0100)]
codec: lpcm: convert endianness for 16bits AOB

refs #11936 http://mpchc.omertabeyond.com/incorrect_audio_stream.AOB

9 years agodsm: Fix leak
Hugo Beauzée-Luyssen [Tue, 10 Mar 2015 13:33:26 +0000 (14:33 +0100)]
dsm: Fix leak

9 years agodsm: sd: Check for malloc failure
Hugo Beauzée-Luyssen [Fri, 6 Mar 2015 14:12:41 +0000 (15:12 +0100)]
dsm: sd: Check for malloc failure

9 years agodemux: ts: remove PES full header check
Francois Cartegnie [Tue, 10 Mar 2015 13:18:32 +0000 (14:18 +0100)]
demux: ts: remove PES full header check

Some full headers (including filling) are more than 34 bytes.
Now fail late parsing it, and relegate header>packet size check
to caller.

9 years agosftp: fix read
Petri Hintukainen [Tue, 10 Mar 2015 09:03:23 +0000 (11:03 +0200)]
sftp: fix read

libssh2_sftp_read may return less than requested.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: add 5.1 and 7.1 support
Thomas Guillem [Mon, 9 Mar 2015 16:48:22 +0000 (17:48 +0100)]
audiotrack: add 5.1 and 7.1 support

Works with SPDIF and HDMI audio output. Android will downmix to stereo if the
audio output is stereo.

7.1 support was added since Android 5.0.

5.1 support was added since the beginning but doesn't work on old devices.
That's why we fallback to stereo if AudioTrack fails to init with more than 2
channels.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoWin32 Vout: if a crop/aspect ratio is received, force the texture update
Steve Lhomme [Mon, 9 Mar 2015 15:11:31 +0000 (16:11 +0100)]
Win32 Vout: if a crop/aspect ratio is received, force the texture update

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoDirect3D vout: more debugging info
Steve Lhomme [Mon, 9 Mar 2015 15:35:34 +0000 (16:35 +0100)]
Direct3D vout: more debugging info

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoRevert "--stats: default to false" (fixes #14035)
Rémi Denis-Courmont [Mon, 2 Mar 2015 18:28:14 +0000 (20:28 +0200)]
Revert "--stats: default to false" (fixes #14035)

This reverts commit c24ea5fb3af17c08ea12d94a106577d06e9f4870.

Signed-off-by: Rafaël Carré <funman@videolan.org>
9 years agoqt: fix recent input item usage
Rémi Denis-Courmont [Mon, 9 Mar 2015 16:46:00 +0000 (18:46 +0200)]
qt: fix recent input item usage

 - Fix encoding (fixes #14123)
 - Fix data race on URI
 - Avoid useless variable retrievals
 - Avoid upcasting to double precision

9 years agocodec: lpcm: reorder channels only after decoding (fix #14114)
Francois Cartegnie [Mon, 9 Mar 2015 16:00:15 +0000 (17:00 +0100)]
codec: lpcm: reorder channels only after decoding (fix #14114)

24bit LPCM is packed and can't be reordered without introducing
clipping issues.

9 years agoAdd TTML FourCC
Jean-Baptiste Kempf [Mon, 9 Mar 2015 14:17:55 +0000 (15:17 +0100)]
Add TTML FourCC

9 years agod3d11 vout plugin
Martell Malone [Wed, 24 Dec 2014 16:37:27 +0000 (16:37 +0000)]
d3d11 vout plugin

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMEDIASUBTYPE_I420 is in add wmcodecdsp.h
Martell Malone [Wed, 18 Feb 2015 15:28:58 +0000 (15:28 +0000)]
MEDIASUBTYPE_I420 is in add wmcodecdsp.h

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoFixed warning for uninitialized variable
Ian Chamberlain [Sun, 1 Mar 2015 07:02:22 +0000 (07:02 +0000)]
Fixed warning for uninitialized variable

This was an uninitialized variable, as far as I could tell there was no reason not to initialize it to NULL in these two cases.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: MKV_DEBUG is a define to set, not a particular value
Steve Lhomme [Mon, 2 Mar 2015 08:15:57 +0000 (08:15 +0000)]
MKV: MKV_DEBUG is a define to set, not a particular value

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: do not hard define MKV_DEBUG
Steve Lhomme [Mon, 2 Mar 2015 08:09:27 +0000 (08:09 +0000)]
MKV: do not hard define MKV_DEBUG

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agogestures: fix: allow gesture to be triggered
Zoran Turalija [Sun, 8 Mar 2015 15:35:33 +0000 (15:35 +0000)]
gestures: fix: allow gesture to be triggered

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agomacosx: fix initialization of nonembedded window
David Fuhrmann [Sun, 8 Mar 2015 16:49:01 +0000 (17:49 +0100)]
macosx: fix initialization of nonembedded window

9 years agomacosx: playlist: catch update events for metadata and info
David Fuhrmann [Sun, 8 Mar 2015 16:14:53 +0000 (17:14 +0100)]
macosx: playlist: catch update events for metadata and info

Playlist view gets updated to display new information.
Info dialog gets updates (shows only information about currently
played input at the moment).

close #13729

9 years agomacosx: playlist: update sidebar badge after playlist changed
David Fuhrmann [Sat, 7 Mar 2015 12:10:37 +0000 (13:10 +0100)]
macosx: playlist: update sidebar badge after playlist changed

9 years agomacosx: playlist: deselect item after changing categories
David Fuhrmann [Sat, 7 Mar 2015 12:09:52 +0000 (13:09 +0100)]
macosx: playlist: deselect item after changing categories

9 years agomacosx: remove remnants of old playlist update mechanism
David Fuhrmann [Sat, 7 Mar 2015 11:37:31 +0000 (12:37 +0100)]
macosx: remove remnants of old playlist update mechanism

9 years agomacosx: playlist: simplify deletion code
David Fuhrmann [Sat, 7 Mar 2015 11:05:18 +0000 (12:05 +0100)]
macosx: playlist: simplify deletion code

9 years agomacosx: select currently played item
David Fuhrmann [Sat, 7 Mar 2015 10:05:46 +0000 (11:05 +0100)]
macosx: select currently played item

And expand outline view tree if necessary.

9 years agocontrib: gme: don't skip negative (fixes #14088)
Hannes Domani [Fri, 6 Mar 2015 13:43:45 +0000 (14:43 +0100)]
contrib: gme: don't skip negative (fixes #14088)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoqtcapture: Clarify help text for qtcapture args
Jed Smith [Sun, 8 Mar 2015 02:02:03 +0000 (18:02 -0800)]
qtcapture: Clarify help text for qtcapture args

The maximum resolution encouraged in the help text for the qtcapture
arguments is 1280x480, which doesn't make sense. The patch author
intended to imply 720p but appears to have forgotten the height
dimension. In addition, clean up the help text a bit.

--qtcapture-height works with 720, anyway, so it's just a doc issue.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: mp4: add dts/pts index entries count guards (fix #14047)
Francois Cartegnie [Sat, 7 Mar 2015 18:03:55 +0000 (19:03 +0100)]
demux: mp4: add dts/pts index entries count guards (fix #14047)

9 years agodemux: mp4: fix memleak on error
Francois Cartegnie [Sat, 7 Mar 2015 18:00:59 +0000 (19:00 +0100)]
demux: mp4: fix memleak on error

9 years agodemux: mp4: fix memleak on error
Francois Cartegnie [Sat, 7 Mar 2015 17:26:31 +0000 (18:26 +0100)]
demux: mp4: fix memleak on error

9 years agodemux: ts: send discontinuity flagged block to es on seek
Francois Cartegnie [Sat, 7 Mar 2015 10:52:28 +0000 (11:52 +0100)]
demux: ts: send discontinuity flagged block to es on seek

9 years agodemux: ts: filter out es according to selection
Francois Cartegnie [Fri, 6 Mar 2015 21:36:25 +0000 (22:36 +0100)]
demux: ts: filter out es according to selection

All ES packets are gathered if there's no access control/dvb
filtering, adding lots of memcopy/realloc operations for packets
which will be discarded later by ES out.

9 years agodemux: ts: don't delete unknown group
Francois Cartegnie [Fri, 6 Mar 2015 21:30:40 +0000 (22:30 +0100)]
demux: ts: don't delete unknown group

9 years agodemux: ts: describe unknown es
Francois Cartegnie [Fri, 6 Mar 2015 12:37:41 +0000 (13:37 +0100)]
demux: ts: describe unknown es

9 years agodemux: ts: SetPIDFilter: pass by pid
Francois Cartegnie [Thu, 5 Mar 2015 14:28:12 +0000 (15:28 +0100)]
demux: ts: SetPIDFilter: pass by pid

9 years agoHLS: store IVs per segment
Rafaël Carré [Fri, 6 Mar 2015 18:36:40 +0000 (19:36 +0100)]
HLS: store IVs per segment

9 years agomacosx: Fix index out of bound crash in open dialog
David Fuhrmann [Thu, 5 Mar 2015 18:13:58 +0000 (19:13 +0100)]
macosx: Fix index out of bound crash in open dialog

This happend when multiple audio devices with the same name are
connected.

9 years agoaudiotrack: Fix deadlock with Android 4.4.2, 4.4.3 and 4.4.4
Thomas Guillem [Thu, 5 Mar 2015 18:03:33 +0000 (19:03 +0100)]
audiotrack: Fix deadlock with Android 4.4.2, 4.4.3 and 4.4.4

see https://code.google.com/p/android/issues/detail?id=65807
see https://code.google.com/p/android/issues/detail?id=70877

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: wait more when internal buffer is full
Thomas Guillem [Thu, 5 Mar 2015 18:03:32 +0000 (19:03 +0100)]
audiotrack: wait more when internal buffer is full

Less CPU usage.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix play wait delay
Thomas Guillem [Thu, 5 Mar 2015 18:03:31 +0000 (19:03 +0100)]
audiotrack: fix play wait delay

Don't postpone delay when a command is received.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: move variable in good scope
Thomas Guillem [Thu, 5 Mar 2015 18:03:30 +0000 (19:03 +0100)]
audiotrack: move variable in good scope

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix crash
Thomas Guillem [Thu, 5 Mar 2015 16:17:50 +0000 (17:17 +0100)]
audiotrack: fix crash

Create the thread after p_aout->sys is set.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: deactivate getTimestamp
Thomas Guillem [Tue, 3 Mar 2015 17:05:40 +0000 (18:05 +0100)]
audiotrack: deactivate getTimestamp

It is maybe miss used, but the delay reported by this function is not coherent.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: add WriteV21 (for Lollipop)
Thomas Guillem [Tue, 3 Mar 2015 17:05:39 +0000 (18:05 +0100)]
audiotrack: add WriteV21 (for Lollipop)

There is a new write method that can be non blocking and that can use a direct
ByteBuffer (no memcpy between java and jni).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix too unstable delay and write taking too much time
Thomas Guillem [Tue, 3 Mar 2015 18:00:55 +0000 (19:00 +0100)]
audiotrack: fix too unstable delay and write taking too much time

- All JNIThread commands are now executed in a locked state.

- The delay (audiotrack delay + queue delay) is now calculated inside JNIThread.

- Write is now non-blocking and return almost immediately (it takes between 5us
  and 100us). Indeed when audiotrack internal buffer was full, write method was
  taking way too much time, therefore others commands were not processed in
  time (like TIME_GET).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: check init state
Thomas Guillem [Tue, 3 Mar 2015 17:05:37 +0000 (18:05 +0100)]
audiotrack: check init state

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agovdpau: make version requirements more explicit (fixes #14070)
Rémi Denis-Courmont [Tue, 3 Mar 2015 21:24:55 +0000 (23:24 +0200)]
vdpau: make version requirements more explicit (fixes #14070)

9 years agovlc_path2uri: remove no-op
Rémi Denis-Courmont [Tue, 3 Mar 2015 20:22:24 +0000 (22:22 +0200)]
vlc_path2uri: remove no-op

9 years agovlc_path2uri: allow file names starting with a pair of backslashes
Rémi Denis-Courmont [Tue, 3 Mar 2015 20:18:48 +0000 (22:18 +0200)]
vlc_path2uri: allow file names starting with a pair of backslashes

9 years agopo: update POTFILES.in
Rémi Denis-Courmont [Mon, 2 Mar 2015 22:10:34 +0000 (00:10 +0200)]
po: update POTFILES.in

9 years agodemux: ts: correctly swap es id on restart
Francois Cartegnie [Tue, 3 Mar 2015 16:18:09 +0000 (17:18 +0100)]
demux: ts: correctly swap es id on restart

and missing extra es

9 years agodemux: ts: fix mpeg4desc leak
Francois Cartegnie [Tue, 3 Mar 2015 16:17:33 +0000 (17:17 +0100)]
demux: ts: fix mpeg4desc leak

9 years agodemux: ts: ts_pid_t packing
Francois Cartegnie [Tue, 3 Mar 2015 15:33:57 +0000 (16:33 +0100)]
demux: ts: ts_pid_t packing

From 56 to 40 bytes on 64bit systems, saves 128KB

9 years agodemux: libmp4: enforce bounds reading container
Francois Cartegnie [Tue, 3 Mar 2015 12:45:47 +0000 (13:45 +0100)]
demux: libmp4: enforce bounds reading container

9 years agoContribs: update libvorbis to 1.3.5
Jean-Baptiste Kempf [Tue, 3 Mar 2015 11:21:20 +0000 (12:21 +0100)]
Contribs: update libvorbis to 1.3.5

And drop all our patches :)

9 years agovdr: really fix sizeof mismatch
Tristan Matthews [Tue, 3 Mar 2015 08:15:36 +0000 (03:15 -0500)]
vdr: really fix sizeof mismatch

9 years agomacosx: fix rare crash in VLCTimeField
David Fuhrmann [Mon, 2 Mar 2015 21:45:03 +0000 (22:45 +0100)]
macosx: fix rare crash in VLCTimeField

initWithFrame: is not always the designated initializer, thus the
object got improperly initialized. Use default initialization and
simplify code.

9 years agoinclude: install <vlc_interface.h>
Rémi Denis-Courmont [Mon, 2 Mar 2015 20:44:36 +0000 (22:44 +0200)]
include: install <vlc_interface.h>

9 years agocontrol: move CONSOLE_INTRO_MSG to a private header
Rémi Denis-Courmont [Mon, 2 Mar 2015 20:44:17 +0000 (22:44 +0200)]
control: move CONSOLE_INTRO_MSG to a private header

9 years agooldrc: only invoke console intro message where applicable
Rémi Denis-Courmont [Mon, 2 Mar 2015 20:37:53 +0000 (22:37 +0200)]
oldrc: only invoke console intro message where applicable

9 years agodemux: ts: rewrite psi structures and pid use tracking
Francois Cartegnie [Sun, 1 Mar 2015 19:52:32 +0000 (20:52 +0100)]
demux: ts: rewrite psi structures and pid use tracking

* Fully track pid parenting
* Simplify tables updates by ref counting
* No longer allows pid collisions by funky or forged tables
* Kills the 0..8192 loops
* Removes the 8192 stream_Control on close
* Remove unnecessary members and arrays
* Removes the nonsense multiple program by pmt
* Avoids by number/pid lookups
* Restarts ES on format change

9 years agodemux: mp4: text/tx3g defaults to codec tx3G (fix #14045)
Francois Cartegnie [Mon, 2 Mar 2015 15:33:57 +0000 (16:33 +0100)]
demux: mp4: text/tx3g defaults to codec tx3G (fix #14045)

9 years agoWin32: timestamp the signature
Jean-Baptiste Kempf [Sun, 1 Mar 2015 22:54:47 +0000 (23:54 +0100)]
Win32: timestamp the signature

Close #14053

9 years agodemux: ts: fix bisection loop on missing results
Francois Cartegnie [Sun, 1 Mar 2015 19:48:01 +0000 (20:48 +0100)]
demux: ts: fix bisection loop on missing results

9 years agoAvcodec: fix compilation with some FFmpeg versions
Jean-Baptiste Kempf [Sun, 1 Mar 2015 14:05:56 +0000 (15:05 +0100)]
Avcodec: fix compilation with some FFmpeg versions

Close #12135

9 years agosnapshot: fix format string portability
Rémi Denis-Courmont [Sun, 1 Mar 2015 09:52:46 +0000 (11:52 +0200)]
snapshot: fix format string portability

We cannot assume that timeval.tv_usec (i.e. suseconds_t) is long.

Reported-by: Ian Chamberlain <ian.h.chamberlain@gmail.com>
9 years agowinstore: fix activation callback parameters handling
Rémi Denis-Courmont [Sun, 1 Mar 2015 09:11:47 +0000 (11:11 +0200)]
winstore: fix activation callback parameters handling

9 years agostr_format_meta: missing initializer on error path
Rémi Denis-Courmont [Sun, 1 Mar 2015 08:08:30 +0000 (10:08 +0200)]
str_format_meta: missing initializer on error path

9 years agoMKV: make sure the position we keep for reference is the one we read
Steve Lhomme [Fri, 27 Feb 2015 14:26:59 +0000 (15:26 +0100)]
MKV: make sure the position we keep for reference is the one we read

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: avoid recursive parsing of the same Seek head
Steve Lhomme [Fri, 27 Feb 2015 14:43:56 +0000 (15:43 +0100)]
MKV: avoid recursive parsing of the same Seek head

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: allow dummy elements in Tags to skip old deprecated elements
Steve Lhomme [Fri, 27 Feb 2015 15:30:08 +0000 (16:30 +0100)]
MKV: allow dummy elements in Tags to skip old deprecated elements

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: Void and CRC32 are not unknown elements
Steve Lhomme [Fri, 27 Feb 2015 14:41:40 +0000 (15:41 +0100)]
MKV: Void and CRC32 are not unknown elements

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agocontribs: vorbis: Fix msvc build
Hugo Beauzée-Luyssen [Tue, 3 Feb 2015 12:51:52 +0000 (13:51 +0100)]
contribs: vorbis: Fix msvc build

9 years agocontribs: opus: Fix MSVC build
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 16:47:55 +0000 (17:47 +0100)]
contribs: opus: Fix MSVC build

This is applied upstream and can be removed when we update opus version

9 years agocontribs: fribidi: Fix MSVC build
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 15:57:03 +0000 (16:57 +0100)]
contribs: fribidi: Fix MSVC build

9 years agocontribs: openjpeg: Fix windows build
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 15:52:03 +0000 (16:52 +0100)]
contribs: openjpeg: Fix windows build

9 years agocontribs: Fix mpcdec build with MSVC
Hugo Beauzée-Luyssen [Wed, 3 Dec 2014 14:47:33 +0000 (15:47 +0100)]
contribs: Fix mpcdec build with MSVC

9 years agowinstore: Acquire the IAudioClient before using it
Hugo Beauzée-Luyssen [Mon, 16 Feb 2015 10:39:51 +0000 (11:39 +0100)]
winstore: Acquire the IAudioClient before using it

9 years agowinstore: Don't free the audio client.
Hugo Beauzée-Luyssen [Tue, 10 Feb 2015 10:58:23 +0000 (11:58 +0100)]
winstore: Don't free the audio client.

It is owned by an external component.