Commit graph

292 commits

Author SHA1 Message Date
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
Matthew Waters
e36f5b1326 gl/examples: Port to using signals instead of properties
Based on patch by Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>

https://bugzilla.gnome.org/show_bug.cgi?id=704507
2014-06-12 12:18:23 +10:00
Stefan Ringel
6a622a678e example: ts-parser: add parential rating descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
2014-05-29 14:29:15 +02:00
Stefan Ringel
ac88f31ac7 example: ts-parser: add ca iddentifier descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
2014-05-29 14:29:15 +02:00
Stefan Ringel
20410a70f5 example: ts-parser: add stream identifier descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
2014-05-29 14:29:15 +02:00
Stefan Ringel
c35dc33b7f example: ts-parser: add content descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
2014-05-29 14:29:15 +02:00
Stefan Ringel
1c9bbb1e00 example: ts-parser: add component descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
2014-05-29 14:29:15 +02:00
Edward Hervey
74681cf00a examples: factor dumping code
We can just re-use the new function instead of having two duplicates
2014-05-29 11:55:51 +02:00
Stefan Ringel
1db9d6c9df example: ts-parser: add linkage descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730901
2014-05-29 11:26:21 +02:00
Thiago Santos
fa1eb09520 mpegts: atsc: add missing field to ETT table
Set the subtable_extension as ett_table_id_extension
for ETT tables as it is used by it

https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:38:00 +02:00
Thiago Santos
1cab60b713 mpegts: atsc: add atsc's EIT table parsing
ATSC has its own version of the EIT table (DVB also has one).

This patch adds parsing for the ATSC EIT table and also fixed
the section identification to mark it as the ATSC one.

The implementation aws refactored to reuse some common internal
structures from ETT.

Also adds its dumping function to ts-parser example

https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:38:00 +02:00
Thiago Santos
0c6bb561e0 mpegts: atsc: add STT table parsing
Adds the system time table structure and functions for convenient parsing of
it and for getting the UTC datetime that it represents. Also adds its
information dumping to the ts-parser example

https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:37:59 +02:00
Thiago Santos
01178115a4 examples: mpegts: add function to dump ETT tables
https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:37:59 +02:00
Thiago Santos
9eed28d353 mpegts: add atsc MGT section parsing
Add a parsing function for MGT and also detect the EIT tables
for ATSC, the EIT pids are reported inside the MGT and we are still
only relying only on the table id for detecting it. In the future we
would want to also check the pid and compare with whatever the MGT
previously reported to confirm that it is indeed the EIT.

https://bugzilla.gnome.org/show_bug.cgi?id=730435
2014-05-29 10:37:59 +02:00
Thiago Santos
a1866ef8c1 examples: ts-parser: add TVCT and CVCT tables dumping
https://bugzilla.gnome.org/show_bug.cgi?id=730642
2014-05-29 10:37:59 +02:00
Edward Hervey
14adeaa1c8 examples: Avoid shadowing main loop variable
We end up with interesting results otherwise :)
2014-05-28 16:18:13 +02:00
Edward Hervey
5d483a0482 examples: Add support for private-data-specifier and frequency-list 2014-05-28 15:55:40 +02:00
Stefan Ringel
2bbf4ec96c example: ts-parser: add terrestrial delivery system descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730847
2014-05-28 07:03:59 +02:00
Stefan Ringel
a09f32d0a7 example: ts-parser: printing enum types
https://bugzilla.gnome.org/show_bug.cgi?id=730847
2014-05-28 07:03:58 +02:00
Edward Hervey
79071e23b3 examples: Add DVB Extended event parsing 2014-05-27 17:34:48 +02:00
Stefan Ringel
c0ac6ce432 examples: Add support for DVB multilingual component descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
2014-05-27 15:34:41 +02:00
Stefan Ringel
2277011875 examples: Add support for DVB multilingual service name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
2014-05-27 15:34:41 +02:00
Stefan Ringel
86b78c040d examples: Add support for DVB multilingual bouquet name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
2014-05-27 15:34:41 +02:00
Stefan Ringel
455c8271df examples: Add support for DVB multilingual network name descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=728429
2014-05-27 15:34:41 +02:00
Julien Isorce
fbe6dd9c5f gl: rename platform cocoa to cgl
Before:
GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

After:
GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

but still pass --enable-cocoa to configure script
because currently it can only be used with cocoa API.

We could later have cgl/gstglcontext_cgl.h that manages
a CGLContextObj directly and cocoa/gstglcontext_cocoa.h
would just wrap it.
So that it could be used with other Apple's window APIs.

https://bugzilla.gnome.org/show_bug.cgi?id=729245
2014-05-27 08:46:16 +01:00
Edward Hervey
8d71ec9f38 examples: Add support for DVB Bouquet Name parsing 2014-05-26 11:55:31 +02:00
Edward Hervey
2240630b04 examples: Add support for DVB Service List descriptor 2014-05-26 11:42:46 +02:00
Matthew Waters
2651272f4e gl/examples: fix compilation for clutter examples
ClutterX11TexturePixmap is deprecated in Clutter 1.6 and we ask for
at least 1.8
2014-05-07 20:13:00 +10:00
Luis de Bethencourt
8b3a5907d5 gl/clutter: safer check for cogl version
Use COGL_VERSION_ENCODE to check for the minimum required and maximum allowed
cogl version. In certain situations just using the COGL_VERSION_* macro name can
give you the following error:

error "COGL_VERSION_MAX_ALLOWED must be >= COGL_VERSION_MIN_REQUIRED"
2014-05-03 21:45:27 -04:00
Luis de Bethencourt
3bf1b0c75a gl/examples/generic: remove trailing whitespaces 2014-05-03 21:05:19 -04:00
Sebastian Dröge
e7a329195d examples: Fix CFLAGS in clutter GL examples 2014-05-03 19:46:04 +02:00
Sebastian Dröge
fdcdf8104d examples: Add all gl subdirs to DIST_SUBDIRS to fix the build 2014-05-03 19:46:04 +02:00
Julien Isorce
619e7be748 gl: pass NSView instead of NSWindow in cocoa-videooverlay example
https://bugzilla.gnome.org/show_bug.cgi?id=728451
2014-05-02 06:03:23 +01:00
Julien Isorce
e42d40c063 gl: add copyright to cocoa example 2014-05-02 06:03:22 +01:00