Rom1v gl filter part4
- Jun 15, 2020
-
-
For convenience, use a local variable to reference the vlc_gl_api. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
f06d2a82 -
This avoids to rewrite consecutive cleanups on each error case. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
70f77f85 -
The name of arrays variable should use the plural form for clarity. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
df872fec -
The purpose of this callback is to load sampler data (bind textures, load uniforms, etc.) to be used for the OpenGL draw call. In addition, the name "load" also allows to possibly add an "unload" function later (to reset bindings). Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
0b18d8bd -
This makes explicit that these functions are set by the sampler implementation and must be called by the user of sampler. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
cd36d844 -
If GetUniformLocation() returns -1, then this is an implementation error. Assert instead of reporting the error to the caller. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
4d6c5827 -
Hide sampler implementation details from renderer. This will allow to expose only what OpenGL filters need in the public API. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
43e1fa0d -
For now, only the renderer dumps its shaders depending on the verbose level. This simplifies vlc_gl_renderer_New(), and paves the way to convert the renderer to an OpenGL filter. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
18b72e2e -
The code in fragment_shaders.c is part of the implementation of the sampler: it generates the fragment shader to expose a GLSL function "vlc_texture(vec2 coords)". Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
d873e553 -
The function vlc_gl_renderer_Draw() (almost) just called DrawWithShaders(). There is no need for a separate function. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
90e784dc -
Signed-off-by:
Thomas Guillem <thomas@gllm.fr>
6a693c27 -
Thomas Guillem authored
Add references to the functions creating tracks and tracklists from the delete functions.
de574765 -
Thomas Guillem authored
To keep compability with the old track API since VLC's ports are still using it. This will be removed when the old track API is removed.
08d3c0a9 -
Steve Lhomme authored4ed6b017
-
- Jun 12, 2020
-
-
Browse again with increased "StartingIndex" and adapted "RequestCount". Solves #21381 Panasonic Viera returns maximal 20 items on uPnP #22496 DLNA/UPnP - Panasonic recorder 12 records limit Fixes #15876 Signed-off-by:
Felix Paul Kühne <felix@feepk.net> Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
a1ef204f -
Hugo Beauzée-Luyssen authored
When AVI_IndexLoad gets invoked multiple time on the same file, we end up overwriting the previous index table.
3a6f9206
-
- Jun 11, 2020
-
-
Steve Lhomme authored
The timer API is not supported in Winstore builds so switch to something that works for all. The timer (thread based) is created once and armed/disarmed when needed.
17b13a24 -
Thomas Guillem authored9b924e19
-
Thomas Guillem authored
This adds the possibility to pause the player callback, read the event, and resume the player callback.
0a784cf7 -
Thomas Guillem authored
Since the mock:// duration is 5seconds.
36038444 -
Thomas Guillem authoredc973e161
-
Thomas Guillem authored30c17d41
-
Thomas Guillem authored
This debug code assert that a track should not not deleted with libvlc_media_track_delete() when it comes from a list.
e597536f -
Thomas Guillem authoredaaff92bc
-
Thomas Guillem authored03f0ecac
-
Thomas Guillem authored
Use the string identifier from track events.
11d161ef -
Thomas Guillem authored6f4685be
-
Thomas Guillem authorede6b0d55f
-
Thomas Guillem authored73781838
-
Thomas Guillem authored
That will be used by player tracks.
18a67a84 -
Thomas Guillem authored40c14fbe
-
Thomas Guillem authored
This common opaque struct will be used by the media and the media_player.
e1f25a73 -
Thomas Guillem authored
And use a trackpriv struct to hold the specific audio/video/sub part, removing an extra alloc usage.
d51ca268 -
Thomas Guillem authored254aaa36
-
Thomas Guillem authoredc3cdbb67
-
Hugo Beauzée-Luyssen authored
This is what's used to provide the thumbnails sizes through libvlc
725e2449 -
Steve Lhomme authored
Close() is called if any error occurs in Open() so it should be safe from uninitialized fields.
f7baf6cb
-
- Jun 10, 2020
-
-
François Cartegnie authored
refs #24842
d77d82b4 -
François Cartegnie authored4eb7d1c4
-
Steve Lhomme authored909a655d
-
Marvin Scholz authored
The avcodec-fast option, if enabled, sets the AV_CODEC_FLAG2_FAST option. Using AV_CODEC_FLAG2_FAST can cause use of unsafe code in avcodec which could lead to crashes.
312c06ef -
François Cartegnie authoredd309915f
-
François Cartegnie authoredc506bc2e
-
Steve Lhomme authored
Backport a UNICODE fix that was merged after the GnuTLS code freeze. Forbid call to GetHandleInformation(). fcntl never goes in that code section in Winstore builds. It's only used for linux random number generation. Do not allow calling SecureZeroMemory which is forbidden which is forbidden and not available as an inline function in some cases.
a4841494 -
Steve Lhomme authored
This is the proper counterpart to windowsapp. Now that we have a proper Docker image to build it: registry.videolan.org/vlc-debian-llvm-uwp:20200603145315 A recent mingw64 8 (unreleased) is needed to make use of this. It's available in our Docker images and in msys2 (although it's using msvcrt so it will probably fail to link properly) The forced -lwindowsappcompat is added like the other LDFLAGS in configure.ac.
6e8effb6 -
Steve Lhomme authored
The other UCRT builds might work in win7.
8f883369 -
Steve Lhomme authored
-luuid is needed as we use IID_IUnknown Add missing $(AM_LIBADD) messing up the order of libraries
dfa61b58 -
Steve Lhomme authored
Fixes this warning with clang10: incompatible pointer types passing 'u_long *' (aka 'unsigned long *') to parameter of type 'uint32_t *' (aka 'unsigned int *') Similar to what is done in access/smb2.c
009bce07
-
- Jun 09, 2020
-
-
c98b8e88
-
0b3ed042
-
79e4d6d7
-
2a67d1fc
-
8fa5fe13
-
0ea1f979
-
c3b987f8
-
3b8a7527
-
217007a4
-
- Jun 08, 2020
-
-
Rémi Denis-Courmont authored15460468
-
Rémi Denis-Courmont authored0b6f8e5c
-
Rémi Denis-Courmont authored
As long as at least one client is active, we need to keep trying to read/write to drain the RX buffers or fill the TX buffers. We still need to poll (with zero timeout) to detect new connections. Fixes #24824.
be6f5dfb -
Rémi Denis-Courmont authored
In case of TLS, the TCP socket poll state does not necessarily match the TLS stream state: data may be in the library-side TLS buffers. So we need to try to read/write regardless of the socket events. Refs #24824.
a1116cba -
Rémi Denis-Courmont authored
Account for actual data read or written, rather than iteration of the poll loop. Note: This won't count TLS handshake progress as activity. But if the client cannot complete the handshake within a time-out interval, we might as well drop it.
2faa146b -
Rémi Denis-Courmont authored
So the caller knows if the client needs to be polled or not.
e484fdda -
Rémi Denis-Courmont authored8af01b05
-
Rémi Denis-Courmont authored
If the underlying stream failed, there's no point processing an outstanding request. It's most likely incomplete, and in any case, we won't be able to send the response. That corner case only made sense for connections half-closed on read end. (Even then, it's a little questionable, because half-closed connections eventually time out if not fully closed.)
d3ce853d -
Rémi Denis-Courmont authored58e9b8a5
-
Rémi Denis-Courmont authored3b59ec25
-
Rémi Denis-Courmont authored
(No functional changes)
d8cc7df9 -
Steve Lhomme authored
"passing argument 1 of ‘vlc_obj_malloc’ from incompatible pointer type" "expected ‘vlc_object_t *’ {aka ‘struct vlc_object_t *’} but argument is of type ‘demux_t *’" Warnings introduced in 9a55abf4
78c5634a
-
- Jun 07, 2020
-
-
François Cartegnie authored
tired of bogus HLS configs ref #24817
036bde53 -
Rémi Denis-Courmont authored
(same as VLC 3.0 does)
b3fe59fa
-
- Jun 06, 2020
-
-
Rémi Denis-Courmont authored9a55abf4
-
Rémi Denis-Courmont authored
System headers must be included before VLC ones, especially on Windows.
9e829b57 -
Rémi Denis-Courmont authoredeea35462
-
Rémi Denis-Courmont authored659b4f57
-
Rémi Denis-Courmont authoredfd8a64d0
-
Rémi Denis-Courmont authored
This does not or no longer exist.
c2144624 -
Rémi Denis-Courmont authoredcc07bccf
-
Rémi Denis-Courmont authored
Call vlc_fifo_DequeueAllUnlocked() so that the block and byte counters are correctly reset to zero. Refs #24811.
05ec2a1c -
Rémi Denis-Courmont authored6ef6e5c6
-
Rémi Denis-Courmont authoredced9254b
-
Rémi Denis-Courmont authored
(in other words, DCCP)
886a2558 -
Rémi Denis-Courmont authored
RTP and RTCP are packet-based. The low-level I/O abstraction needed is similar but different from that of connection-oriented streams as provided by `struct vlc_tls'. So this adds a new suitable abstraction for the RTP plugin(s).
989b8dc7
-
- Jun 05, 2020
-
-
Steve Lhomme authored
That's what should be used when calling WaitOnAddress. It's not part of the kernel32.dll anymore. https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitonaddress
6cf8a7f8 -
Steve Lhomme authored
ecc_scalar_random is public in the nettle they embed, but the symbol is not mangled in the original nettle package, so it's not mangled here either. It leads to the nettle symbol behind defined twice. The bug is actually in nettle, not the script that imports nettle in gnutls.
1685914d -
Steve Lhomme authored
To build native tools it tries to use $CC when cross-compilation is detected, which is most likely wrong. This patch already exists in nettle that contains a version of gmp. But it's not in the upstream version of gmp.
58e68e2f -
Steve Lhomme authored
It may link with iphlpapi but be forbidden in UWP. This test relies on the fact that -Werror-implicit-function-declaration works in the compiler. And that's why it's done after it's enabled. It's only used for the --miface option to set the preferred multicast interface.
424e8991 -
Steve Lhomme authored
We know what app we're running.
1d9905e3 -
Thomas Guillem authoreddbf2d1b2
-
- Jun 04, 2020
-
-
Steve Lhomme authored
This version uses msvcrt as the C runtime and not the UCRT which we can't distribute on Win7 to Win8.1.
eb263469 -
Steve Lhomme authored69e15661
-
Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
fa5e127e -
This special case is now useless since p_source is always copied to p_dest, right after in the memmove loop. Furthermore, this caused an invalid payload size when the buffer was actually reallocated since the payload calculation was comparing two different buffers offset. CVE-2020-13428 Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
56822f03 -
It will test the hxxx_helper API that is only used by hw decoders (that are not tested). It will also test annexB <-> xvcC conversion, via the "hxxx-helper-testdec-xvcC" variable. Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6a3fbaae -
Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
c03ab9f5 -
Thomas Guillem authored
From Rémi: "Test plugins should use noinst_*, IMO. With check_*, you would end up with stale plugins and potentially weird crashes due to ABI breaks if alternating make all and make check."
efb54cb7 -
The renderer is expected to be independant of the input picture format. Instead, update the sampler directly. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
6705f8b3 -
Remove the remaining usage of interop from renderer. Now, the renderer only need to use the sampler. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
b773f641 -
The sampler were owned by the renderer. Move it to vgl, so that the renderer never have to handle an interop instance directly. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
9be98ad9 -
For convenience, expose the video format directly in sampler. Signed-off-by:
Alexandre Janniaux <ajanni@videolabs.io>
84625efc
-