mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
4952fdd956
Except for gst/gl/gstglfuncs.h It is up to the client app to include these headers. It is coherent with the fact that gstreamer-gl.pc does not require any egl.pc/gles.pc. I.e. it is the responsability of the app to search these headers within its build setup. For example gstreamer-vaapi includes explicitly EGL/egl.h and search for it in its configure.ac. For example with this patch, if an app includes the headers gst/gl/egl/gstglcontext_egl.h gst/gl/egl/gstgldisplay_egl.h gst/gl/egl/gstglmemoryegl.h it will *no longer* automatically include EGL/egl.h and GLES2/gl2.h. Which is good because the app might want to use the gstgl api only without the need to bother about gl headers. Also added a test: cd tests/check && make libs/gstglheaders.check https://bugzilla.gnome.org/show_bug.cgi?id=784779 |
||
---|---|---|
.. | ||
cube | ||
cubeyuv | ||
doublecube | ||
recordgraphic | ||
generic.sln | ||
Makefile.am | ||
README |
--- Description of the generic (no GUI) examples --- - cube: Show how to have a graphic FPS greater than the input video frame rate. The source is the videotestsrc rgb. - cubeyuv: Show how to have a graphic FPS greater than the input video frame rate. The source is a local video file needed in argument. The colorspace conversion is maded by the glupload element. - doublecube: A local video source is displayed into two renderers. The first one is a normal 2D screen, the second is a 3D cube. We can visually check that the video is displayed at the same speed in the two renderers. - recordgraphic: Show how to use the glfilterapp to define the draw callback in a gstreamer client code. The scene is recorded into an avi file using mpeg4 encoder. The colorspace conversion is made by the gldownload element.