vlc.git
4 years agomediacodec: remove ArchitectureSpecificCopyData
Thomas Guillem [Thu, 17 Mar 2016 12:37:45 +0000 (13:37 +0100)]
mediacodec: remove ArchitectureSpecificCopyData

since it's used only for SSE2 arch

4 years agomediacodec: more unsigned members
Thomas Guillem [Thu, 17 Mar 2016 11:59:45 +0000 (12:59 +0100)]
mediacodec: more unsigned members

4 years agoinput: es_out: lower RESET_PCR warning to debug level
Francois Cartegnie [Wed, 23 Mar 2016 07:20:47 +0000 (08:20 +0100)]
input: es_out: lower RESET_PCR warning to debug level

Being demux issued or related to a previous error message,
we don't need to bug user about this.

4 years agoQt: improve the seekbar precision
Jean-Baptiste Kempf [Tue, 22 Mar 2016 18:33:13 +0000 (19:33 +0100)]
Qt: improve the seekbar precision

4 years agoqt: make seek tooltip + actual seek less surprising
Filip Roséen [Tue, 22 Mar 2016 18:26:06 +0000 (19:26 +0100)]
qt: make seek tooltip + actual seek less surprising

Previously seeking could be somewhat of a surprise if one relied on the
text present in the tooltip above the SeekSlider when hovering it with
your mouse.

Since the position of where we are going to end up was calculated
differently in different parts of the code, you could aim for "00:10:42"
but end up quite far from there (how far depends on the length of the
media you are playing).

This patch fixes the above by introducing two helper functions,
effectively making all calculations that are based on the X-coordinate
relative to the SeekSlider the same, and as such less surprising.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoqt: replaced magic constants with QtAbstractSlider::{maximum, minimum}
Filip Roséen [Tue, 22 Mar 2016 18:26:05 +0000 (19:26 +0100)]
qt: replaced magic constants with QtAbstractSlider::{maximum, minimum}

Replaced the use of constants with calls to QAbstractSlider::maximum and
QAbstractSlider::minimum, making it easier to maintain the class in the
future.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoqt: replaced macros with proper constants
Filip Roséen [Tue, 22 Mar 2016 18:26:04 +0000 (19:26 +0100)]
qt: replaced macros with proper constants

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agotheora: Force b_progressive to true
Hugo Beauzée-Luyssen [Tue, 22 Mar 2016 15:47:13 +0000 (16:47 +0100)]
theora: Force b_progressive to true

Since theora doesn't support interlaced material (Theora spec §1.2)

4 years agodirect3d11: Remove duplicated forward declaration
Hugo Beauzée-Luyssen [Mon, 21 Mar 2016 09:47:26 +0000 (10:47 +0100)]
direct3d11: Remove duplicated forward declaration

4 years agodeinterlace: Fix blending of pictures with offset
Hugo Beauzée-Luyssen [Fri, 18 Mar 2016 11:17:15 +0000 (12:17 +0100)]
deinterlace: Fix blending of pictures with offset

4 years agovout: msw: common: provide the full picture rect as the source rect
Hugo Beauzée-Luyssen [Thu, 17 Mar 2016 13:02:01 +0000 (14:02 +0100)]
vout: msw: common: provide the full picture rect as the source rect

4 years agomacosx: update codesigning script so Sparkle.framework satisfies its designated requi...
Felix Paul Kühne [Mon, 21 Mar 2016 19:05:00 +0000 (20:05 +0100)]
macosx: update codesigning script so Sparkle.framework satisfies its designated requirement

4 years agoContribs: vncclient, disable the GnuTLS anon part
Jean-Baptiste Kempf [Sun, 20 Mar 2016 20:05:02 +0000 (21:05 +0100)]
Contribs: vncclient, disable the GnuTLS anon part

4 years agoContribs: vncclient, correctly compile against newer GNUTLS versions
Jean-Baptiste Kempf [Sun, 20 Mar 2016 19:39:43 +0000 (20:39 +0100)]
Contribs: vncclient, correctly compile against newer GNUTLS versions

