The sample code demonstrate how to bind an NSView to a media player to
integrate video playback in a Cocoa application.
Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
Cherry-picked from commit 60fcef78ee.
So the display module doesn't have to do it in its own thread.
It doesn't seem to be on by default in Qt and there's no direct API to set this.
(cherry picked from commit b29e2911fd)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
In UWP apps (and now libvlc) it was possible to set the swapchain and D3D
context to use for the rendering, via the command-line.
This sample app uses this functionality in a basic win32 app.
CMake has good integration with VSCode which makes it as easy as just loading
the folder in VSCode, set the SDK folder and build.
(cherry picked from commit e70bb01630) (edited)
edited:
- 3.0 doesn't d3d callback examples
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
strdup() is issuing a deprecated warning with the MS SDK.
(cherry picked from commit 4bad605e3b) (edited)
edited:
- 3.0 doesn't d3d callback examples
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Use the same shortcuts and values as in VLC.
(cherry picked from commit 7d00336823) (edited)
edited:
- 3.0 doesn't d3d callback examples
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
QWindowsIntegrationPlugin is supposed to be linked against only when the
example is being compiled for Windows platform.
Cherry-picked from commit ce4e4085c6.
Signed-off-by: Alexandre Janniaux <alexandre.janniaux@gmail.com>
Similar to the one in the QtGl sample.
Cherry-picked from commit 930b5ef4f9.
Note that QtGl sample doesn't exist in the 3.0.x branch.
Signed-off-by: Alexandre Janniaux <alexandre.janniaux@gmail.com>
It allows to configure the example with, for instance, the following
command line:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ qmake ..
PKG_CONFIG_PATH can be adapted to the path where libvlc has been
installed and/or where Qt is available.
This also remove the unused parts, and add QT += widgets which is needed
to compile.
Cherry-picked from commit d99c280178.
Signed-off-by: Alexandre Janniaux <alexandre.janniaux@gmail.com>
In a git worktree, .git is a regular (text) file, not a directory.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit abba5c2972)
There has never been any documentation related to what a MRL actually
is, these changes addresses that by (hopefully) describing the entity
in a way that makes it easier for future developers to treat them
correctly.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
It is not always desirable to have documentation mixed with code.
This, as an example, applies to documentation about a certain feature
spanning several headers; or example implementations to aid future
developers.
These changes creates a designated place for such documentation.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
AddPendingEvent is protected in wxWindow so orignial example code don't compile. Access to this method should be made by using wxWindow::GetEventHandler()
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>