gstreamer/tests/examples/gl/qt
Wang Xin-yu (王昕宇) a8093c56d5 gl: qglwtextureshare demo fixes and cleanup
1. glcontextid function is replaced by gstreamer gst_gl_context_new_wrapped .
2. call gst_init before gst_gl_display_new , seems gst_gl_display_new depends
   on gst_allocator_register , which only worked after gst_init called
3. flush gstreamer OpenGL context before using shared texture, fix
   flicker problem.

https://bugzilla.gnome.org/show_bug.cgi?id=735566
2017-12-09 19:31:46 +00:00
..
mousevideooverlay gl/examples: Port to using signals instead of properties 2017-12-09 19:31:42 +00:00
qglwidgetvideooverlay gl/examples: Port to using signals instead of properties 2017-12-09 19:31:42 +00:00
qglwtextureshare gl: qglwtextureshare demo fixes and cleanup 2017-12-09 19:31:46 +00:00
videooverlay gl/examples: move to -bad 2017-12-09 19:31:38 +00:00
Makefile.am gl/examples: move to -bad 2017-12-09 19:31:38 +00:00
README gl/examples: move to -bad 2017-12-09 19:31:38 +00:00

--- 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