vlc.git
5 years agodvdread: use RECONF
Sean McGovern [Mon, 6 Apr 2015 05:09:20 +0000 (05:09 +0000)]
dvdread: use RECONF

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomodules: remove bashism
Thomas Guillem [Tue, 7 Apr 2015 07:15:48 +0000 (09:15 +0200)]
modules: remove bashism

It Fixes OS/2 compilation.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agopacketizer: h264: reuse interlaced frame dts and interpolate pts (#6539)
Francois Cartegnie [Wed, 25 Mar 2015 22:11:29 +0000 (23:11 +0100)]
packetizer: h264: reuse interlaced frame dts and interpolate pts (#6539)

5 years agopacketizer: h264: set interlacing flags
Francois Cartegnie [Wed, 25 Mar 2015 22:11:28 +0000 (23:11 +0100)]
packetizer: h264: set interlacing flags

5 years agopacketizer: h264: parse vui and timing info
Francois Cartegnie [Wed, 25 Mar 2015 22:11:27 +0000 (23:11 +0100)]
packetizer: h264: parse vui and timing info

Extract frame duration and interlacing

5 years agodemux: ogg: don't send invalid dts stamps and use last pts as chained pcr
Francois Cartegnie [Mon, 6 Apr 2015 16:45:12 +0000 (18:45 +0200)]
demux: ogg: don't send invalid dts stamps and use last pts as chained pcr

5 years agodemux: ogg: fix old stream format reuse check
Francois Cartegnie [Mon, 6 Apr 2015 16:40:03 +0000 (18:40 +0200)]
demux: ogg: fix old stream format reuse check

5 years agoQt: align tooltip to slider groove (fix #14277)
Francois Cartegnie [Sun, 5 Apr 2015 20:19:33 +0000 (22:19 +0200)]
Qt: align tooltip to slider groove (fix #14277)

5 years agoios: enable libdsm
Felix Paul Kühne [Sun, 5 Apr 2015 10:42:32 +0000 (12:42 +0200)]
ios: enable libdsm

5 years agodemux: asf: rewrite main loop and add remuxer (fix #14250)
Francois Cartegnie [Sat, 4 Apr 2015 14:06:36 +0000 (16:06 +0200)]
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.

5 years agodemux: ts: fix stream id mask
Francois Cartegnie [Wed, 1 Apr 2015 14:17:11 +0000 (16:17 +0200)]
demux: ts: fix stream id mask

5 years agomediacodec: don't wait indefinitely for data
Thomas Guillem [Tue, 31 Mar 2015 07:22:48 +0000 (07:22 +0000)]
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>
5 years agomediacodec/omxil: blacklist samsung VP8 decoder
Thomas Guillem [Fri, 3 Apr 2015 10:43:43 +0000 (12:43 +0200)]
mediacodec/omxil: blacklist samsung VP8 decoder

Fixes #14227

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: initialize jni fields during first open
Thomas Guillem [Fri, 3 Apr 2015 10:43:42 +0000 (12:43 +0200)]
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>
5 years agoaudiotrack: clip buffer size between 250ms and 1000ms
Thomas Guillem [Fri, 3 Apr 2015 10:43:41 +0000 (12:43 +0200)]
audiotrack: clip buffer size between 250ms and 1000ms

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoaudiotrack: get rid of the thread and the queue
Thomas Guillem [Fri, 3 Apr 2015 10:43:40 +0000 (12:43 +0200)]
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>
5 years agoandroid: simplify/improve the attachment of a thread to the Java VM
Thomas Guillem [Fri, 3 Apr 2015 10:43:39 +0000 (12:43 +0200)]
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>
5 years agodirect3d11: support YV12 which works better with DXVA2
Steve Lhomme [Wed, 1 Apr 2015 07:55:55 +0000 (07:55 +0000)]
direct3d11: support YV12 which works better with DXVA2

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoQt: fix sout mux module names
Rémi Denis-Courmont [Wed, 1 Apr 2015 08:41:02 +0000 (11:41 +0300)]
Qt: fix sout mux module names

5 years agowin32: plugin: Fix inverted logic
Hugo Beauzée-Luyssen [Thu, 2 Apr 2015 11:59:08 +0000 (13:59 +0200)]
win32: plugin: Fix inverted logic

SetThreadErrorMode returns 0 on failure

5 years agodecoder: work around unlikely deadlock in input_DecoderWait()
Rémi Denis-Courmont [Wed, 1 Apr 2015 17:56:14 +0000 (20:56 +0300)]
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.

5 years agodecoder: reduce lock scope, remove stray signal
Rémi Denis-Courmont [Wed, 1 Apr 2015 17:35:13 +0000 (20:35 +0300)]
decoder: reduce lock scope, remove stray signal

5 years agovlc_path2uri: really fix off-by-one error
Rémi Denis-Courmont [Wed, 1 Apr 2015 16:49:34 +0000 (19:49 +0300)]
vlc_path2uri: really fix off-by-one error

5 years agoDXVA2: fix HEVC buffer frame count
Steve Lhomme [Wed, 1 Apr 2015 11:58:53 +0000 (11:58 +0000)]
DXVA2: fix HEVC buffer frame count

some samples don't render correctly.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomodules: allow '-' in module filenames
Thomas Guillem [Tue, 31 Mar 2015 11:20:53 +0000 (11:20 +0000)]
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>
5 years agoDXVA2: log the exact unknown GUID value
Steve Lhomme [Wed, 1 Apr 2015 05:10:34 +0000 (05:10 +0000)]
DXVA2: log the exact unknown GUID value

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: ts: basic handling of MPEG4-SL
Francois Cartegnie [Tue, 31 Mar 2015 19:05:19 +0000 (21:05 +0200)]
demux: ts: basic handling of MPEG4-SL

5 years agodemux: ts: add SL access unit gathering struct
Francois Cartegnie [Mon, 30 Mar 2015 20:53:12 +0000 (22:53 +0200)]
demux: ts: add SL access unit gathering struct

5 years agodemux: ts: extract PES stream id and save type
Francois Cartegnie [Mon, 30 Mar 2015 16:19:57 +0000 (18:19 +0200)]
demux: ts: extract PES stream id and save type

5 years agodemux: ts: decode object stream commands
Francois Cartegnie [Mon, 30 Mar 2015 15:42:59 +0000 (17:42 +0200)]
demux: ts: decode object stream commands

5 years agodemux: ts: rename IOD to OD
Francois Cartegnie [Sun, 29 Mar 2015 18:48:42 +0000 (20:48 +0200)]
demux: ts: rename IOD to OD

iod being only for initial object

5 years agodemux: ts: don't send blocks from tables if no es
Francois Cartegnie [Sun, 29 Mar 2015 00:06:33 +0000 (01:06 +0100)]
demux: ts: don't send blocks from tables if no es

5 years agodemux: ts: add object stream descriptors
Francois Cartegnie [Sun, 29 Mar 2015 00:03:47 +0000 (01:03 +0100)]
demux: ts: add object stream descriptors

5 years agodemux: ts: just keep logical id on ES
Francois Cartegnie [Fri, 27 Mar 2015 17:49:59 +0000 (18:49 +0100)]
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)

5 years agodemux: ts: split OD/IODInit
Francois Cartegnie [Sat, 28 Mar 2015 22:27:37 +0000 (23:27 +0100)]
demux: ts: split OD/IODInit

5 years agodemux: ts: read ObjectDescriptor
Francois Cartegnie [Sat, 28 Mar 2015 16:22:36 +0000 (17:22 +0100)]
demux: ts: read ObjectDescriptor

5 years agodemux: ts: add SL header decoding
Francois Cartegnie [Sat, 28 Mar 2015 14:05:46 +0000 (15:05 +0100)]
demux: ts: add SL header decoding

5 years agodemux: ts: set data type on stream handling
Francois Cartegnie [Fri, 27 Mar 2015 18:36:51 +0000 (19:36 +0100)]
demux: ts: set data type on stream handling

5 years agodemux: ts: dont alter own params on loop
Francois Cartegnie [Fri, 27 Mar 2015 18:10:32 +0000 (19:10 +0100)]
demux: ts: dont alter own params on loop

5 years agodemux: ts: Look for stream_type 0x13 descriptors
Francois Cartegnie [Fri, 27 Mar 2015 17:50:43 +0000 (18:50 +0100)]
demux: ts: Look for stream_type 0x13 descriptors

5 years agodemux: ts: add SL packetization stream description
Francois Cartegnie [Fri, 27 Mar 2015 17:50:19 +0000 (18:50 +0100)]
demux: ts: add SL packetization stream description

5 years agodemux: ts: fix SL header reading
Francois Cartegnie [Fri, 27 Mar 2015 00:38:22 +0000 (01:38 +0100)]
demux: ts: fix SL header reading

5 years agoNEWS: add libvlc_media_new_callbacks()
Rémi Denis-Courmont [Tue, 31 Mar 2015 19:02:46 +0000 (22:02 +0300)]
NEWS: add libvlc_media_new_callbacks()

5 years agovlc_path2_uri: fix off-by-one
Rémi Denis-Courmont [Tue, 31 Mar 2015 18:24:29 +0000 (21:24 +0300)]
vlc_path2_uri: fix off-by-one

Pointed-out-by: Zoran Turalija <zoran.turalija@gmail.com>
5 years agoQt: fix rotation filter values
Rémi Denis-Courmont [Mon, 30 Mar 2015 18:46:05 +0000 (21:46 +0300)]
Qt: fix rotation filter values

5 years agoDxVA2: add more GUIDs for MVC and SVC
Steve Lhomme [Tue, 31 Mar 2015 14:51:01 +0000 (16:51 +0200)]
DxVA2: add more GUIDs for MVC and SVC

They are not mapped yet

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoDxVA2: add HEVC decoding support
Steve Lhomme [Tue, 31 Mar 2015 14:50:14 +0000 (16:50 +0200)]
DxVA2: add HEVC decoding support

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agolibvlc: add libvlc_media_new_callbacks() for custom input media
Rémi Denis-Courmont [Mon, 30 Mar 2015 19:39:47 +0000 (22:39 +0300)]
libvlc: add libvlc_media_new_callbacks() for custom input media

(fixes #8562)

5 years agoaccess-imem: rewritten in-memory bit stream input (refs #8562)
Rémi Denis-Courmont [Thu, 26 Mar 2015 19:54:52 +0000 (21:54 +0200)]
access-imem: rewritten in-memory bit stream input (refs #8562)

This more closely matches the usual open/read/seek/close pattern.

5 years agoinput: add support for pointer options to input item
Rémi Denis-Courmont [Mon, 30 Mar 2015 18:13:17 +0000 (21:13 +0300)]
input: add support for pointer options to input item

Pointers cannot be inherited as normal configuration item for somewhat
obvious reasons. For output parameters, this is not much of an issue as
LibVLC sets the pointer values directly on its media player object. But
for input-related parameters, LibVLC would need to store pointer values
in the media item. Thus this change to input items.

Note that pointers are considered intrinsically unsafe, so there are no
flags for the time being.

5 years agoinput: move var_OptionParse() code to item.c
Rémi Denis-Courmont [Mon, 30 Mar 2015 18:08:45 +0000 (21:08 +0300)]
input: move var_OptionParse() code to item.c

5 years agomediacodec: Fix invalid timestamp after a preroll
Thomas Guillem [Mon, 30 Mar 2015 15:05:07 +0000 (17:05 +0200)]
mediacodec: Fix invalid timestamp after a preroll

Call timestamp_FifoGet before releasing Output Buffers.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agooldrc: rename the source file too
Rémi Denis-Courmont [Mon, 30 Mar 2015 15:00:16 +0000 (18:00 +0300)]
oldrc: rename the source file too

5 years agoinput: fix changing state
Rémi Denis-Courmont [Mon, 30 Mar 2015 14:57:42 +0000 (17:57 +0300)]
input: fix changing state

5 years agoContrib: ffmpeg is not affected by the default optim flags
Steve Lhomme [Mon, 30 Mar 2015 12:12:30 +0000 (12:12 +0000)]
Contrib: ffmpeg is not affected by the default optim flags

it uses its own system, so we must give it the proper value with --disable-option

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agovideo_output: fix controls and events not processed
Thomas Guillem [Wed, 25 Mar 2015 15:27:36 +0000 (15:27 +0000)]
video_output: fix controls and events not processed

This issue is easily reproducible with VDPAU activated, with a 60fps ts file,
see #14199.

With this sample, The video_output Thread is looping in ThreadDisplayPicture
way more often than with other videos. Consequently, vout_ManageWrapper and
ThreadControl are not called enough. As a result, subtitles are processed too
late, the mouse isn't able to hide/unhide, we can be stuck in fullscreen mode,
or second click on video to pop up the menu doesn't work.

To fix this issue: don't loop in ThreadDisplayPicture and don't wait in
vout_control_Pop if a picture was previously displayed.

Fixes #14199

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodirect3d11: favor the format requested by the decoder if possible
Steve Lhomme [Mon, 30 Mar 2015 11:57:00 +0000 (11:57 +0000)]
direct3d11: favor the format requested by the decoder if possible

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodirect3d11: handle I420 planes via a fake NV12 texture
Steve Lhomme [Fri, 27 Mar 2015 15:19:53 +0000 (15:19 +0000)]
direct3d11: handle I420 planes via a fake NV12 texture

this time it's working properly with a SMPTE color pattern

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodirect3d11: use a different pixel shader depending on the output format
Steve Lhomme [Fri, 27 Mar 2015 09:05:46 +0000 (09:05 +0000)]
direct3d11: use a different pixel shader depending on the output format

Differentiate between BT.601 (SD) and BT.709 (HD) for YUV pixel conversion
use the same precision values as the openGL vout

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoFix Metacube header handling with multiple header blocks.
Steinar H. Gunderson [Sun, 29 Mar 2015 18:30:22 +0000 (18:30 +0000)]
Fix Metacube header handling with multiple header blocks.

Some muxes, e.g. MP4, will send multiple header blocks. These are
merged by the HTTP server to a single header which is sent out to
the beginning of each client. However, they are _also_ sent out
directly on the wire to any client that connected before the first
block. In this case, we would send two separate Metacube header
blocks, which would have Cubemap (correctly) discard the first and
set only the second as header.

This would make us send only part of the MP4 header when sending
through Cubemap, if Cubemap connected before the first non-header
block, which would in turn confuse Chrome on Android (although not
Chrome on e.g. Linux). As Cubemap is pretty aggressive about
reconnecting (trying every 200 ms), this could easily happen in practice.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodeinterlace: fix MSVC compilation
Steve Lhomme [Thu, 26 Mar 2015 17:41:13 +0000 (18:41 +0100)]
deinterlace: fix MSVC compilation

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
5 years agoqt4: fix duplicate symbol
Rémi Denis-Courmont [Sat, 28 Mar 2015 17:15:35 +0000 (19:15 +0200)]
qt4: fix duplicate symbol

5 years agoqt4: fix COM leak and handle errors
Rémi Denis-Courmont [Sat, 28 Mar 2015 14:30:47 +0000 (16:30 +0200)]
qt4: fix COM leak and handle errors

5 years agodemux: ts: parse SL config
Francois Cartegnie [Fri, 27 Mar 2015 00:38:22 +0000 (01:38 +0100)]
demux: ts: parse SL config

5 years agodemux: ts: rewrite/split IOD parsing
Francois Cartegnie [Thu, 26 Mar 2015 22:13:41 +0000 (23:13 +0100)]
demux: ts: rewrite/split IOD parsing

Fixes read overflows.

5 years agodemux: ts: fix SL/FMC descriptors handling
Francois Cartegnie [Thu, 26 Mar 2015 12:24:44 +0000 (13:24 +0100)]
demux: ts: fix SL/FMC descriptors handling

5 years agomediacodec: remove debug log
Thomas Guillem [Wed, 25 Mar 2015 15:39:54 +0000 (15:39 +0000)]
mediacodec: remove debug log

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agolibvlc_MetaRequest: increment item i_preparse_depth
Thomas Guillem [Wed, 25 Mar 2015 14:46:25 +0000 (14:46 +0000)]
libvlc_MetaRequest: increment item i_preparse_depth

libvlc_MetaRequest comes from the user, so we can increment i_preparse_depth to
force a preparsing.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoAdd bluray to GuessType()
Petri Hintukainen [Thu, 26 Mar 2015 08:36:51 +0000 (08:36 +0000)]
Add bluray to GuessType()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: ts: reset mpeg4desc/iod pointer on PMT update
Francois Cartegnie [Wed, 25 Mar 2015 22:04:53 +0000 (23:04 +0100)]
demux: ts: reset mpeg4desc/iod pointer on PMT update

5 years agodemux: ts: remove old struct
Francois Cartegnie [Wed, 25 Mar 2015 22:01:12 +0000 (23:01 +0100)]
demux: ts: remove old struct

5 years agoRevert "demux: ts: fix mpeg4desc leak"
Francois Cartegnie [Wed, 25 Mar 2015 21:57:27 +0000 (22:57 +0100)]
Revert "demux: ts: fix mpeg4desc leak"

Points to PMT's IOD

This reverts commit 6d35a852a8d1a655670ec3aca909cd574e253162.

5 years agodemux: ts: ensure iod is present when looking for SLDesc
Francois Cartegnie [Wed, 25 Mar 2015 21:38:24 +0000 (22:38 +0100)]
demux: ts: ensure iod is present when looking for SLDesc

5 years agoconfigure: simplify maintainer mode and rectify default in help
Rémi Denis-Courmont [Wed, 25 Mar 2015 20:30:32 +0000 (22:30 +0200)]
configure: simplify maintainer mode and rectify default in help

5 years agoadded start playback in paused mode (#2936)
Aleksandr Pasechnik [Fri, 13 Mar 2015 01:49:52 +0000 (01:49 +0000)]
added start playback in paused mode (#2936)

Added a boolean Playlist preference called start-pause.

Setting the preference causes the src/input/input.c Run function to call the
ControlPause function after Init finishes successfully.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoQt: avoid redefine warning
Jean-Baptiste Kempf [Wed, 25 Mar 2015 14:40:52 +0000 (15:40 +0100)]
Qt: avoid redefine warning

5 years agoinput: drop ITEM_TYPE_CDDA
Thomas Guillem [Tue, 24 Mar 2015 16:31:21 +0000 (16:31 +0000)]
input: drop ITEM_TYPE_CDDA

Since it's not used anymore.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agolibvlc: add libvlc_media_get_type
Thomas Guillem [Tue, 24 Mar 2015 16:22:20 +0000 (16:22 +0000)]
libvlc: add libvlc_media_get_type

Get the type of the media.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoinput: handle recursive parsing in preparser
Thomas Guillem [Tue, 24 Mar 2015 16:22:19 +0000 (16:22 +0000)]
input: handle recursive parsing in preparser

Add i_preparse_depth in input_item to handle how many level of sub items can be
parsed.

The "recursive" option is now moved from access/file to the playlist category.

You can now abort a long local directory opening.

NET items won't be parsed recursively since playlist_preparser_Push is not
called with the META_REQUEST_OPTION_SCOPE_NETWORK argument.

Fixes #13850
Fixes #11921
Fixes #13872

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agosftp: change item b_net
Thomas Guillem [Tue, 24 Mar 2015 16:22:18 +0000 (16:22 +0000)]
sftp: change item b_net

Set b_net to true.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoupnp: change item b_net and i_type
Thomas Guillem [Tue, 24 Mar 2015 16:22:17 +0000 (16:22 +0000)]
upnp: change item b_net and i_type

Set b_net to true, and set ITEM_TYPE_DIRECTORY if the item is a share of a
directory.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodsm: change item b_net and i_type
Thomas Guillem [Tue, 24 Mar 2015 16:22:16 +0000 (16:22 +0000)]
dsm: change item b_net and i_type

Set b_net to true, and set ITEM_TYPE_DIRECTORY if the item is a share of a
directory.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoinput: add b_net variable in item
Thomas Guillem [Tue, 24 Mar 2015 16:22:15 +0000 (16:22 +0000)]
input: add b_net variable in item

When an item was a NET/STREAM type, there was no way to distinguish if the item
was a file, a playlist or directory.

Add a new variable, b_net in addition to i_type. This variable is automatically
set when creating a new Item (set to true for ITEM_TYPE_STREAM). It can be
overridden via the new input_item_NewWithTypeExt function. This new function
will allow accesses to create FILE, or DIRECTORY items with b_net set to true.

Unless forced, the preparser won't parse items with b_net == true.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoinput: replace ITEM_TYPE_NET by ITEM_TYPE_STREAM
Thomas Guillem [Tue, 24 Mar 2015 16:22:14 +0000 (16:22 +0000)]
input: replace ITEM_TYPE_NET by ITEM_TYPE_STREAM

This type is set for streams (rtsp, httplive, mms...).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoContribs: update dvdread to 5.0.3
Jean-Baptiste Kempf [Wed, 25 Mar 2015 14:07:54 +0000 (15:07 +0100)]
Contribs: update dvdread to 5.0.3

5 years agodvdnav: add Demux submodule
Thomas Guillem [Wed, 25 Mar 2015 13:41:06 +0000 (14:41 +0100)]
dvdnav: add Demux submodule

It allows to use dvdnav via a VLC access using new dvdnav stream callbacks.

When using a VLC access, dvdnav readahead flag is disabled in order to read
small chunk of data from pf_demux (that is 2kB).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: ts: remove pid array
Francois Cartegnie [Tue, 24 Mar 2015 19:57:07 +0000 (20:57 +0100)]
demux: ts: remove pid array

Few PID in the whole range are really used.
Minus pointers and alignment, should save ~320KBytes
in most cases.

5 years agodirect3d11: support more pixel formats
Steve Lhomme [Tue, 24 Mar 2015 08:47:27 +0000 (08:47 +0000)]
direct3d11: support more pixel formats

list of possible formats https://msdn.microsoft.com/en-us/library/windows/desktop/bb173059%28v=vs.85%29.aspx

the ones marked BROKEN_PIXEL are not writing pixels properly, not knowing much
about pixel shaders, I'm not the best qualified to handle this

the ones marked UNTESTED means my Win8 machine doesn't support them

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoContrib: allow building contribs with no optimization
Steve Lhomme [Tue, 24 Mar 2015 09:17:37 +0000 (09:17 +0000)]
Contrib: allow building contribs with no optimization

--
uses the same flag logic as --disable-gpl

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodirect3d11: catch texture mapping errors
Steve Lhomme [Tue, 24 Mar 2015 12:00:54 +0000 (13:00 +0100)]
direct3d11: catch texture mapping errors

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoD3D11: use defines for DXGI
Jean-Baptiste Kempf [Tue, 24 Mar 2015 15:03:10 +0000 (16:03 +0100)]
D3D11: use defines for DXGI

5 years agoDirect3D11: rework Open function
Jean-Baptiste Kempf [Tue, 24 Mar 2015 14:54:51 +0000 (15:54 +0100)]
Direct3D11: rework Open function

5 years agoImproved recognition of selected bookmarks for deletion.
Eugen Geist [Mon, 23 Mar 2015 17:35:55 +0000 (17:35 +0000)]
Improved recognition of selected bookmarks for deletion.

Removed FIXME annotation and fixed the recognition of selected rows in
bookmarklist.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: fix warning
Thomas Guillem [Tue, 24 Mar 2015 09:34:58 +0000 (10:34 +0100)]
mediacodec: fix warning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: Fix freeze when seeking on pause
Thomas Guillem [Tue, 24 Mar 2015 09:34:57 +0000 (10:34 +0100)]
mediacodec: Fix freeze when seeking on pause

See FIXME comment.

Fixes #12397

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: skip prerolled frames
Thomas Guillem [Tue, 24 Mar 2015 09:34:56 +0000 (10:34 +0100)]
mediacodec: skip prerolled frames

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: don't loop in GetOutput
Thomas Guillem [Tue, 24 Mar 2015 09:34:55 +0000 (10:34 +0100)]
mediacodec: don't loop in GetOutput

DecodeVideo is already looping.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: factorize release_output_buffer
Thomas Guillem [Tue, 24 Mar 2015 09:34:54 +0000 (10:34 +0100)]
mediacodec: factorize release_output_buffer

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: handle error_state in one place
Thomas Guillem [Tue, 24 Mar 2015 09:34:53 +0000 (10:34 +0100)]
mediacodec: handle error_state in one place

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomediacodec: process input buffers in only one place
Thomas Guillem [Tue, 24 Mar 2015 09:34:52 +0000 (10:34 +0100)]
mediacodec: process input buffers in only one place

(behavior not changed)

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