4 years agoContribs: vncclient, correctly mention gnutls dependency
Jean-Baptiste Kempf [Sun, 20 Mar 2016 19:33:35 +0000 (20:33 +0100)]
Contribs: vncclient, correctly mention gnutls dependency

4 years agoContribs: vncserver depends on GnuTLS too
Jean-Baptiste Kempf [Sun, 20 Mar 2016 19:10:30 +0000 (20:10 +0100)]
Contribs: vncserver depends on GnuTLS too

4 years agohttp: improve tunnel coverage
Rémi Denis-Courmont [Sun, 20 Mar 2016 18:53:31 +0000 (20:53 +0200)]
http: improve tunnel coverage

4 years agourl: test previous change
Rémi Denis-Courmont [Sun, 20 Mar 2016 18:38:45 +0000 (20:38 +0200)]
url: test previous change

4 years agourl: fix parsing URL with IPv6 numerals
Rémi Denis-Courmont [Sun, 20 Mar 2016 18:38:24 +0000 (20:38 +0200)]
url: fix parsing URL with IPv6 numerals

4 years agohttp: fix memory leak
Rémi Denis-Courmont [Sun, 20 Mar 2016 18:07:25 +0000 (20:07 +0200)]
http: fix memory leak

4 years agoContribs: build microdns when needed
Jean-Baptiste Kempf [Sun, 20 Mar 2016 18:06:26 +0000 (19:06 +0100)]
Contribs: build microdns when needed

4 years agoContribs: VNC, correctly detect png library
Jean-Baptiste Kempf [Sun, 20 Mar 2016 18:04:19 +0000 (19:04 +0100)]
Contribs: VNC, correctly detect png library

png needs -lz usually
(Use pkgconfig!)

4 years agoContribs: update vncserver to 0.9.10
Jean-Baptiste Kempf [Sun, 20 Mar 2016 17:59:08 +0000 (18:59 +0100)]
Contribs: update vncserver to 0.9.10

4 years agoContribs: install libvnc*.pc
Jean-Baptiste Kempf [Sun, 20 Mar 2016 17:51:30 +0000 (18:51 +0100)]
Contribs: install libvnc*.pc

Else it won't be picked up by configure

4 years agoContribs: NFS works on Windows
Jean-Baptiste Kempf [Sun, 20 Mar 2016 17:45:32 +0000 (18:45 +0100)]
Contribs: NFS works on Windows

4 years agobluray: fix blanking
Petri Hintukainen [Sat, 19 Mar 2016 13:00:43 +0000 (15:00 +0200)]
bluray: fix blanking

4 years agoNEWS: fix udp entry
Ilkka Ollakka [Sat, 19 Mar 2016 08:32:01 +0000 (10:32 +0200)]
NEWS: fix udp entry

stuff spotted by Remi in commit
36591a61c7dd957cdafe9cdbb7707b486e1c745b

4 years agoBump the required Qt versions
Jean-Baptiste Kempf [Fri, 18 Mar 2016 19:02:25 +0000 (20:02 +0100)]
Bump the required Qt versions

4 years agomkv: fixed broken locking mechanism
Filip Roséen [Fri, 18 Mar 2016 18:30:02 +0000 (19:30 +0100)]
mkv: fixed broken locking mechanism

A temporary object (ie. an object without a name) is created in the
expression in which it is introduced, and destroyed immediately after.

This means that the previous code did not lock p_sys->lock_demuxer for
the remaining duration of the function "Demux", but instead _only_
during the expression in which the temporary "vlc_mutex_locker" was
constructed (ie. the locking and unlocking happened on that line).

This patch fixes the issue by giving the previously unnamed object a
name (binding its lifetime to the current scope).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoconfigure: fix missing $av_vdpau_ver
Rémi Denis-Courmont [Fri, 18 Mar 2016 18:38:59 +0000 (20:38 +0200)]
configure: fix missing $av_vdpau_ver

4 years agoQt: accessible widgets is part of Qt5Gui in 5.6
Jean-Baptiste Kempf [Fri, 18 Mar 2016 14:02:42 +0000 (15:02 +0100)]
Qt: accessible widgets is part of Qt5Gui in 5.6

