Commit Graph

74108 Commits

Author SHA1 Message Date
Pierre Lamot 440b182037 qt: don't display position in progress bar if media is not seekable
Ref #19235

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit a49074832c)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 17:30:49 +01:00
Steve Lhomme 52c89413e7 hw:d3d9: don't swap planes when the output is I420
Fixes #19543

(cherry picked from commit fa54402677)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 15:50:52 +01:00
Thomas Guillem 2c4b3fcbab chromecast: notify eof earlier
(cherry picked from commit 9c123db903)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:46:11 +01:00
Thomas Guillem 2bd51969e8 chromecast: fix cc not restarted when a track was disabled
(cherry picked from commit de6d57f823)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:25:14 +01:00
Thomas Guillem 00f5b8fc4c chromecast: initialise new members
CID #1464181

(cherry picked from commit f469f7c866)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:25:14 +01:00
Thomas Guillem 66eaa607ab chromecast: don't restart if casting streams didn't change
(cherry picked from commit 5a44c99e6a)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:45 +01:00
Thomas Guillem 66fc3b54f7 chromecast: add back stop when streams are empty
(cherry picked from commit 4355eea6d9)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:38 +01:00
Thomas Guillem e4e41ab271 chromecast: don't load input while stopping
But wait for the stop command to be processed.

(cherry picked from commit 2c1c8ac870)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:38 +01:00
Thomas Guillem c01ed61adc chromecast: add assert
(cherry picked from commit 5b03a718fd)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:37 +01:00
Steve Lhomme 4f27287a08 demux:mkv: fix potential NULL dereference
CID #1464407

(cherry picked from commit 314e230244)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:37 +01:00
Thomas Guillem 1ae2df5c45 chromecast: remove deadcode
CID #1464406

(cherry picked from commit 6a12a20599)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:37 +01:00
Tristan Matthews 2de1b0a312 vpx: encoder: don't leak image on encoding failure
(cherry picked from commit b492a7ec69)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:37 +01:00
Jean-Baptiste Kempf 6d94df1c42 wasapi: improve debug log in failure cases
Should help for #19541

(cherry picked from commit eb82d3412e)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:37 +01:00
Thomas Guillem 540a40771c chromecast: delay stop request
Do it only when there is no streams from UpdateOutput.

(cherry picked from commit 13095327c6)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:06 +01:00
Thomas Guillem 5f72982b2b chromecast: add a stream out proxy
This new submodule wait for all tracks to be added into the last stream out
(the http one) before running a chromecast session.

This fixes chromecast timeout errors when the session was started during the
middle of a playback and when the http sout was still empty (because no video
IFrames were available for example).

This also fixes the "You can try increasing sout-mux-caching value" error (when
the timeout came from VLC and not the CC).

(cherry picked from commit 5fb95aaf5e)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:06 +01:00
Thomas Guillem cbb7cb29c0 chromecast: clear out_streams on error
(cherry picked from commit e26d41660a)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:06 +01:00
Thomas Guillem 4a0e25794c chromecast: delete ids when they fail
(cherry picked from commit 91b8d962a3)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:05 +01:00
Thomas Guillem 03869a5e9c chromecast: iterate through out_streams
(cherry picked from commit e5a12b97ef)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:05 +01:00
Thomas Guillem 18e98a1919 chromecast: don't setup video transcode when not needed
(cherry picked from commit 556d8a94b2)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:05 +01:00
Thomas Guillem 6edbb09569 chromecast: fix typo
(cherry picked from commit 5088bc7bb2)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-26 14:24:05 +01:00
Francois Cartegnie fe0721a4e6 access: bluray: disable cc check
(cherry picked from commit b5c5c848ca)
2018-01-26 14:05:22 +01:00
Francois Cartegnie 8d43be9b5c demux: ts: add cc-check option for reliable transports
(cherry picked from commit fffeea6124)
2018-01-26 14:05:22 +01:00
Jean-Baptiste Kempf 45c87a894c ChromeCast: missing "."
(cherry picked from commit ba3870d624)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 19:03:14 +01:00
Jean-Baptiste Kempf b48dc13ba6 ChromeCast: fix typo
(cherry picked from commit d1afa43cbc)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 19:03:08 +01:00
Hugo Beauzée-Luyssen 84d65524b9 vout: win32: Remove screensaver inhnibition code
(manually cherry-picked from commit ad7a10447e)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-01-25 18:14:04 +01:00
Steve Lhomme 152cc3e2f5 direct3d11: handle the max luminance dynamically
For HDR files with no metadata the max luminance is the default one. When
metadata are encountered we adjust the max luminance.

Fixes #19528 for Win 8.1+

