Commit graph

325 commits

Author SHA1 Message Date
Thiago Santos
cb56a6b32b examples: gst-camera: add zoom property to UI
Add a slider to modify the zoom in camerabin
2015-04-27 21:14:09 -03:00
Thiago Santos
31b1348559 examples: gst-camera: remove widgets deprecated in GTK3.0
VBox and HBox are now simply Box
2015-04-27 21:14:09 -03:00
Thiago Santos
a1a58d438f examples: gst-camera: update to GTK3
When opening the .ui file it complains about being for GTK 2 and
automatically updates it to GTK3. Commit this version and update
the makefile
2015-04-27 21:14:09 -03:00
Tim-Philipp Müller
0ff70da6bc examples: motioncells: remove GPL3 code we don't need
If 95% of the code of an example app consists of GObject
code, maybe that's defeating the point a little. So just
remove a lot of that and trim down the example to the
absolute minimum. Also removes the last remaining GPL3
licensed code in -bad.
2015-04-25 13:44:01 +01:00
Tim-Philipp Müller
b800bba76a examples: motioncells: simplify property setting 2015-04-25 13:44:01 +01:00
Tim-Philipp Müller
d531f908e5 examples: motioncells: port to 1.x 2015-04-25 13:44:01 +01:00
Robert Jobbagy
0f4ecf52ad examples: motioncells: relicense opencv example to LGPLv2 2015-04-25 13:43:54 +01:00
Matthew Waters
199f9bd194 gl/examples: fixup generic cube example for NDC
translating outside the clip region doesn't work
2015-03-14 18:12:38 +00:00
Julien Isorce
7dd3a2ec9e gl/examples: add sdlshare2 that uses glimagesink to output textures
https://bugzilla.gnome.org/show_bug.cgi?id=739681
2015-03-14 17:56:39 +00:00
Julien Isorce
0150255a46 glimagesink: provide GstSample in client-draw signal
Instead of prividing texture and size directly.
And apply changes to examples.

https://bugzilla.gnome.org/show_bug.cgi?id=739681
2015-03-14 17:56:21 +00:00
Julien Isorce
94d4ae1840 sdlshare: use glupload and unmap frame 2015-03-14 17:42:40 +00:00
Julien Isorce
5667d34182 examples: initialize NSApp at the beginning 2015-03-14 08:37:52 +00:00
Matthew Waters
e505f6257c applemedia: new AVSampleBufferLayerSink
Renders buffers using the CALayer subclass AVSampleBufferDisplayLayer
which can be placed inside a Core Animation render tree.
2015-02-24 19:12:10 +11:00
Luis de Bethencourt
59db1789cf mxf-example: don't quit on Warning
Don't quit on Warning.
Print out a message when there is an Error or Warning.
2015-02-21 18:56:23 +00:00
Luis de Bethencourt
40b5f02dc6 mxf-example: always show gtk window
Show gtk window even when there are no tags, to always have visual feedback
about the pipeline running.
2015-02-21 18:56:23 +00:00
Luis de Bethencourt
d240c98225 mxf-example: merge returns in g_value_to_string() 2015-02-21 18:56:23 +00:00
Luis de Bethencourt
7d058c8523 mxf-example: make bus_callback consistent
Simplify the bus_callback to make it consisten with other examples.
2015-02-21 18:56:04 +00:00
Luis de Bethencourt
4e45b86ed8 mxf-example: fix usage of argc and argv 2015-02-21 17:18:02 +00:00
Luis de Bethencourt
9454e42db0 camerabin examples: remove unneeded variable
ret is only used once, we don't need to store it in a variable for that.
2015-02-21 17:02:18 +00:00
Song Bing
629b350806 camerabin examples: memory leak in camerabin examples code
should unref caps after set to profile. profile will ref it.

https://bugzilla.gnome.org/show_bug.cgi?id=744219
2015-02-10 15:48:26 -03:00
Song Bing
2d0e6d96c6 camerabin examples: memory leak in camerabin examples code
should unref after set object. The object will be refed when set
property.

https://bugzilla.gnome.org/show_bug.cgi?id=744219
2015-02-10 15:48:26 -03:00
Matthew Waters
bf87ac8cbe gl/qt/examples: update for NSOpenGL -> CGL change 2015-01-23 16:12:24 +11:00
Matthew Waters
996f193547 gl/examples: fixup sdl example for gluPerspective removal 2014-12-11 19:41:23 +11:00
Thijs Vermeir
6215b5dd14 gl/cocoa: Fix example on Mac OS X 10.10
Using NSApp directly seems to confuse something, as the compiler
was expecting an id<NSFileManagerDelegate>. Switched to using
[NSApplication sharedApplication], and specified the delegate
protocol on the window class as well.

Similar to https://bugzilla.gnome.org/show_bug.cgi?id=738740
2014-12-01 10:59:32 +01:00
Matthew Waters
6bd1150ca8 gl: remove the use of glu 2014-11-28 09:14:26 +11:00
Sreerenj Balachandran
b8a2f46a88 examples: relicense opencv gsthanddetect_test to LGPLv2+
The GPL3 license header was copy'n'pasted from a
neighbouring source file by mistake, the original
code was not GPL3 licensed, but fell under the
default GStreamer license, which is LGPLv2+.

