mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
b84a2eaf9f
Before: GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa gst-launch-1.0 videotestsrc ! glimagesink After: GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa gst-launch-1.0 videotestsrc ! glimagesink but still pass --enable-cocoa to configure script because currently it can only be used with cocoa API. We could later have cgl/gstglcontext_cgl.h that manages a CGLContextObj directly and cocoa/gstglcontext_cocoa.h would just wrap it. So that it could be used with other Apple's window APIs. https://bugzilla.gnome.org/show_bug.cgi?id=729245 |
||
---|---|---|
.. | ||
mousevideooverlay | ||
qglwidgetvideooverlay | ||
qglwtextureshare | ||
videooverlay | ||
Makefile.am | ||
README |
--- Description of the Qt examples --- - mousevideooverlay: Show how to use the videooverlay interface through Qt. The cube is rotating when moving the mouse (+ click maintained) - qglvideooverlay: Show how to use the videooverlay interface through Qt. The cube is rotating automatically into a QGLWidget - videovdieooverlay: Show how to use the videooverlay interface through Qt. The video is displayed as normal 2D scene. The window is dynamically resized to have the same size as the original video. --- How to build the Qt examples --- sudo apt-get install g++ sudo apt-get install libqt4-dev cd qglvideooverlay qmake make ./debug/qglvideooverlay