1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
Commit Graph

92147 Commits

Author SHA1 Message Date
Marvin Scholz
10aae615ab demux: ts: remove check for gone usdigital access 2022-03-26 09:54:37 +00:00
Marvin Scholz
99d74f1b33 input: remove gone usdigital scheme 2022-03-26 09:54:37 +00:00
Marvin Scholz
7c15eaa6b7 input: remove gone eyetv scheme 2022-03-26 09:54:37 +00:00
Marvin Scholz
38ef2ec17b input: add missing avcapture scheme
Used by the "new" AVFoundation-based capture module.
2022-03-26 09:54:37 +00:00
Marvin Scholz
39f108c173 input: remove gone qtcapture scheme 2022-03-26 09:54:37 +00:00
Prince Gupta
9089021db1 qml: fix initial local menu position of BannerSource
intially position localMenuView for `_alignHCenter == false`,
`on_AlignHCenterChanged` signal handler is not called on Component
completion if initially `_alignHCenter == false`
2022-03-26 09:28:52 +00:00
Fatih Uzunoglu
1f22b3f3ae qml: use Item as root type 2022-03-26 08:49:35 +00:00
Fatih Uzunoglu
8cccbacd23 qml: further limit miniplayer background effect source 2022-03-26 08:49:35 +00:00
Benjamin Arnaud
ee68529514 qt/pixmaps: Add a viewBox to the 'slower' svg
As mentioned in makeIconFont.py: 'SVG should have a viewbox equal to the size of the SVG'.

If we don't do this we generate a blank icon.
2022-03-26 08:28:44 +00:00
Thomas Guillem
6909e42f67 input_resource: don't expose aout functions
Not used anymore, modules go through the player to get the aout.
2022-03-25 16:32:43 +00:00
Francois Cartegnie
ab2c960d47 demux: adaptive: we don't need to check availabilityStartTime
mandatory for templates and breaks with epoch 0
refs
https://livesim.dashif.org/livesim/sts_1647955042/sid_f95b592d/testpic_2s/Manifest.mpd
2022-03-25 14:43:42 +00:00
Felix Paul Kühne
b2b344632e contrib/upnp: disable IPv6 support on iOS/tvOS
Browsing IPv6 servers is unsupported by libupnp on iOS and tvOS leading
to an empty content directory. This is mitigated by disabling IPv6
support just like for WinRT.

Fixes #26301
2022-03-25 12:34:07 +00:00
Steve Lhomme
8ddd2bdd96 configure: only use -static-libgcc if the C++ compiler accepts it
newer clang reports that it ignores the command on each C++ file compiled.
In the end the static C++ compiler is used on Windows anyway.
2022-03-25 12:15:06 +00:00
Mehdi Sabwat
5fde254a2c webvtt: rename css parser
ylwrap expects the generated scanner file to be lex.yy.c. The prefix feature in yacc and lex will make sure yy will be replaced by prefix (css in this case).

Functions used outside the generated code will have to be correctly named (exccept YYSTYPE).
2022-03-25 10:48:27 +00:00
Mehdi Sabwat
e958bf5e99 demux: rename json parser
ylwrap expects the generated scanner file to be lex.yy.c. The prefix feature in yacc and lex will make sure yy will be replaced by prefix (json in this case).

Functions used outside the generated code will have to be correctly named (exccept YYSTYPE).
2022-03-25 10:48:27 +00:00
Marvin Scholz
8ef84bf711 decoder: fix number of reference frames for AV1
AV1 needs 8 reference frames, as defined by NUM_REF_FRAMES in the
AV1 spec.
2022-03-24 14:39:14 +00:00
Thomas Guillem
4e90abceb4 extra/tools: ninja: force python3
It seems that python3 is already specified in all the VLC
contribs/tools.

Fixes build on systems not having a shortcut python -> python3 (macOS
for example).
2022-03-24 13:15:55 +00:00
Romain Vimont
e759db90d9 player: temporize on EOS bursts
A mechanism was implemented to temporize on consecutive input errors, to
mitigate infinite busy loops (see commit
d06622651f).

Although it avoided the most common issues, this mechanism was not
triggered for other problematic cases:
 - empty inputs;
 - inputs with unreported errors from demuxers.

Therefore, to encompass these other cases, consider the number of
consecutive stops in a small period of time instead of relying on
reported errors:
 - if a VLC_PLAYER_STATE_STOPPED occurs less than 100ms after the
   previous one, then increment the EOS burst count;
 - when more than 4 EOS burst count occur successively, start
   temporizing:
     - 100ms for the 5th
     - 200ms for the 6th
     - 400ms for the 7th
     - 800ms for the 8th
     - 1.6s for the 9th
     - 3.2s for the following

Fixes #5901
Fixes #26733
2022-03-24 12:40:16 +00:00
rego21
b65cd1f027 contrib: x265: add patch to enable detect512
Enables detect512 for all architectures
2022-03-24 10:05:17 +00:00
rego21
4031359a23 contrib: x265: update patches
Update patches to tackle the 2.9 version
2022-03-24 10:05:17 +00:00
rego21
3ab465b5c4 contrib: x265: update link and version of x265
The x265 link changed and version 2.7 isn't available in their downloads page.
2022-03-24 10:05:17 +00:00
Rémi Denis-Courmont
eca00803d0 drm: fix potential out of bound read
If the specified chroma had only 1 or 2 characters, this would overflow.
2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
dc8f95ec89 drm: initialise sys explicitly 2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
743fa40aca drm: remove unnecessary private data fields 2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
570bed45a8 drm: remove no longer format negotiation code
This removes the notoriously nonreentrant global format table.
This also incidentally removes the dependency on `-ldrm`.
2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
e3e92d8cca drm: select pixel format as other displays do
Use the helpers from the previous changesets and the follow the common
chroma fallback lists.

