Seungha Yang
c8ff6f82a5
examples: overlaycomposition: Fix implicit declaration warning
...
overlaycomposition.c:276:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
overlaycomposition.c(263): warning C4090: 'initializing': different 'const' qualifiers
2019-12-08 18:57:26 +09:00
Seungha Yang
90bcaf5a43
examples: win32-videooverlay: Remove unused variable
...
win32-videooverlay.c:34:20: warning: 'msg_io_channel' defined but not used [-Wunused-variable]
2019-12-08 18:45:22 +09:00
Seungha Yang
ed651022cb
examples: win32-videooverlay: Add an option for testing reuse of external window
...
Adding "repeat" option to test a case where external window is reused.
2019-11-18 11:25:47 +00:00
Seungha Yang
39dcceb028
examples: overlaycomposition: Fix typo
...
Sorry for the noise. Default should be autovideosink
2019-11-15 06:28:18 +00:00
Seungha Yang
4960f385cf
examples: overlaycomposition: Add option for videosink element selection
...
It would be useful for testing overlaycomposition with specific videosink element.
2019-11-13 12:45:10 +00:00
Tim-Philipp Müller
289d8e53e2
Remove autotools build system
2019-10-13 14:15:43 +01:00
Edward Hervey
2409f4f360
base: Avoid usage of deprecated API
...
GTimeval and related functions are now deprecated in glib.
Replacement APIs have been present since 2.26
2019-10-11 06:17:39 +00:00
Mathieu Duponchelle
dd556ccf3d
examples: add device provider example
2019-10-08 00:34:13 +02:00
Matthew Waters
9939149933
examples/gl/sdlshare: port to OpenGL 3.0 core profile
2019-10-03 00:18:36 +10:00
Sebastian Dröge
e8edb0eb71
examples/sdlshare: Map video frames as early as possible and wait via GL sync meta before using texture ids
2019-09-30 13:29:58 +03:00
Sebastian Dröge
e750ea40b6
examples/sdlshare: Initialize GL as part of the event loop
...
And unref additional buffers we never use for rendering directly instead
of going via the output queue.
2019-09-30 13:29:58 +03:00
Sebastian Dröge
0bcba6a3ec
examples/sdlshare: Activate and initialize our wrapped GL context
...
This allows us to e.g. use the GL functions vtable on it later.
2019-09-30 13:29:58 +03:00
Sebastian Dröge
9000bc86df
examples/sdlshare: Call gst_init() a bit earlier in main()
...
Let's not accidentally call other GStreamer API before that.
2019-09-30 13:29:58 +03:00
Sebastian Dröge
abc243fee4
examples/sdlshare: Create an OpenGL context for OpenGL 2.0
2019-09-30 13:29:58 +03:00
Sebastian Dröge
eb3699a74b
examples/sdlshare: Switch from a GLib main loop to a normal SDL event loop
2019-09-30 13:29:58 +03:00
Sebastian Dröge
6a5ab50103
examples/sdlshare: Port to SDL2
2019-09-30 13:29:58 +03:00
Sebastian Dröge
b0bd448d37
examples/sdlshare: Move from a fakesink to an appsink
2019-09-30 13:29:35 +03:00
Sebastian Dröge
6f14785c3e
examples/sdlshare: Store buffer queues and loop in a global variable
...
There's no point storing them in GObject data, we already have other
global variables anyway.
2019-09-30 13:29:35 +03:00
Sebastian Dröge
8b891c218f
examples/sdlshare: Bus sync handlers return no value
2019-09-30 13:29:35 +03:00
Sebastian Dröge
9daa7fa663
examples/sdlshare: Fix various memory leaks
2019-09-30 13:29:35 +03:00
Thibault Saunier
909baa2360
Pass the code through codespell
2019-08-30 13:05:36 +00:00
Aaron Boxer
355736fc93
playback-test: plug some memory leaks
2019-08-05 14:54:40 -04:00
Seungha Yang
8f125fb4d9
examples: win32-videooverlay: Fix C2440 build error
...
Follow WNDPROC define to avoid implicit type conversion.
2019-07-10 01:34:13 +09:00
Seungha Yang
3a53ec066b
examples: Add a video overlay example for WIN32 videosink elements
...
User can set the target WIN32 video element via "videosink" command line
option. Default is glimagesink.
2019-07-08 17:32:37 +09:00
Matthew Waters
0863452a79
examples/gl/sdl: only build on glx/wgl systems
...
The code will not work anywhere else.
FIxes https://gitlab.freedesktop.org/gstreamer/gst-build/issues/22
2019-04-04 14:06:48 +00:00
Nicolas Dufresne
3ee89d6e3c
Remove some left over 0.10 references
2019-03-21 17:22:24 +00:00
Tim-Philipp Müller
2972b673c0
compositor: add to build after move from -bad
...
This replaces videomixer.
Fixes #138
2018-12-28 12:16:18 +01:00
Tim-Philipp Müller
f11571f398
Move GstVideoAggregator, compositor and OpenGL mixers from -bad
...
Merge branch 'videoaggregator-compositor-glmixers-move'
Fixes #137 and #138 .
2018-12-28 12:15:39 +01:00
Philippe Normand
6c1dc1b129
examples/gl/gtk: Fix build on macOS
...
The gdkquartz.h include pulls into Apple Obj-C frameworks so the compiler needs
to handle the gstgtkhelper library as such.
Fixes #518
2018-12-27 14:55:28 +01:00
Philippe Normand
e1e958fcd7
examples/gl: Cocoa example Meson build definitions
2018-12-26 10:56:08 +00:00
Justin Kim
88524a6686
tests: examples: gl: gtk: Disabled on MacOS X
...
It fails to build on MacOS X. This example should be disabled
until fixed.
Issue: #518
2018-12-14 12:57:38 +09:00
Justin Kim
4f01958232
examples: gl: generic: recordgraphic: Use gst/gl/gstglfuncs.h
...
https://gitlab.freedesktop.org/gstreamer/gst-build/issues/11
2018-12-14 12:04:17 +09:00
Xavier Claessens
a907ed226c
Disable gl examples when we don't have OpenGL
2018-11-21 22:17:35 -05:00
Edward Hervey
8367d7e6f4
examples: Fix libgstvideo linking
...
Use the local libgstvideo (and not the system wide one)
2018-11-05 12:00:55 +01:00
Philippe Normand
07d078e7bc
examples/playback-test: New entry for text-offset updates
...
https://bugzilla.gnome.org/show_bug.cgi?id=797134
2018-11-01 09:52:34 +00:00
Philippe Normand
2e295da3a5
examples: overlaycomposition: Fix Meson build
2018-10-28 17:21:08 +00:00
Sebastian Dröge
e87fa73e60
compositor: Implement different operators via per-pad property
...
This removes the crossfade-ratio property and replaces it with an
operator property. Currently this implements the following operators:
- SOURCE: Copy over the source and don't look at the destination
- OVER: Default blending of the source over the destination
- ADD: Like OVER but simply adding the alpha instead
See the example for how to implement crossfading with this.
https://bugzilla.gnome.org/show_bug.cgi?id=797169
2018-10-28 17:13:26 +00:00
Sebastian Dröge
088b4c0c52
overlaycomposition: New element that allows applications to draw GstVideoOverlayComposition on a stream
...
https://bugzilla.gnome.org/show_bug.cgi?id=797234
2018-10-28 17:03:47 +00:00
Tim-Philipp Müller
85c484a510
examples: gl: remove bitrotten clutter examples
...
https://bugzilla.gnome.org/show_bug.cgi?id=797173
2018-10-07 19:09:24 +01:00
Sebastian Dröge
c5b78fdc93
gl: Rename GST_TYPE_GL_STEREO_DOWNMIX GType macro everywhere
...
The old one still exists but behind GST_DISABLE_DEPRECATED
2018-10-03 14:49:32 +03:00
Sebastian Dröge
2b4dfb9941
gl: Generate enum GTypes via glib-mkenums
...
https://bugzilla.gnome.org/show_bug.cgi?id=797240
https://bugzilla.gnome.org/show_bug.cgi?id=797144
2018-10-03 13:13:24 +03:00
Tim-Philipp Müller
336983d52c
examples: gl: generic: recordgraphic: fix build with MSVC
2018-09-19 23:43:10 +01:00
Tim-Philipp Müller
900be507f9
meson: add clutter gl examples to Meson build
2018-09-19 11:16:17 +01:00
Tim-Philipp Müller
6c2893d00a
examples: gl: remove old and broken vs solution files
2018-09-19 10:54:25 +01:00
Tim-Philipp Müller
d53b38c812
meson: add generic gl examples to Meson build
2018-09-19 10:49:56 +01:00
Tim-Philipp Müller
f1272e547d
meson: gl: return not-found dependency instead of disabler if opengl is disabled
...
This allows consumers of the gstgl dependency where gstgl is optional
to do things like:
config_data.set('HAVE_GST_GL', gstgl_dep.found())
deps = [gstvideo_dep, gstgl_dep]
meaning they can still use the dep unconditionally. With the
disabler we would just disable the whole target even if the
gstgl part was an optional extra. We can add an option to
dependency() later to let users/consumers of the dep decide
if they want a not-found dependency or a disabler instead.
2018-08-18 12:37:48 +01:00
Nirbheek Chauhan
eadedc68f8
meson: Add feature options for all plugins
...
GL dependency detection is still automagic.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 18:42:11 +05:30
Nicolas Dufresne
bea4d13a99
meson: gl/gtk tests: Add video_dep to the helper
...
The gtk helper library includes videooverlay.h hence must have a
dependency on video_dep, this allow removing the dep from the dependant
executables.
2018-07-21 09:13:27 -04:00
Tim-Philipp Müller
5ed774350a
meson: examples: fix wrong keyword for gtk examples
2018-07-21 11:12:09 +01:00
Nicolas Dufresne
786c6f4d36
meson: Build gl/gtk examples
2018-07-20 22:45:43 -04:00