https://bugzilla.gnome.org/show_bug.cgi?id=685655
2014-11-17 09:20:19 +00:00
Hyunjun Ko
fec8d4e7b2 opencv-example: Use g_snprintf instead of sprintf
https://bugzilla.gnome.org/show_bug.cgi?id=739846
2014-11-17 00:47:28 +00:00
Sebastian Dröge
13c8517570 gl/cocoa: Remove GNUStep support
Until gcc and GNUStep properly support Objective-C blocks and other
"new" features of Objective-C we can't properly support them without
making the code much more ugly.

https://bugzilla.gnome.org/show_bug.cgi?id=739152
2014-11-13 12:01:19 +01:00
Tim-Philipp Müller
f07de37ad1 examples: remove pointless mpegtsmux example
Serves no purpose, is not even hooked up to the
build system, has hard coded file names and paths,
and can easily be replaced with a gst-launch line.

https://bugzilla.gnome.org/show_bug.cgi?id=739844
2014-11-09 19:25:39 +00:00
Matthew Waters
c1f3cc9f1c gl/examples: update for other-context property removal 2014-10-30 18:58:50 +11:00
Jan Schmidt
37c70c8efa examples: Fix Qt/GL qglwtextureshare example for X11
We need to pass the X11 display to GstGL or else it will
use its own X11 Display pointer, and the GL Context won't get shared
correctly on newer X servers
2014-09-29 00:39:07 +10:00
Jan Schmidt
0fd0683996 examples: port GL/Qt examples to Qt5
Update the GL Qt integration examples for Qt5 changes and for GstGL
signal signature changes.
2014-09-29 00:39:07 +10:00
Matthew Waters
62507bb089 examples/gl: update for signal signature change 2014-09-28 20:37:04 +10:00
Matthew Waters
505243aa8d examples/gl/gtk: use the sync bus callback to set the window handle
And output error messages.
2014-09-22 12:03:12 +10:00
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
Lubosz Sarnecki
57a96ce3e1 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
2014-08-21 17:39:01 +10:00
Sebastian Rasmussen
84b7079020 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
2014-08-10 21:43:16 +01:00
Руслан Ижбулатов
27df659fd8 gl: Reorder CFLAGS to include in-source dirs first in examples
https://bugzilla.gnome.org/show_bug.cgi?id=733426
2014-07-21 13:10:08 +02:00
Tim-Philipp Müller
1533fc7e2d examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0
https://bugzilla.gnome.org/show_bug.cgi?id=733063
2014-07-17 10:14:03 +01:00
Edward Hervey
b191053c7f examples: Add CAT section and CA descriptor support
https://bugzilla.gnome.org/show_bug.cgi?id=732986
2014-07-11 08:32:07 +02:00
Stefan Ringel
43dd0ec62a mpegts: use getter for egde linkage descriptor type
https://bugzilla.gnome.org/show_bug.cgi?id=730914
2014-07-09 07:41:33 +02:00
Matthew Waters
07c0b22c8a gl/examples: gitignore generated files 2014-07-02 17:38:13 +10:00
Wang Xin-yu (王昕宇)
6e4ea66ede gl : fix qglwtextureshare demo 2014-07-02 14:16:40 +10:00
Edward Hervey
22dfd9aef3 mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_
It was previously a mix and match of both variants, introducing just too much
confusion.

The prefix are from now on:
* GstMpegts for structures and type names (and not GstMpegTs)
* gst_mpegts_ for functions (and not gst_mpeg_ts_)
* GST_MPEGTS_ for enums/flags (and not GST_MPEG_TS_)
* GST_TYPE_MPEGTS_ for types (and not GST_TYPE_MPEG_TS_)

The rationale for chosing that is:
* the namespace is shorter/direct (it's mpegts, not mpeg_ts nor mpeg-ts)
* the namespace is one word under Gst
* it's shorter (yah)
2014-06-25 14:50:05 +02:00
Stefan Ringel
7c884374eb mpegts: change to GType and from gchar[] to gchar*
https://bugzilla.gnome.org/show_bug.cgi?id=730914
2014-06-24 16:06:01 +02:00
Matthew Waters
dcffe41b28 gl/examples: update for TEXTURE_2D change 2014-06-12 23:17:05 +10:00
Matthew Waters
854b61cf7f gl/examples: add GST_PLUGINS_BASE_CFLAGS 2014-06-12 13:37:51 +10:00
Matthew Waters
af5fbe21c4 gl/examples: remove spurious include for doublecube example 2014-06-12 13:15:10 +10:00
Matthew Waters
0c6bf7b752 gl/examples: add the srcdir and builddir includes
And remove references to $(GST_PLUGINS_GL_*)
2014-06-12 13:06:31 +10:00
Matthew Waters
d7f8cc9a78 glfilterapp: remove the reshape/draw properties
The reshape property was never used.
Replace the draw property with a signal.

Based on patch by Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>

https://bugzilla.gnome.org/show_bug.cgi?id=704507
2014-06-12 12:49:42 +10:00