Rémi Denis-Courmont
aa9976b1f4
Qt4: allow either COM model for associations ( fixes #14323 )
The model does not matter here as affected objects do not outlive the
function call and are not used across threads. Still the references
counter of the apartment must remain balanced.
11 years ago
Francois Cartegnie
49df5889db
demux: ts: rename PID(), fix OS/2 compilation
11 years ago
Francois Cartegnie
c1c71c9e81
demux: move mpeg demuxers to mpeg/
11 years ago
Francois Cartegnie
1c2ea1e8cd
mux: mp4: missing MP3 codec
11 years ago
Francois Cartegnie
c5a2e3ebb6
packetizer: h264: remove unwanted debug code
11 years ago
Francois Cartegnie
50accb82e6
demux: ts: delete/and recreate es on format change
refs #14257
11 years ago
Francois Cartegnie
ead70b8145
demux: ts: fix fmt ref on es restart
11 years ago
Francois Cartegnie
53a9fa09fa
packetizer: h264: fix divbyzero
11 years ago
Francois Cartegnie
06682f2208
codec: faad: set default rate to source's ( fix #14213 )
output pts/length is computed from input block pts.
If sample rate is wrong, all timings are borked.
Try to use the declared sample rate if possible.
If source has wrong sample rate
11 years ago
Thomas Guillem
5816897e9f
audiotrack: add an option for maximum number of channels
Android mediaserver crashes when you output 5.1 PCM @48kHz via Audiotrack with
a lot of QCOM devices due to a SIGSEGV in their resampler. It happens with
Samsung Galaxy Tab 3/4, Galaxy S4/S5 and many other devices.
Therefore, activate surround only via an extra option.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
b1e890189b
mediacodec/omxil: blacklist samsung sw decoders
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
604ef75639
mediacodec/omxil: use same blacklist
A crashing decoder via MediaCodec has a lot of chances to crash via omxil.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
82657449a9
audiotrack: use device native sample rate
VLC resampler > android resampler
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Sean McGovern
a65d5bbe86
dvdnav: use RECONF
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Sean McGovern
bdc028195d
dvdread: use RECONF
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
21af43fa28
modules: remove bashism
It Fixes OS/2 compilation.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Francois Cartegnie
a3512c100b
packetizer: h264: reuse interlaced frame dts and interpolate pts ( #6539 )
11 years ago
Francois Cartegnie
b7b9ddb4b4
packetizer: h264: set interlacing flags
11 years ago
Francois Cartegnie
d752671846
packetizer: h264: parse vui and timing info
Extract frame duration and interlacing
11 years ago
Francois Cartegnie
918f445326
demux: ogg: don't send invalid dts stamps and use last pts as chained pcr
11 years ago
Francois Cartegnie
751ecf1c78
demux: ogg: fix old stream format reuse check
11 years ago
Francois Cartegnie
e1ef115131
Qt: align tooltip to slider groove ( fix #14277 )
11 years ago
Felix Paul Kühne
4e9f9cc4b3
ios: enable libdsm
11 years ago
Francois Cartegnie
defb480984
demux: asf: rewrite main loop and add remuxer ( fix #14250 )
Creates a reinterleaving buffer. Works better with big prerolls.
(which implies big dts distance in interleaves)
Changes base pts as well, as some strat frames might have been
dropped.
11 years ago
Francois Cartegnie
a43eb1ab52
demux: ts: fix stream id mask
11 years ago
Thomas Guillem
008a2122ac
mediacodec: don't wait indefinitely for data
The decoder can be in a bad state without throwing any exception.
Issue seen with a MPEG4 sample on a Tegra 3 and Tegra K1 tablet but may happens
on others devices/samples.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
06e37373c2
mediacodec/omxil: blacklist samsung VP8 decoder
Fixes #14227
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
1048c3a1ea
mediacodec: initialize jni fields during first open
No need to re-init all jni fields each time we open MediaCodec decoder.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
31ff9f1844
audiotrack: clip buffer size between 250ms and 1000ms
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
29a4acbd4d
audiotrack: get rid of the thread and the queue
No need to have a queue inside VLC since we can control the size of the
AudioTrack buffer. There is now only one delay to handle, the AudioTrack one.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
16c0f37bc7
android: simplify/improve the attachment of a thread to the Java VM
There is now only one way to get a JNIEnv: jni_get_env. This function use the
thread-specific data (TSD) areas to save a JNIEnv into a TSD key. The thread
will be automatically detached to the Java VM when it's canceled or exited.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Steve Lhomme
70a0829aff
direct3d11: support YV12 which works better with DXVA2
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Rémi Denis-Courmont
2c78571828
Qt: fix sout mux module names
11 years ago
Hugo Beauzée-Luyssen
72b2f4a51d
win32: plugin: Fix inverted logic
SetThreadErrorMode returns 0 on failure
11 years ago
Rémi Denis-Courmont
6b1892fa04
decoder: work around unlikely deadlock in input_DecoderWait()
ES output should probably not wait when there is no data... but it
does it at timest.
11 years ago
Rémi Denis-Courmont
e17d14e32b
decoder: reduce lock scope, remove stray signal
11 years ago
Rémi Denis-Courmont
d2bb4d1b4e
vlc_path2uri: really fix off-by-one error
11 years ago
Steve Lhomme
8f86a6e2ec
DXVA2: fix HEVC buffer frame count
some samples don't render correctly.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Thomas Guillem
c7e2d54675
modules: allow '-' in module filenames
In include/vlc_plugin.h, CONCATENATE was failing due to an unexpected '-'
character.
This fixes build with static modules.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Steve Lhomme
4e702c61ec
DXVA2: log the exact unknown GUID value
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Francois Cartegnie
8516b0f8c7
demux: ts: basic handling of MPEG4-SL
11 years ago
Francois Cartegnie
f26b5f0c2e
demux: ts: add SL access unit gathering struct
11 years ago
Francois Cartegnie
9ed17facf1
demux: ts: extract PES stream id and save type
11 years ago
Francois Cartegnie
1bc2d77be8
demux: ts: decode object stream commands
11 years ago
Francois Cartegnie
4541bee253
demux: ts: rename IOD to OD
iod being only for initial object
11 years ago
Francois Cartegnie
cd081123bc
demux: ts: don't send blocks from tables if no es
11 years ago
Francois Cartegnie
18bc9eaf91
demux: ts: add object stream descriptors
11 years ago
Francois Cartegnie
1dba29e500
demux: ts: just keep logical id on ES
descriptors can then be updated and we'll
be able to do delayed es fmt setup (OD stream parsing)
11 years ago
Francois Cartegnie
05c045e409
demux: ts: split OD/IODInit
11 years ago
Francois Cartegnie
4911e585f8
demux: ts: read ObjectDescriptor
11 years ago