This should fix mismatched colour (masks) with RGB formats. This also
enables the use of a bunch of formats not included in the static table
from display.c.
2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
e8b508626b drm/fourcc: add helper to convert DRM to VLC format
This extra function is needed to deal with the RGB masks.
2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
2f34395f06 drm/fourcc: fix copy-paste errors 2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
854bbb4a80 drm: add helper to negotiate a pixel format 2022-03-24 09:31:37 +00:00
Rémi Denis-Courmont
78af9d20ec drm: return number of formats
After selecting a plane, we presumably will need to query its formats.
Since we already know how many there are.
2022-03-24 09:31:37 +00:00
Marvin Scholz
f1a9cf187b chroma: i420: fix condition for warning message 2022-03-24 07:55:49 +00:00
Marvin Scholz
550ef5634b doc: add needed script to EXTRA_DIST
The script is needed to build the documentation,
so it should be included in the dist tarballs.
2022-03-24 07:35:48 +00:00
Steve Lhomme
9c6922e935 egl_surfacetexture: add missing vlc_picture_pool.h include 2022-03-23 19:42:26 +00:00
Steve Lhomme
50404ced25 mmal: remove unused picture pool code
pic_pool is always NULL
2022-03-23 19:42:26 +00:00
Steve Lhomme
7582609a7c nvdec: remove unused includes 2022-03-23 19:42:26 +00:00
Steve Lhomme
8f621cbe13 vlc_vout_display: remove unused vlc_picture_pool include 2022-03-23 19:42:26 +00:00
Rémi Denis-Courmont
ee3f780e52 drm: always use the primary plane
The code used the first plane that matched the wanted pixel format.
This has mostly been working as the primary plane is normally the first
plane, but it incorrectly assumed that other plane types would not
expose further pixel formats, or that VLC would not prefer any of them.
2022-03-23 16:57:10 +00:00
Rémi Denis-Courmont
3aa9536985 drm: helper to get the primary plane 2022-03-23 16:57:10 +00:00
Rémi Denis-Courmont
82056aa6da drm: use the CRTC index helper 2022-03-23 16:57:10 +00:00
Rémi Denis-Courmont
86a84951b9 drm: add helper to find the CRTC index
(for matching planes to the CRTC)
2022-03-23 16:57:10 +00:00
Alexandre Janniaux
ee23251ddf avparser: remove trailing line 2022-03-23 15:51:22 +00:00
Alexandre Janniaux
72992236ed avparser: fix missing const 2022-03-23 15:51:22 +00:00
Romain Vimont
aa5bec3b49 opengl: simplify swizzle
The commit ca7d2ea4b6 introduced an xyzw
swizzle, whereas the previous code was using an rgba swizzle. No other
location used the xyzw swizzle for texture so unify and use rgba
everywhere.

Refs #26735
2022-03-23 14:21:07 +00:00
Romain Vimont
05f292874d opengl: fix swizzle
The four components are, in order: x, y, z, w.

The U and V values are the first and second components in the second
texture.

Fixes #26735
2022-03-23 14:21:07 +00:00
Thomas Guillem
203b197211 es_out: fix automatic clock selection
When the PCR is sent before the module probe function finishes (threaded
modules).

Fixes #26716
2022-03-22 18:18:42 +00:00
Thomas Guillem
9111192036 Revert "es_out: restore the previous ES_OUT_SET_PCR behavior"
Racy with threaded demuxers.

This reverts commit 88ad68a961.

Refs #26716
2022-03-22 18:18:42 +00:00
Thomas Guillem
ac95bf19f9 smb2: always use smb2 timeout
If the smb2_timeout was valid, then not valid (infinite), the last value
was not taken into account.
2022-03-22 15:16:00 +00:00
Thomas Guillem
cf7d48cd02 smb2: remove teardown handling
If interrupted by the user, just close the connection whitout sending a
close request and don't save the context in the cache in that case.
2022-03-22 15:16:00 +00:00
Thomas Guillem
924c951518 smb2: destroy the context in case of error
This fixes a potential stack-buffer-overflow when destroying a context
from Close() if an operation was aborted. Indeed, the smb2_destroy()
function might trigger callbacks with private data that was allocated on
an old function stack. To fix this issue, always destroy the smb2
context immediately after an error (when the struct vlc_smb2_op is
valid).

This issue is currently hidden by the teardown mechanism (but still
possible), that always try to close gracefully in case of error.
2022-03-22 15:16:00 +00:00
Thomas Guillem
c23709134c smb2: rework error handling
- Always call VLC_SMB2_SET_ERROR() in case of error,
 - Don't loose the returned error code
 - Fallback to -EINVAL in case of unknown error (very unlikely case)
2022-03-22 15:16:00 +00:00