4 years agoContribs: Qt, mention lqwindows and QPlatformSupport in .pc file
Jean-Baptiste Kempf [Fri, 18 Mar 2016 13:27:10 +0000 (14:27 +0100)]
Contribs: Qt, mention lqwindows and QPlatformSupport in .pc file

4 years agoudp: add timeout parameter
Ilkka Ollakka [Wed, 16 Mar 2016 18:39:19 +0000 (20:39 +0200)]
udp: add timeout parameter

By default we wait -1 as previously, but you can give --udp-timeout as timeout in seconds
how long we wait for next packet before deciding that input has ended.

4 years agoContribs: fix .pc files in release mode
Jean-Baptiste Kempf [Fri, 18 Mar 2016 12:07:38 +0000 (13:07 +0100)]
Contribs: fix .pc files in release mode

4 years agoContribs: use standard installations for Qt
Jean-Baptiste Kempf [Thu, 17 Mar 2016 23:49:36 +0000 (00:49 +0100)]
Contribs: use standard installations for Qt

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: fixed parsing regression related to S_TEXT/UTF8
Filip Roséen [Fri, 18 Mar 2016 10:10:35 +0000 (11:10 +0100)]
mkv: fixed parsing regression related to S_TEXT/UTF8

The problem was due to a simple typo, the codec string is of course
"S_TEXT/UTF8" and not "S_TEXT/UTF-8"; even though hyphens are cool it
has now been removed to fix the issue.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomp4: use VLC_CODEC_YUYV
Rémi Denis-Courmont [Fri, 18 Mar 2016 04:50:40 +0000 (06:50 +0200)]
mp4: use VLC_CODEC_YUYV

4 years agoContribs: D3D11, fix DXGI_1_2.h generation
Jean-Baptiste Kempf [Thu, 17 Mar 2016 23:43:28 +0000 (00:43 +0100)]
Contribs: D3D11, fix DXGI_1_2.h generation

4 years agoContribs: update D3D11 rules
Jean-Baptiste Kempf [Thu, 17 Mar 2016 23:27:11 +0000 (00:27 +0100)]
Contribs: update D3D11 rules

4 years agomkv: use the more generic JumpTo() call
Steve Lhomme [Thu, 17 Mar 2016 16:47:18 +0000 (17:47 +0100)]
mkv: use the more generic JumpTo() call

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: only the first loaded segment knows which chapter it will start from
Steve Lhomme [Thu, 17 Mar 2016 16:47:16 +0000 (17:47 +0100)]
mkv: only the first loaded segment knows which chapter it will start from

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoQt: be sure to have cascading fails for commands
Jean-Baptiste Kempf [Thu, 17 Mar 2016 16:51:20 +0000 (17:51 +0100)]
Qt: be sure to have cascading fails for commands

4 years agomkv: don't enter anything when leaving the last ordered chapter
Steve Lhomme [Thu, 17 Mar 2016 15:53:08 +0000 (16:53 +0100)]
mkv: don't enter anything when leaving the last ordered chapter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: we don't need to prepare playback when jumping from Chapter commands
Steve Lhomme [Thu, 17 Mar 2016 15:53:07 +0000 (16:53 +0100)]
mkv: we don't need to prepare playback when jumping from Chapter commands

it is done in the Seek with the provided virtual_chapter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: prepare playback for the current chapter selected
Steve Lhomme [Thu, 17 Mar 2016 15:53:06 +0000 (16:53 +0100)]
mkv: prepare playback for the current chapter selected

this is important as seeking is always done from a virtual_chapter (via its segment)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: use a reference for the virtual_segment as we never prepare for a NULL one
Steve Lhomme [Thu, 17 Mar 2016 15:53:05 +0000 (16:53 +0100)]
mkv: use a reference for the virtual_segment as we never prepare for a NULL one

