gstreamer/tests/examples/gl/qt
Wang Xin-yu (王昕宇) 8d6f745b78 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
2014-08-28 10:06:00 +03:00
..
mousevideooverlay gl/examples: Port to using signals instead of properties 2014-06-12 12:18:23 +10:00
qglwidgetvideooverlay gl/examples: Port to using signals instead of properties 2014-06-12 12:18:23 +10:00
qglwtextureshare gl: qglwtextureshare demo fixes and cleanup 2014-08-28 10:06:00 +03:00
videooverlay gl/examples: move to -bad 2014-04-29 16:40:08 +10:00
Makefile.am gl/examples: move to -bad 2014-04-29 16:40:08 +10:00
README gl/examples: move to -bad 2014-04-29 16:40:08 +10: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