- 02 Aug, 2022 1 commit
-
-
This is more straightforward than #if/#error/#endif.
-
- 18 Jun, 2022 3 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
The caller ought to be able to select which instance the player should be instantiated from.
-
- 17 Jun, 2022 1 commit
-
-
Rémi Denis-Courmont authored
-
- 02 Jun, 2022 2 commits
-
-
-
We could avoid sending 0, or we could avoid the rendering if it's 0. But being a "simple" sample app, let's use the easiest way.
-
- 27 May, 2022 1 commit
-
-
The sample code demonstrate how to bind an NSView to a media player to integrate video playback in a Cocoa application.
-
- 12 Mar, 2022 1 commit
-
-
From VLC 4.0, Ended or EndReached are sent when the player is stopping, so listen to the stopped event instead.
-
- 05 Mar, 2022 3 commits
-
-
This will avoid lengthy variable declarations.
-
-
Only supported by the D3D11 renderer for now.
-
- 03 Mar, 2022 5 commits
-
-
CMake has good integration with VSCode which makes it as easy as just loading the folder in VSCode, set the SDK folder and build.
-
-
-
strdup() is issuing a deprecated warning with the MS SDK.
-
-
- 07 Feb, 2022 1 commit
-
-
- 29 Jan, 2022 1 commit
-
-
The example will be included in the main page of libVLC documentation.
-
- 15 Dec, 2021 3 commits
-
-
-
This improves the documentation by exposing a C++-idiomatic way to handle the resources without leaking for most users copying this part of the code to their application.
-
C++14 is needed to use std::make_unique<> in particular, and is already a requirement for libvlc anyway.
-
- 02 Dec, 2021 3 commits
-
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
Hugo Beauzée-Luyssen authored
-
- 05 Oct, 2021 1 commit
-
-
QOpenGLFramebufferObject::takeTexture is detaching the current texture and transfering ownership to the caller, and the texture was never destroyed afterwards. It was leading to a huge memory consumption and leak when using the sample app. From the documentation[^1] in Qt5: Returns the texture id for the texture attached to this framebuffer object. The ownership of the texture is transferred to the caller. If the framebuffer object is currently bound, an implicit release() will be done. During the next call to bind() a new texture will be created. [1]: https://doc.qt.io/qt-5/qopenglframebufferobject.html#takeTexture Co-authored-by:
Alexandre Janniaux <ajanni@videolabs.io> For the commit message and cleaning the fix mostly. Fixes #25867
-
- 20 Aug, 2021 2 commits
-
-
Steve Lhomme authored
This will provide better quality when expanding the size compared to the initial size.
-
Steve Lhomme authored
It's lighter and faster.
-
- 01 Jul, 2021 9 commits
-
-
Precision is available but no-op on GLSL 130 (see [3], section 4.5.2) and mandatory for OpenGL ES. It was first reserved on GLSL 120 and didn't exist in GLSL <= 110 (= OpenGL 2.0). Since it's a no-op, the easiest solution is to never use it for OpenGL code. This description is also copied into the sample to explain to the users that they might have difference in behaviour depending on whether they are using OpenGL or OpenGL ES2, and depending on the version of OpenGL used. The precision qualifier was added because Qt was linked from the contribs, which was linked with -opengl angle and thus was actually using OpenGL ES2, which needs the precision qualifier. Resources used: [1]: https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.1.10.pdf [2]: https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.1.20.pdf [3]: https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.1.30.pdf
-
QWindowsIntegrationPlugin is supposed to be linked against only when the example is being compiled for Windows platform.
-
QWindowsIntegrationPlugin is supposed to be linked against only when the example is being compiled for Windows platform.
-
glActiveTexture doesn't exist in opengl32.dll on Windows. Co-Authored-By:
Alexandre Janniaux <ajanni@videolabs.io>
-
-
std::mutex is not available on some platforms (mingw64 with gcc for example).
-
On Windows if I don't set this I get the following error: QOpenGLShader::compile(Fragment): ERROR: 0:3: '' : No precision specified for (float) ERROR: 0:8: ';' : syntax error
-
QT_STATICPLUGIN is only used to export plugins, it has no impact on importing plugins (see qplugin.h).
-
Similar to the one in the QtGl sample.
-
- 07 May, 2021 1 commit
-
-
- 02 Apr, 2021 1 commit
-
-
Steve Lhomme authored
This is more flexible as it doesn't depend on a shared ID3D11DeviceContext. A NULL callback is still allowed as long as the host app does the OMSetRenderTargets on their single ID3D11RenderTargetView.
-
- 18 Feb, 2021 1 commit
-
-
Steve Lhomme authored
In some cases the decoder might ask for a decoder device that will use the setup callback. But in the end it's not using the decoder device. Then the display module is created, without knowing about that decoder device (via a video context) and calls the setup callback again. Unless the decoder device that is created in the vout is passed to the display module, we need to allow those multiple calls per session. Fix the D3D11 sample to take this in account. The D3D9 sample already takes care of it.
-