it is always done after PreloadLinked() which guarantees it's not NULL
assume we start at timestamp 0 on the first call

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: allow preparing playback for a different timestamp than 0
Steve Lhomme [Thu, 17 Mar 2016 15:53:04 +0000 (16:53 +0100)]
mkv: allow preparing playback for a different timestamp than 0

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: ordered chapters need to know the current chapter even when not starting
Steve Lhomme [Thu, 17 Mar 2016 15:53:03 +0000 (16:53 +0100)]
mkv: ordered chapters need to know the current chapter even when not starting

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: call PreparePlayback() when switching segment during seeking
Steve Lhomme [Thu, 17 Mar 2016 15:53:02 +0000 (16:53 +0100)]
mkv: call PreparePlayback() when switching segment during seeking

it do the proper seek by itself

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: rename ChangeSegment() to KeepTrackSelection()
Steve Lhomme [Thu, 17 Mar 2016 15:53:01 +0000 (16:53 +0100)]
mkv: rename ChangeSegment() to KeepTrackSelection()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: separate the segment selection from the track copying
Steve Lhomme [Thu, 17 Mar 2016 15:53:00 +0000 (16:53 +0100)]
mkv: separate the segment selection from the track copying

the order of UnSelect() and Select() is also inversed

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: enter PGC's from DVD via the first Cell in the PGC
Steve Lhomme [Thu, 17 Mar 2016 14:11:03 +0000 (15:11 +0100)]
mkv: enter PGC's from DVD via the first Cell in the PGC

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: only jump on known chapters from chapter commands
Steve Lhomme [Thu, 17 Mar 2016 14:11:02 +0000 (15:11 +0100)]
mkv: only jump on known chapters from chapter commands

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: only check if we went too far on the next Demux call
Steve Lhomme [Thu, 17 Mar 2016 14:05:30 +0000 (15:05 +0100)]
mkv: only check if we went too far on the next Demux call

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: crash fix in FindChapters
Steve Lhomme [Thu, 17 Mar 2016 14:05:29 +0000 (15:05 +0100)]
mkv: crash fix in FindChapters

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: do not reset the i_start_time after a seek was initiated
Steve Lhomme [Thu, 17 Mar 2016 14:05:28 +0000 (15:05 +0100)]
mkv: do not reset the i_start_time after a seek was initiated

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: never set p_current_vsegment to NULL
Steve Lhomme [Thu, 17 Mar 2016 11:16:14 +0000 (12:16 +0100)]
mkv: never set p_current_vsegment to NULL

if we don't have usable segments, p_current_vsegment will never be used

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: debug the timestamps of the chapter used
Steve Lhomme [Thu, 17 Mar 2016 11:16:13 +0000 (12:16 +0100)]
mkv: debug the timestamps of the chapter used

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: only use the sub chapters duration if we don't have one or it's bigger
Steve Lhomme [Thu, 17 Mar 2016 11:16:12 +0000 (12:16 +0100)]
mkv: only use the sub chapters duration if we don't have one or it's bigger

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: wait for the next Demux() call if we entered a new Chapter
Steve Lhomme [Thu, 17 Mar 2016 11:16:11 +0000 (12:16 +0100)]
mkv: wait for the next Demux() call if we entered a new Chapter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: only look for a new Chapter if the current one doesn't fit anymore
Steve Lhomme [Thu, 17 Mar 2016 11:16:10 +0000 (12:16 +0100)]
mkv: only look for a new Chapter if the current one doesn't fit anymore

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: add virtual_chapter_c::ContainsTimestamp() helper method
Steve Lhomme [Thu, 17 Mar 2016 11:16:09 +0000 (12:16 +0100)]
mkv: add virtual_chapter_c::ContainsTimestamp() helper method

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoContribs: rewrite most of Qt rules
Jean-Baptiste Kempf [Wed, 16 Mar 2016 23:39:37 +0000 (00:39 +0100)]
Contribs: rewrite most of Qt rules

4 years agolua: replace deprecated functions
Ludovic Fauvet [Wed, 16 Mar 2016 22:15:04 +0000 (23:15 +0100)]
lua: replace deprecated functions

4 years agolua: kill a warning
Ludovic Fauvet [Wed, 16 Mar 2016 22:12:27 +0000 (23:12 +0100)]
lua: kill a warning

4 years agolua: merge new functions with the previous table
Ludovic Fauvet [Wed, 16 Mar 2016 18:44:16 +0000 (19:44 +0100)]
lua: merge new functions with the previous table