(cherry picked from commit a1799beb1c)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:44 +01:00
Steve Lhomme c400d7de86 direct3d11: the default luminance with PQ is always 10,000 nits
It may differ according to the HDR metadata passed with frames.

(cherry picked from commit 82e3d78e50)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:41 +01:00
Hugo Beauzée-Luyssen 05f31ba251 qt: main_interface: Don't cache embedded-video setting
It is used uncached from other locations, which could cause inconsistant
state in the future (the setting is currently only read from the
constructor)

(cherry picked from commit d3e6d9da7f)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:38 +01:00
Hugo Beauzée-Luyssen 431093d3b7 qt: main_interface: Create the videoWidget when needed
(cherry picked from commit 8da9abc695)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:35 +01:00
Steve Lhomme 93d313d1de deinterlace: code cleaning
(cherry picked from commit e924f43037)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:32 +01:00
Steve Lhomme bb438b9bfa deinterlace: fix interlacing modes with doubled rate
(cherry picked from commit d8f0537f4f)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:28 +01:00
Hugo Beauzée-Luyssen a734685ee4 win32: Inhibit: Call SetThreadExecutionState from a dedicated thread
Fix #19463

(cherry picked from commit b2ea855819)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 18:00:21 +01:00
Francois Cartegnie fc01687494 Qt: add setter for default art background
(cherry picked from commit b80ae281c4)
(cherry picked from commit 4a82a27005)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:58:08 +01:00
Pierre Lamot bf4c1fe8e4 qt: fix label in SPref codec/input
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit fbfaf502a1)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:57:43 +01:00
Pierre Lamot 7526658131 qt: display directx rendering options only when vout is set to directx
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e7d528fe56)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:57:40 +01:00
Steve Lhomme 90d365550a demux:mkv: don't delete our segment parser if tags are too big
it will end up with a double free

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:18:39 +01:00
Steve Lhomme c89c37d279 demux:mkv: make all EbmlParser respect the mkv-use-dummy setting
LoadTags() had a hard value for no reason. If the user wants a strict check
then we must respect that choice.

(cherry picked from cbbc8d8dd1)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:18:39 +01:00
Steve Lhomme 4795f4e08f demux:mkv: make the matroska_segment_c own its EbmlParser
(cherry picked from commit a62d3f305d)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:18:39 +01:00
Steve Lhomme 4b7d9eecb6 demux:mkv: use the parser we store in the payload
rather than the one from another object

(cherry picked from commit 5158cdfe3a)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:18:39 +01:00
Steve Lhomme 71284f9924 demux:mkv: remove dead code
We can't get here if we don't have a parser for the segment

(cherry picked from commit 1a4c3bdf55)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:18:39 +01:00
Steve Lhomme bfff23e9bc demux:mkv: move the code to check if a matroska_stream_c is used inside matroska_stream_c
(cherry picked from commit 72f0a5b799)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:14:09 +01:00
Steve Lhomme 3ec6a6ebb0 demux:mkv: make the matroska_stream_c own it IOCallback and EbmlStream
Now AnalyseAllSegmentsFound() only get a matroska_stream_c and returns if it
can be used or not.

(cherry picked from commit b56d680140)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:14:09 +01:00
Steve Lhomme af32d0f00b demux:mkv: use the segment Preload() rather than a local parser
This will avoid parsing the same data twice and avoid duplicate/different code.

(cherry picked from commit c7574905da)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-01-25 17:14:09 +01:00
Thomas Guillem bce67df396 aout: accept unknown channels for passthrough
Fix audio passthrough playback when our demux/packetizer can't parse hd audio
codecs informations.

Aouts don't use channels anymore when configuring passthrough.

(cherry picked from commit 2b07680ad4)
(cherry picked from commit 154687459f)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2018-01-25 15:00:22 +01:00
Jean-Baptiste Kempf 5b313a75ee Update PO files 2018-01-25 10:22:51 +01:00
Francois Cartegnie 784646eb2b demux: asf: check skip on multiple payload
(cherry picked from commit d9103e808f)
2018-01-24 22:47:25 +01:00
Francois Cartegnie 3c11c90ff9 demux: asf: fix read/peek types
(cherry picked from commit 4a96baac83)
2018-01-24 22:47:25 +01:00
Francois Cartegnie c680139869 demux: asf: check packet header offsets
(cherry picked from commit 9f7631674b)
2018-01-24 22:47:25 +01:00
Francois Cartegnie 821ab86961 demux: asf: clear shadowed var warning
(cherry picked from commit 9c661e46ba)
2018-01-24 22:47:25 +01:00
Francois Cartegnie e61fdbb2e7 demux: asf: set buffer pointers before parsing extensions
(cherry picked from commit d3fdf790fc)
2018-01-24 22:47:25 +01:00