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
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
6c2893d00a
examples: gl: remove old and broken vs solution files
2018-09-19 10:54:25 +01:00
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
Nicolas Dufresne
786c6f4d36
meson: Build gl/gtk examples
2018-07-20 22:45:43 -04:00
Edward Hervey
02d46b867a
examples: Disable a specific warning
...
gcc 8 checks more cases in the "parentheses" checks, and unfortunately
upstream gtk headers fails with that warning.
Make that warning non-fatal
2018-05-11 09:44:58 +02:00
Tim-Philipp Müller
8227135f3b
gl: hook up to build system
...
Tests and documentation will follow separately.
The mixer elements in the opengl plugin need to stay
in -bad for now since they use GstVideoAggregator.
https://bugzilla.gnome.org/show_bug.cgi?id=754094
2017-12-19 12:01:48 +00:00
Tim-Philipp Müller
59fe9c9122
gl: remove GST_USE_UNSTABLE_API bits
2017-12-19 12:01:37 +00:00
Jan Schmidt
bbe084de9d
3dvideo example: Correct video overlay for HiDPI
...
Use the GTK scaling factor to scale the video allocation
so video displays correctly on hi-dpi screens
2017-12-09 19:32:31 +00:00
Philippe Normand
b9a2c64d8d
examples/gl/gtk: build fix for the 3dvideo example on macOS
2017-12-09 19:32:30 +00:00
Philippe Normand
0559b42d6c
examples/gl/gtk: fix overlay handling for macOS
...
The GTK+ window requires a NSView sub-view, not an NSWindow.
2017-12-09 19:32:30 +00:00
Tim-Philipp Müller
996b8c746f
examples: gl: remove ancient bitrotten .vcproj files
2017-12-09 19:32:28 +00:00
Matthew Waters
061049dd73
gl/examples/fxtest: fix up for wayland support
...
- Pass the wayland display to gst
- Redrawing on resize is no longer needed.
2017-12-09 19:32:22 +00:00
Matthew Waters
e3b5214ac6
gl/examples: fix switchvideooverlay for wayland
...
and call XInitThreads() for X11
2017-12-09 19:32:18 +00:00
Matthew Waters
df6a85725f
gl/examples: remove duplicated videooverlay example
...
filtervideooverlay proved the exact same example (only with a extra glfiltercube).
2017-12-09 19:32:18 +00:00
Matthew Waters
ed1ff251db
gl/examples/3d: additions for wayland support
2017-12-09 19:32:18 +00:00
Sebastian Dröge
82a39d2227
gl/gtk: Fix compiler warning in example
...
fxtest.c: In function ‘main’:
fxtest.c:190:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
GtkWidget *window;
^~~~~~~~~
2017-12-09 19:32:18 +00:00
Matthew Waters
d2542993dd
gl/examples/gtk: call XInitThreads
...
Fixes some sporadic X11 threading assertions.
2017-12-09 19:32:18 +00:00
Matthew Waters
c3e362a8a9
gl/examples/fxtest: add needed glupload to the pipeline
...
Fixes a negotiation failure in the example
2017-12-09 19:32:17 +00:00
Vineeth TM
def421acf6
gstreamer: bad: Fix memory leaks when context parse fails
...
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.
And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.
https://bugzilla.gnome.org/show_bug.cgi?id=753854
2017-12-09 19:32:09 +00:00
Jan Schmidt
c096fec277
3dvideo: Add simple gtk example stereoscopic video player
...
https://bugzilla.gnome.org/show_bug.cgi?id=611157
2017-12-09 19:32:04 +00:00
Edward Hervey
786b857e62
examples: Fix gl usage without wayland support
...
Not all platforms have wayland support. Handle that gracefully at
compile time
2017-12-09 19:32:03 +00:00
Matthew Waters
411d4d13b4
gl/examples: update gtk examples for glupload
2017-12-09 19:32:03 +00:00
Matthew Waters
81485d0b22
gl/examples: update gtk examples for wayland
2017-12-09 19:32:03 +00:00
Matthew Waters
70ccb610f6
tests/gl/gtk: implement setting a wayland display/surface
2017-12-09 19:32:03 +00:00
Matthew Waters
821bc8da5b
examples/gl/gtk: use the sync bus callback to set the window handle
...
And output error messages.
2017-12-09 19:31:46 +00:00
Lubosz Sarnecki
f3311f2b1e
examples: fix gtk+ 3.14 deprecation error
...
https://developer.gnome.org/gtk3/3.13/GtkWidget.html#gtk-widget-set-double-buffered
https://bugzilla.gnome.org/show_bug.cgi?id=734482
2017-12-09 19:31:45 +00:00
Sebastian Rasmussen
06961ea200
examples/gl: unref bus and element after usage
...
gst_pipeline_get_bus() and gst_bin_get_by_interface() both
return references that need to be unreferenced after usage.
https://bugzilla.gnome.org/show_bug.cgi?id=734527
2017-12-09 19:31:45 +00:00
Tim-Philipp Müller
59f0f140ae
examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0
...
https://bugzilla.gnome.org/show_bug.cgi?id=733063
2017-12-09 19:31:44 +00:00
Matthew Waters
21e9ad2b8e
gl/examples: add the srcdir and builddir includes
...
And remove references to $(GST_PLUGINS_GL_*)
2017-12-09 19:31:42 +00:00
Thiago Santos
72f3b228c8
examples: gl: add missing entry to cflags to find gst/gl/gl.h
...
Otherwise build fails
2017-12-09 19:31:38 +00:00
Stefan Sauer
2cb93951df
tests: drop direct include
...
It is only allowed to include gdk/gdkx.h and that will bring all the x11 things.
2017-12-09 19:31:38 +00:00
Matthew Waters
05bfd277a8
gl/examples: move to -bad
...
- fix all the compiler errors
- give them their own gl directory
2017-12-09 19:31:38 +00:00