All lua plugins are now supposed to work with 5.3

4 years agofortunes: ripping, playing, reading
Jean-Baptiste Kempf [Wed, 16 Mar 2016 17:36:37 +0000 (18:36 +0100)]
fortunes: ripping, playing, reading

4 years agoContribs: update to Qt 5.6.0
Jean-Baptiste Kempf [Wed, 16 Mar 2016 17:15:33 +0000 (18:15 +0100)]
Contribs: update to Qt 5.6.0

4 years agolua: 'vlc' namespace needs to be handled differently
Ludovic Fauvet [Wed, 16 Mar 2016 17:26:07 +0000 (18:26 +0100)]
lua: 'vlc' namespace needs to be handled differently

But apparently this is not enough, some lua plugins are still broken.

4 years agosftp: fix opening urls with encoded chars
Petri Hintukainen [Sun, 28 Feb 2016 12:52:42 +0000 (14:52 +0200)]
sftp: fix opening urls with encoded chars

Without this change opening paths with special chars (space, ...) fail.
Ex. path "/media/Let's Be Cops" was opened as "/media/Let%27s%20Be%20Cops".

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agolua: use lua_set_funcs to replace luaL_register in 5.3
Jean-Baptiste Kempf [Wed, 16 Mar 2016 15:50:41 +0000 (16:50 +0100)]
lua: use lua_set_funcs to replace luaL_register in 5.3

Ref #14695

4 years agoContribs: fix lua compilation with old Android versions
Jean-Baptiste Kempf [Wed, 16 Mar 2016 15:14:49 +0000 (16:14 +0100)]
Contribs: fix lua compilation with old Android versions

4 years agoContribs: lua, simpler way to disable localeconv
Jean-Baptiste Kempf [Wed, 16 Mar 2016 14:54:34 +0000 (15:54 +0100)]
Contribs: lua, simpler way to disable localeconv

4 years agoContribs: lua, remove unneeded patch
Jean-Baptiste Kempf [Wed, 16 Mar 2016 14:50:45 +0000 (15:50 +0100)]
Contribs: lua, remove unneeded patch

4 years agocontribs: lua 5.3
Ludovic Fauvet [Wed, 16 Mar 2016 11:32:35 +0000 (12:32 +0100)]
contribs: lua 5.3

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: an edition with no duration is OK if there's some chapter codec
Steve Lhomme [Wed, 16 Mar 2016 12:43:31 +0000 (13:43 +0100)]
mkv: an edition with no duration is OK if there's some chapter codec

The chapter codec will likely request a jump to another Segment/Edition

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: use the chapter end time for duration rather than the sum of sub chapters
Steve Lhomme [Wed, 16 Mar 2016 12:43:30 +0000 (13:43 +0100)]
mkv: use the chapter end time for duration rather than the sum of sub chapters

when the information is available

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: adjust the end timestamp of ordered chapters based on the information from sub...
Steve Lhomme [Wed, 16 Mar 2016 12:43:29 +0000 (13:43 +0100)]
mkv: adjust the end timestamp of ordered chapters based on the information from sub chapters

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: a subchapter with no end timestamp cannot match the chapter looked for
Steve Lhomme [Wed, 16 Mar 2016 12:43:28 +0000 (13:43 +0100)]
mkv: a subchapter with no end timestamp cannot match the chapter looked for

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: explicitly tell which of the chapter is the one leaving in EnterAndLeave()
Steve Lhomme [Wed, 16 Mar 2016 12:43:27 +0000 (13:43 +0100)]
mkv: explicitly tell which of the chapter is the one leaving in EnterAndLeave()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: prefix variables from virtual elements with a 'v'
Steve Lhomme [Wed, 16 Mar 2016 12:43:26 +0000 (13:43 +0100)]
mkv: prefix variables from virtual elements with a 'v'

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: create a virtual_chapter_c with its sub chapters
Steve Lhomme [Wed, 16 Mar 2016 12:43:25 +0000 (13:43 +0100)]
mkv: create a virtual_chapter_c with its sub chapters

