- Feb 05, 2025
-
-
Alaric Senat authored
Conditionally cleaning the track format leads to leaks on ill-formed ps packets. Usually when a track started allocating fmt metadata and the input has an unexpected EOF. The format is always zero initialized so we can count on es_format_Clean not to double free. Fixes https://issues.oss-fuzz.com/issues/42503008 Fixes #29013 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/vlc
-
Steve Lhomme authored
It is implemented.
-
Steve Lhomme authored
It uses: - av_packet_unref() (20260c68) - av_packet_alloc() (16fd46fa) - av_packet_side_data_get() (d3f5c874)
-
Steve Lhomme authored
As in autotools we don't want to pick extra libraries linked in this library.
-
Steve Lhomme authored
As in autotools, we check the libavcodec availability from the header. And we do not want to link to any libavcodec/libavutil library.
-
The test catches the assertion fixed by the previous commit when setting a video stereo mode on a non-running video output, using a non-playing player instance. More smoke tests can be added later for the other player's video methods and in the case the playback has started.
-
Dummy video outputs only define variables and don't use the interactive interface callbacks as they are not running. Because the callback was set during the initial variable setup, it would lead to assertion inside the video_output.c code as the stereo mode was changed dynamically from a dummy video_output object.
-
-
As the serial task queue doesn't autodelete. When the task was canceled while running, this caused the serial task to be leaked. Moreover, the TaksRunner wasn't traking these tasks explicitly, the serial task may try to acces the TaskRunner after it was deleted. Now we assing a task ID to serial tasks to track them as the regular ones.
-
Some tasks are not exectuted from the UI thread (QQuickImageResponse for instance). This ensures that the target still exists when calling the callback
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Fixes warning Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
This method's hidden state is a micro optimisation since this method only gets called when the collection view sizing actually changes. Yet it makes accurately setting the adjustment more difficult. So let's remove it Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Steve Lhomme authored
This module has a hard dependency on opengl32 since it was created in db93ff06. It uses: * wglMakeCurrent * glGetString * wglCreateContext * wglDeleteContext * wglGetProcAddress
-
Steve Lhomme authored
The many mandatory openGL functions are not available through wglGetProcAddress(). If we can't use GetProcAddress() we can't this display module.
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
- Feb 04, 2025
-
-
Steve Lhomme authored
It should be done by the NDK toolchain or by CMake when using the proper CMAKE_SYSTEM_NAME.
-
Steve Lhomme authored
We're supposed to use it with the Android SYSTEM_NAME * https://developer.android.com/studio/projects/configure-cmake * https://developer.android.com/ndk/guides/cmake We could do the same for Emscripten, rather than using their cmake wrapper.
-
Per the comment in the header this is no longer needed once we stop targetting 10.7; we are now targetting 10.10 Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
macosx: Access parent group type via groupDescriptor property rather than via jany climbing of view tree Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Steve Lhomme authored
The restrained size is in source unscaled coordinates when apply_scale is not set. We need to unscale the output dimensions to check if it fits inside in that case. Fixes positioning of SPU's when the window is smaller than the source. Plus rename SpuAreaFitInside() to SpuAreaMoveInside() as it's not fitting, ie stretching anything, just moving the subpicture (and probably shouldn't for absolute placement anyway).
-
Steve Lhomme authored
-
Steve Lhomme authored
From videolan/vlc!6750 (comment 470781) > the C standard doesn't guarantee that you can cast a function pointer into a > void* it only guarantees you that you can cast a function pointer to another > function pointer. It requires an extension C17 N2176 J.5.7: > A pointer to an object or to void may be cast to a pointer to a function, > allowing data to be invoked as a function (6.5.4). > A pointer to a function may be cast to a pointer to an object or to void, > allowing a function to be inspected or modified (for example, by a debugger) (6.5.4)
-
-
Steve Lhomme authored
-
Steve Lhomme authored
The Direct3D9 code is enabled for non-UWP targets and all Windows targets have this DLL (since Vista). DXVAHD_CreateDevice is available since Windows 7 [^1]. If for some reason the DLL is not there, the plugin won't be loaded and it will rightfully be skipped. [^1]: https://learn.microsoft.com/en-us/windows/win32/api/dxvahd/nf-dxvahd-dxvahd_createdevice
-
Steve Lhomme authored
The Direct3D9 code is enabled for non-UWP targets and all Windows targets have this DLL (since Vista). DXVAHD_CreateDevice is available since Windows 7 [^1]. If for some reason the DLL is not there, the plugin won't be loaded and it will rightfully be skipped. [^1]: https://learn.microsoft.com/en-us/windows/win32/api/dxvahd/nf-dxvahd-dxvahd_createdevice
-
Steve Lhomme authored
The Direct3D9 code is enabled for non-UWP targets and all Windows targets have this DLL (since Vista). If for some reason the DLL is not there, the plugin won't be loaded and it will rightfully be skipped. Direct3DCreate9Ex() is available since Vista [^1]: > Direct3DCreate9Ex is supported only in Windows Vista, Windows Server 2008, and Windows 7. Earlier versions of the D3D9.dll library do not include Direct3D9Ex and Direct3DCreate9Ex. We fallback to Direct3DCreate9() just in case it fails for maximum compatibility. [^1]: https://learn.microsoft.com/en-us/windows/win32/api/d3d9/nf-d3d9-direct3dcreate9ex#remarks
-
Steve Lhomme authored
The DXVA2 code is enabled for non-UWP targets and all Windows targets have this DLL (since Vista). If for some reason the DLL is not there, the plugin won't be loaded and it will rightfully be skipped.
-
Steve Lhomme authored
The DXVA2 code is enabled for non-UWP targets and all Windows targets have this DLL (since Vista). If for some reason the DLL is not there, the plugin won't be loaded and it will rightfully be skipped.
-
Steve Lhomme authored
It is found in Windows 7 with KB2533623 [^1]. This KB is required on VLC 4 since 64707300. [^1]: https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-setdefaultdlldirectories#requirements
-
Steve Lhomme authored
-