this will allow the adjustment of the start/stop timestamps from lower chapters

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: pass the user_time by reference
Steve Lhomme [Wed, 16 Mar 2016 12:43:24 +0000 (13:43 +0100)]
mkv: pass the user_time by reference

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: add Segments from the same family to used_segments
Steve Lhomme [Tue, 15 Mar 2016 14:46:02 +0000 (15:46 +0100)]
mkv: add Segments from the same family to used_segments

it is needed by chapter codec commands that need to know about other segments

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: add a helper method to check if 2 Segments are from the same family
Steve Lhomme [Tue, 15 Mar 2016 14:46:01 +0000 (15:46 +0100)]
mkv: add a helper method to check if 2 Segments are from the same family

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: rename variables that are not pointers anymore
Steve Lhomme [Tue, 15 Mar 2016 14:46:00 +0000 (15:46 +0100)]
mkv: rename variables that are not pointers anymore

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: select which matroska_segment_c to use to create the virtual_edition_c
Steve Lhomme [Tue, 15 Mar 2016 14:45:59 +0000 (15:45 +0100)]
mkv: select which matroska_segment_c to use to create the virtual_edition_c

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: prefer references to pointers
Steve Lhomme [Tue, 15 Mar 2016 14:45:58 +0000 (15:45 +0100)]
mkv: prefer references to pointers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: p_current_segment can change after a call to UpdateCurrentToChapter()
Steve Lhomme [Tue, 15 Mar 2016 14:45:57 +0000 (15:45 +0100)]
mkv: p_current_segment can change after a call to UpdateCurrentToChapter()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: remove doublon code
Steve Lhomme [Tue, 15 Mar 2016 14:45:56 +0000 (15:45 +0100)]
mkv: remove doublon code

this code is already handled after trying to read a block and after checking
for the current chapter to use

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: only create a spoint vector if we're going to use it
Steve Lhomme [Tue, 15 Mar 2016 14:45:55 +0000 (15:45 +0100)]
mkv: only create a spoint vector if we're going to use it

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: simplify Demux() by using vlc_mutex_locker
Steve Lhomme [Tue, 15 Mar 2016 14:45:54 +0000 (15:45 +0100)]
mkv: simplify Demux() by using vlc_mutex_locker

also the loop was not necessary

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agosmb: remove fastseek capability
Thomas Guillem [Tue, 15 Mar 2016 15:43:28 +0000 (16:43 +0100)]
smb: remove fastseek capability

4 years agosmb: re-fix opening urls with encoded chars
Thomas Guillem [Tue, 15 Mar 2016 13:39:15 +0000 (14:39 +0100)]
smb: re-fix opening urls with encoded chars

Don't decode url before parsing it. psz_decoded_path is duplicated because we
don't want to modify the url path that will be used by pf_readdir.

4 years agocontrib: update libdsm
Thomas Guillem [Tue, 15 Mar 2016 15:31:49 +0000 (16:31 +0100)]
contrib: update libdsm

4 years agodsm: use sys->url for credential
Thomas Guillem [Tue, 15 Mar 2016 13:05:15 +0000 (14:05 +0100)]
dsm: use sys->url for credential

4 years agodsm: re-fix opening urls with encoded chars
Thomas Guillem [Tue, 15 Mar 2016 13:03:59 +0000 (14:03 +0100)]
dsm: re-fix opening urls with encoded chars

Don't decode url before parsing it. psz_share and psz_path are now stored on
the same allocated and decoded string.

4 years agoevas: deactivate tbm surfaces
Thomas Guillem [Tue, 15 Mar 2016 09:30:00 +0000 (10:30 +0100)]
evas: deactivate tbm surfaces

4 years agomkv: simplify the code
Steve Lhomme [Tue, 15 Mar 2016 07:50:25 +0000 (08:50 +0100)]
mkv: simplify the code

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomkv: pass the list of matroska_segment_c by reference, not pointers
Steve Lhomme [Tue, 15 Mar 2016 07:50:24 +0000 (08:50 +0100)]
mkv: pass the list of matroska_segment_c by reference, not pointers

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