Sebastian Dröge
3c14457b47
hlsdemux: Include the m3u8.c file directly in the test because of an automake bug
...
$(top_srcdir) doesn't seem to work with _SOURCES because that would be too
obvious.
http://lists.gnu.org/archive/html/automake/2013-09/msg00005.html
2014-09-05 12:25:01 +03:00
Sebastian Dröge
eca4eaf183
hlsdemux: Also get the m3u8.c source file from the $(top_srcdir) for the test
...
Should fix make distcheck for real now.
2014-09-04 21:43:07 +03:00
Sebastian Dröge
70d7837718
hlsdemux: Use $(top_srcdir) instead of $(top_builddir) for the include path
2014-09-04 19:01:45 +03:00
Sebastian Dröge
ea555c6595
hlsdemux: Compile the m3u8.c directly instead of re-using the .o file
2014-09-04 17:52:35 +03:00
Sebastian Dröge
96c273f18a
hlsdemux: Add unit test for parsing of M3U8 playlists
...
Ported from https://github.com/ylatuya/gst-plugins-bad
This still has some unit tests for alternative renditions and
seeking, which are commented out for the time being until we
support them properly.
2014-09-04 17:51:21 +03: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
Thiago Santos
30a51ca547
h264parse: tests: fix caps for avc format
...
If it has a codec_data field, it should also use the stream-format=avc as
codec_data doesn't make sense otherwise and the default should
be bytestream
2014-08-25 13:37:57 -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
Tim-Philipp Müller
64f92ce628
tests: remove defunct test code for old colorspace element
...
https://bugzilla.gnome.org/show_bug.cgi?id=734538
2014-08-10 11:35:41 +01:00
Matthew Waters
81e71aa01b
gl/tests: update for API changes
2014-08-01 10:02:34 +10:00
Thiago Santos
03ef435c45
tests: gitignore: update with new tests
2014-07-28 19:11:41 -03:00
Thiago Santos
9a225e0203
tests: files: adds missing file from previous commit
...
This is required for the templatematch test to work
2014-07-28 16:55:15 -03:00
Thiago Santos
06243b7eee
tests: templatematch: add test to check that we use the correct rgb format
...
templatematch should use the same RGB format that opencv uses (BGR), make sure
we keep it that way with this test.
https://bugzilla.gnome.org/show_bug.cgi?id=678485
2014-07-28 15:57:07 -03:00
Thiago Santos
ea7b843244
gdppay: put all sticky events in streamheader
...
Use the sticky events to compose the streamheader as they are the
ones that are persisted to config new pads linked. Instead of storing
them ourselves rely on the pad storage that already orders it for us
https://bugzilla.gnome.org/show_bug.cgi?id=732596
2014-07-22 08:51:32 -03: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
Sebastian Rasmussen
c534ad8e81
tests/icles/dccp: Release reference to parent
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732977
2014-07-10 22:12:49 +01: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
Gwenole Beauchesne
1a455c25cd
tests: h264parser: add test to identify EOSEQ / EOS NALs.
...
Check that end_of_seq() [EOSEQ] and end_of_stream [EOS] NAL units
are correctly parsed and the reported NAL unit size yields 1 byte,
i.e. the only NalHeaderBytes in there.
https://bugzilla.gnome.org/show_bug.cgi?id=732553
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-07-01 16:54:44 +02:00
Gwenole Beauchesne
804c0ac27b
tests: h264parse: add test for byte-stream/au output.
...
Check that conversion to byte-stream/au formats work and that we
can effectively drop broken/invalid NAL units from the resulting
access unit buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=732203
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-07-01 16:26:48 +02:00
Gwenole Beauchesne
fb22636325
tests: h264parse: check SEI buffering_period() message is output.
...
If an SEI NAL unit with a buffering_period() message is inserted
between an SPS and PPS NAL unit, check that the output buffer still
contain it. i.e. make sure that this SEI message is not dropped.
https://bugzilla.gnome.org/show_bug.cgi?id=732156
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-07-01 16:26:48 +02:00
Edward Hervey
8c53dfcfb6
mpegts: Expose GstMpegtsDescriptor free function
...
Nothing earth shattering, but avoids people having to use g_boxed_free()
2014-07-01 10:03:49 +02:00
Thibault Saunier
71c81a5176
aggregator: Avoid destroying sources we do not own
...
+ Unref the maincontext in a new dispose function
+ Make sure to remove all sources on dispose
https://bugzilla.gnome.org/show_bug.cgi?id=732445
2014-06-30 14:24:49 +02:00
Sebastian Dröge
225f03f80e
h264parse: Fix memory leak in unit test
2014-06-29 23:22:13 +02:00
Sebastian Dröge
5cd10a10ab
glupload: Fix memory leak in unit test
2014-06-29 21:57:32 +02:00
Sebastian Dröge
d4a8d67982
glcontext: Fix memory leaks in unit test
2014-06-29 21:53:21 +02:00
Sebastian Dröge
426f9e6097
mpegts: Fix memory leaks in the test and the library
...
Currently uses g_boxed_free() in the unit test, this needs to
be fixed properly when cleaning up the API.
https://bugzilla.gnome.org/show_bug.cgi?id=730914
2014-06-29 21:34:50 +02:00
Thiago Santos
133c67a6a6
tests: aggregator: fix various leaks in the tests
2014-06-28 11:20:43 -03:00
Thiago Santos
1004f8d8ea
compositor: tests: Fix pad leak
...
Remember to unref requested pad
2014-06-28 09:44:22 -03:00
Thiago Santos
f1b99f04dc
tests: camerabin: fix caps leak in test
...
The gst_query_set_caps_result doesn't take ownership of caps
2014-06-27 17:35:32 -03: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
Edward Hervey
123f642d5e
mpegts: Fix descriptor_from_dvb_service
...
Various leaks/overwrites issues
2014-06-24 14:51:32 +02:00
Mathieu Duponchelle
11fa711c34
compositor: Add a new compositor based on the new GstVideoAggregator base class
...
It is a replacement for videomixer with a similare API
Co-Authored by: Thibault Saunier <tsaunier@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=731919
2014-06-20 19:53:33 +02:00
Thibault Saunier
55c65d079f
aggregator: Add new GstAggregator base class
...
This base class has been added to a newly created libgstbadbase library
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
https://bugzilla.gnome.org/show_bug.cgi?id=731917
2014-06-20 19:53:33 +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
Olivier Crête
e72f0eadd8
tests: Take account of memory alignment in shm test
2014-06-02 21:51:38 -04: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
89fadbcfe4
tests: mpegts: add test for STT parsing
...
Specially for the time to UTC datetime conversion
Example taken from the A65 spec
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
Matthew Waters
5867eb42f3
tests: update for glupload changes
2014-05-29 18:32:48 +10: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
Matthew Waters
8d6198d934
tests: update for recent glupload changes
...
GstGLUploadMeta object is now the GstVideoGLTextureUploadMeta
provider.
2014-05-28 23:22:15 +10: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
L. Sorin
9c1e66302d
curlsftpsink: authenticate remote host via public key fingerprint
...
Expose one more libcurl option: CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.
This allows authenticating the server by the MD5 fingerprint of
the server's public key.
https://bugzilla.gnome.org/show_bug.cgi?id=723167
2014-05-20 08:58:08 +02:00
Matthew Waters
a49a371710
gl/upload: implement lazy init
...
Rename init_format to set_format
2014-05-08 15:33:43 +10: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
Matthew Waters
29014c726b
tests: reenable camerabin element test
2014-05-06 21:17:59 +10:00
Matthew Waters
f19e5abcb8
gl/display: clean up pre gstglcontext api and struct fields
...
https://bugzilla.gnome.org/show_bug.cgi?id=729551
2014-05-06 21:08:30 +10:00
Tim-Philipp Müller
56db65d229
tests: add new vp8parser-test binary to .gitignore
2014-05-06 09:40:01 +01: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
Sebastian Dröge
24224f86bc
mpegtsmux: Use complete caps for setting up the streams in the test
2014-05-03 12:02:58 +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
Julien Isorce
6f5ecebb6a
gl: rename cocoa example and move it to its parent directory
2014-05-02 06:03:22 +01:00
Julien Isorce
1fb949bb3a
gl: remove unuseful README for cocoa example
2014-05-02 06:03:22 +01:00
Thiago Santos
df52eb3198
examples: gl: add missing entry to cflags to find gst/gl/gl.h
...
Otherwise build fails
2014-04-29 13:23:26 -03:00
Stefan Sauer
f3cb98d512
tests: drop direct include
...
It is only allowed to include gdk/gdkx.h and that will bring all the x11 things.
2014-04-29 18:20:30 +02:00
Jan Schmidt
692e7b4e11
gl/sdl example: Fix uninstalled build
2014-04-29 22:19:37 +10:00
Matthew Waters
8ddb19e595
gl/examples/sdl: update for the latest gstgl changes
2014-04-29 18:32:22 +10:00
Matthew Waters
294da02a2f
gl/examples: move to -bad
...
- fix all the compiler errors
- give them their own gl directory
2014-04-29 16:40:08 +10:00
Sebastian Rasmussen
54d160be5f
curl*sink: improve return value checks in test cases
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:21:10 +02:00
Sebastian Rasmussen
da987a3219
curl*sink: fix typos
...
https://bugzilla.gnome.org/show_bug.cgi?id=728960
2014-04-26 10:20:33 +02:00
Luis de Bethencourt
db68e036e9
gl: check the correct GstGLMemory in basic_test
2014-04-25 16:18:07 -04:00
Zhao, Halley
bf6959000f
tests: add standalone program for VP8 parser.
...
Add standalone test application that demonstrates how to use the new
VP8 bitstream parsing library, while also allowing simple debugging/
tracing of IVF files.
[clean-ups, updated to new parser API]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-04-18 16:32:40 +02:00
Zhao, Halley
26baaf51a1
tests: add test for VP8 bitstream parsing library.
...
[updated to new parser API]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-04-18 16:32:40 +02:00
Matthew Waters
15d0c04933
gl/mem: allocate the memory per plane
...
This patch provides the basic infrastructure required for this.
Upload and Download has been ported to this.
Has the nice effect of allowing GstGLMemory to be our
refcounted texture object for any texture type (not just RGBA).
Should not lose any features/video formats.
2014-04-11 10:37:06 +10:00
Edward Hervey
1f0a67f295
check: Fix mpegtsmux caps
...
Incoming streams need to be parsed. Doesn't fix the test completely though
2014-04-08 07:48:28 +02:00
Vincent Penquerc'h
8a8a02e756
tests: fix shm test deadlock
...
The test was not bringing the source back to NULL, so its thread
could start creating a buffer while the pads were being shutdown.
2014-04-07 13:00:21 +01:00
Tim-Philipp Müller
c6164e3569
tests: fix gl unit tests for recent API changes
2014-04-02 13:48:02 +01:00
Tim-Philipp Müller
0593b19fa2
tests: fix LDADD order for insertbin test
2014-03-28 19:46:33 +00:00
Tim-Philipp Müller
1e2744bb70
tests: don't link codecparser tests twice to the lib
2014-03-28 19:41:25 +00:00
Tim-Philipp Müller
564488fcbd
tests: fix build of gl unit tests in uninstalled setup
...
Put local .la files first, and add link to libgstvideo
for tests that use the libgstvideo API directly.
2014-03-28 19:30:16 +00:00
Wim Taymans
385ae4ace1
check: fix make check
...
The mpeg parser now flags the stream as mpeg2 if there is a picture
extension header, so remove it for mpeg1 data.
2014-03-21 16:00:46 +01:00
Руслан Ижбулатов
2a8f52a976
gl: fix the use of always-defined macros
...
After 2a0f0399ae
GST_GL_* macros are always
defined to 0 or 1. Don't use #ifdef ... or #if defined() on them.
https://bugzilla.gnome.org/show_bug.cgi?id=726591
2014-03-18 06:17:03 +00:00
Matthew Waters
6b3fe44185
Move gst-plugins-gl to bad
2014-03-16 15:17:59 +01:00
Matthew Waters
870503dc6b
gl: silence all the compiler warnings
2014-03-16 15:17:44 +01:00
Matthew Waters
18ebef308c
[900/906] tests/gstglcontext: reduce the number of frames displayed
...
Was causing timeouts on intel hardware due to vsync handling.
2014-03-15 18:37:07 +01:00
Matthew Waters
3ad466945e
[891/906] context: add support for wrapping external contexts
2014-03-15 18:37:07 +01:00
Matthew Waters
df0cfcbfa5
[878/906] tests: update for glmem api change
2014-03-15 18:37:06 +01:00
Matthew Waters
57422186b5
[869/906] tests: add some upload tests
2014-03-15 18:37:05 +01:00
Matthew Waters
14d4cc29b6
[864/906] examples: update to gtk3
2014-03-15 18:37:05 +01:00
Matthew Waters
636d307715
[853/906] display: remove _{set,get}_context
...
A GstGLDisplay doesn't need a GstGLContext and its use
was cause a reference cycle
2014-03-15 18:37:04 +01:00
Matthew Waters
b90d824626
[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE
...
We create our textures (in Desktop GL) with GL_TEXTURE_RECTANGLE,
vaapi attempts to bind our texture to GL_TEXTURE_2D which throws a
GL_INVALID_OPERATION error and as thus, no video.
Also, by moving exclusively to GL_TEXTURE_2D and the npot extension
we also remove a difference between the Desktop GL and GLES2 code.
https://bugzilla.gnome.org/show_bug.cgi?id=712287
2014-03-15 18:37:03 +01:00
Julien Isorce
ca9c2cce1a
[821/906] tests: fix test_share on GLESv2
2014-03-15 18:37:02 +01:00
Matthew Waters
9b22b0e0ba
[812/906] move the GL vtable from GstGLDisplay to GstGLContext
...
Conflicts:
tests/check/libs/gstglcontext.c
2014-03-15 18:37:02 +01:00
Matthew Waters
d139ac89a1
[811/906] tests: update for GstGLContext addition
2014-03-15 18:37:02 +01:00
Julien Isorce
ad3f202b34
[809/906] tests: port test_share to GLES2
...
Also add a deinit function to release fbo, tex and shader.
2014-03-15 18:37:02 +01:00
Matthew Waters
f93b804071
[802/906] add GstGLContext test that tests context sharing
2014-03-15 18:37:01 +01:00
Sebastian Dröge
20cb4fb038
[771/906] gl: Some less long/ulong/gulong usage
2014-03-15 18:36:59 +01:00
Mathieu Duponchelle
d0e95c34f3
[770/906] tests/examples: port some of the examples.
...
This commit is a first step, removes glupload, switch new-decoded-pad
to pad-added, but these examples still fail for various reasons.
2014-03-15 18:36:59 +01:00
Mathieu Duponchelle
782a9c5355
[769/906] tests/examples: fix and port some of the examples.
...
Realize widgets, remove glupload element.
2014-03-15 18:36:59 +01:00
Sebastian Dröge
19dff69a2e
[729/906] gl: Include config.h everywhere
2014-03-15 18:36:57 +01:00
Sebastian Dröge
bef97ad03e
[720/906] examples: Stop using deprecated GLib thread API
2014-03-15 18:36:56 +01:00
Matthew Waters
13067b104c
[704/906] Use gst_object_[un]ref so we can get refcounts in the log
2014-03-15 18:36:56 +01:00
Matthew Waters
792db73013
[648/906] tests/examples: remove dependency on glew
2014-03-15 18:36:52 +01:00
Matthew Waters
fa3c3b8434
[642/906] add gstglconfig.h for apps to find out what our capabilites are
...
ie libgstgl can be compiled with any combination of opengl/gles2
2014-03-15 18:36:52 +01:00
Matthew Waters
cc8e54541b
[624/906] OPENGL_ES2 => HAVE_GLES2 and add HAVE_OPENGL
...
use GstGLAPI to determine which code paths to execute.
perform some cleanups
2014-03-15 18:36:51 +01:00
Matthew Waters
93f7e993ad
[603/906] update FSF address
2014-03-15 18:36:50 +01:00
Matthew Waters
89c743bbe5
[602/906] hide deprecation warnings with newer clutter versions
2014-03-15 18:36:49 +01:00
Matthew Waters
11508f6f7a
[599/906] GL|ES2: fix typos from recent changes and make downloading RGB formats work again
2014-03-15 18:36:49 +01:00
Matthew Waters
86cdbad63c
[598/906] examples: fix compilation of cluttershare
2014-03-15 18:36:49 +01:00
Matthew Waters
fc6d972b68
[597/906] tests: add some simple pipeline tests to check
2014-03-15 18:36:49 +01:00
Matthew Waters
38ab01769d
[560/906] examples: update for bus api changes and glimagesink changes
2014-03-15 18:36:47 +01:00
Matthew Waters
0ef8174881
[554/906] GstGLMemory: update for GstAllocator API changes
2014-03-15 18:36:47 +01:00
Matthew Waters
1331611094
[514/906] add GstGLMemory and allocator
...
implement custom GstMemory for GL textures
currently map/unmap returns NULL although it might be favourable to upload/download/cache the image data
2014-03-15 18:36:44 +01:00
Matthew Waters
3682dd82b1
[511/906] tests: update for 1.0
2014-03-15 18:36:44 +01:00
Julien Isorce
816a5bcb36
[468/906] tests: fix commentary in clutteractor example
2014-03-15 18:36:42 +01:00
Julien Isorce
d21aaa22bf
[467/906] tests: various build fixes
...
- cmake could not find glib
- put gtk variables at the beginning to avoid GL conflicts
- update examples to clutter-1.8
- use const instead of deprecated G_CONST_RETURN
- set max pending events to 0 to make cube example works again
2014-03-15 18:36:42 +01:00
Sebastian Dröge
7e3070fe31
[466/906] tests: Fix variable unused but set compiler warning
2014-03-15 18:36:42 +01:00
Stefan Kost
ac138f74a1
[461/906] xoverlay: require base from git and update to new API
2014-03-15 18:36:41 +01:00
Julien Isorce
f08b7c892a
[457/906] gtk examples: adapt code since the native-window changes from gtk
...
Fixes bug #599885
2014-03-15 18:36:41 +01:00
Руслан Ижбулатов
24344a9ab9
[413/906] Fix Windows compiler warning in test/examples/gtk/fxtest/pixbufdrop.c
2014-03-15 18:36:39 +01:00
Julien Isorce
a6a5ee2839
[405/906] glfilter: add external-opengl-context property
...
It repairs the cluttershare and sdlshare example
2014-03-15 18:36:38 +01:00
Julien Isorce
1dad35ef93
[386/906] pixbufdrop: fix example on win32
2014-03-15 18:36:37 +01:00
Julien Isorce
586604e2e6
[374/906] sdlshare example: fix build on win32
2014-03-15 18:36:36 +01:00
Julien Isorce
e9a2613c66
[373/906] sdlshare example: review includes order and fix closure
2014-03-15 18:36:36 +01:00
Miquel Àngel Farré
785e001a1a
[372/906] make sdlshare example work on linux. Fix bug #593486
2014-03-15 18:36:36 +01:00
Julien Isorce
008b400f4c
[371/906] tests: add sdlshare example
...
It shows how to use gl textures that come
from gst gl elements inside a SDL OpenGL scene
2014-03-15 18:36:36 +01:00
Filippo Argiolas
263eb59fcf
[361/906] gstgtk: add missing license and copyright information
2014-03-15 18:36:35 +01:00
Filippo Argiolas
ad5edd7e32
[360/906] examples: add missing copyright/license to my examples
2014-03-15 18:36:35 +01:00
julien
6d9ee6fe43
[345/906] change rotation center in cluttershare example
2014-03-15 18:36:35 +01:00
Julien Isorce
eeece94c58
[344/906] Use a more complex gst gl pipeline in the cluttershare example
2014-03-15 18:36:35 +01:00
Julien Isorce
01cbcb4d3c
[343/906] Add a signal watch bus callback to check gst messages
2014-03-15 18:36:34 +01:00
Julien Isorce
76afadd6c7
[342/906] Fix texture actor update due to a too strong thread locking.
...
On linux, the GSource func attached to the clutter_threads_add_idle
was not getting the cpu ressource periodically.
Because the use of clutter_threads_enter/leave inside the fakesink
callback seems to be too strong.
So remove the use if clutter_threads_enter/leave in the fakesink callback.
Then replace GQueue by GAsyncQueue to keep thread safe access to the
communication queues between clutter and gst-gl.
Call clutter_threads_add_idle with high priority.
2014-03-15 18:36:34 +01:00
Julien Isorce
af8e566bc8
[341/906] Properly clean up pending gst gl buffers in cluttershare example
2014-03-15 18:36:34 +01:00
Julien Isorce
36dd1c7505
[340/906] Fix cluttershare example.
...
It requires at least clutter 0.8.6 since lower clutter versions are
not compatible with GL_TEXTURE_RECTANGLE_ARB.
Remove use of ClutterEffectTemplace since it does not exist in
clutter 0.9.
2014-03-15 18:36:34 +01:00
Sebastian Dröge
1aae908977
[339/906] Cast to a GstBuffer* before passing to gst_buffer_unref to fix compiler warning
2014-03-15 18:36:34 +01:00
Julien Isorce
af48769e8d
[338/906] Use GQueue in the cluttershare example
2014-03-15 18:36:34 +01:00
Julien Isorce
58e392f129
[337/906] Improve cluttershare example
...
Use clutter_threads_API.
When just using glupload from rgb, we have to be sure that
the upload texture is not in use in our gst gl context.
2014-03-15 18:36:34 +01:00
Julien Isorce
911cf141c4
[334/906] [win32/winCE] fix some pointer cast warnings with mingw
...
And turn off deprecated Wp64 msvc compiler option.
2014-03-15 18:36:34 +01:00
Julien Isorce
80e114860e
[332/906] just gst-indent and C90 on cluttershare example
2014-03-15 18:36:34 +01:00
Julien Isorce
87a1652216
[330/906] Can now share textures with an external gl context
...
The external opengl context must be specify when creating
our OpenGL context (glx) or just after (wgl).
When calling glXCreateContext or wglShareLists, the
external opengl context must not be current.
Then our gl context can be current in the gl thread while
the external gl context is current in an other thread.
See tests/examples/clutter/cluttershare.c
2014-03-15 18:36:34 +01:00
David Schleef
d164f882be
[328/906] Convert gtk examples to use helper library
...
Helper lib implements gst-gtk glue on all platforms
2014-03-15 18:36:34 +01:00
Filippo Argiolas
9aea500080
[325/906] Restore glimagesink instead of ximagesink
...
Partially revert previous commit. It's not an issue with glimagesink
Xoverlay interface. It's always the same intel bug with direct
rendering redirection (the one that affects each opengl application
with compositing managers). It works fine with DRI2 and UXA
acceleration. Still leaving effects disabled because I'm testing intel
hardware that doesn't support FBOs.
2014-03-15 18:36:33 +01:00
Filippo Argiolas
049f106b47
[324/906] Temporary disable glimagesink in clutteractortee
...
GLimagesink XOverlay interface doesn't seem to work with composite
redirection on intel (and I believe ati too). Windows aren't
redirected offscreen at all. This commit just shows that the example
correcty works with ximagesink. The most evident difference I see is
that glimagesink reparents the xoverlay window into its own while both
x and xvimagesink destroy their window and render directly to the
xoverlay one.
2014-03-15 18:36:33 +01:00
Filippo Argiolas
7e0602cddd
[323/906] Remove redundant XMoveWindow call
...
Revert the "move windows" thing from commit
175f7a707bc922f3facc63e7d9b6d01f9bb6b1b0
Windows are offscreen who cares about their position? If you see the
windows something is going wrong with composite redirection.
2014-03-15 18:36:33 +01:00
David Schleef
d015d5862d
[310/906] Global reindent
...
Indent parameters:
INDENT_PARAMETERS="--braces-on-if-line \
--case-brace-indentation0 \
--case-indentation2 \
--braces-after-struct-decl-line \
--line-length80 \
--no-tabs \
--cuddle-else \
--dont-line-up-parentheses \
--honour-newlines \
--continuation-indentation4 \
--tab-size8 \
--indent-level2"
2014-03-15 18:36:33 +01:00
David Schleef
4778241500
[308/906] Rename glpixbufoverlay to gloverlay
2014-03-15 18:36:32 +01:00
Julien Isorce
994a25ca7e
[301/906] depends on libpng instead of gdk_pixbuf
2014-03-15 18:36:32 +01:00
David Schleef
43e574aa8f
[298/906] Revert "Fix indention"
...
This reverts commit 96e4ab18c2cf9876f6c031b9aba6282d0bd45a93.
You should have asked first. And you would have been told "no",
because it causes people on development branches to do a huge
amount of extra work.
2014-03-15 18:36:32 +01:00
Sebastian Dröge
369b1d4ff2
[295/906] Fix indention
2014-03-15 18:36:32 +01:00
Julien Isorce
4b53383385
[285/906] fix gl framerate in gst caps. Consider position in xoverlay. Fix inversion bettween COLS and ROWS, and move windows.
2014-03-15 18:36:31 +01:00
Filippo Argiolas
0ac54fdc55
[247/906] Import xray effect
...
Add xray effect. Maps luma to a negative, slightly cyan tinted, curve,
applies some light gaussian blur and multiplies it with its sobel edges. Not
sure about the name, likely to change. Probably still needs some tuning.
2014-03-15 18:36:29 +01:00
Julien Isorce
d5406652af
[199/906] add pixbufdrop vs8 project
2014-03-15 18:36:26 +01:00
Julien Isorce
352f0d4180
[198/906] add fxtest vs8 project
2014-03-15 18:36:26 +01:00
Filippo Argiolas
5425839342
[195/906] fix gstgldifferencematte and add an example app to test it dragging an image over the video (works with pixbufoverlay too, see pixbufdrop --help)
2014-03-15 18:36:26 +01:00
Filippo Argiolas
68bf32effe
[187/906] remove expose event handling, it's map-unmap that is not behaving correctly, any idea?
2014-03-15 18:36:26 +01:00
Filippo Argiolas
ca2536cffa
[186/906] add expose event handling to clutteractortee
2014-03-15 18:36:25 +01:00
Filippo Argiolas
4e986d054f
[185/906] add clutteractortee example, a nice example about how clutter could be used to create a live preview widget for gleffects. It uses texture from pixmap, still needs some work regarding clean exit and expose event management.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
ee0010f593
[183/906] add an example to use texture from pixmap to do some kind of x_overlay on a clutteractor. A better way would be to directly share gl handles between clutter and gstgl but still I cannot find a way to do it.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
8e0278cf05
[180/906] minor cleanup in fxtest
2014-03-15 18:36:25 +01:00
Filippo Argiolas
19cc51e1b9
[178/906] improve fxtest command line option handling, default to videotestsrc if no source bin description is given
2014-03-15 18:36:25 +01:00
Filippo Argiolas
85502ef8cd
[175/906] add sin effect (desaturate everything but red shades). still needs some tuning.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
5db4fa5f1e
[173/906] add lumaxpro (desaturate + cross process) effect. nothing too impressive but I like it.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
15a1f7a203
[172/906] add support for command line parsing to fxtest (try fxtest videotestsrc ! desired caps ! identity). report a new issue on BUGS.
2014-03-15 18:36:25 +01:00
Filippo Argiolas
fad976d7b7
[171/906] import fxtest (little gtk app to easily test effects) from cvs branch, fixed rgbtocurve.
2014-03-15 18:36:25 +01:00
David Schleef
0569f75d95
[059/906] * configure.ac: * pkgconfig/Makefile.am: * pkgconfig/gstreamer-gl-uninstalled.pc.in: * pkgconfig/gstreamer-gl.pc.in: * pkgconfig/gstreamer-plugins-gl-uninstalled.pc.in: * pkgconfig/gstreamer-plugins-gl.pc.in: Rename pkgconfig files. And install them. * tests/check/Makefile.am: * tests/check/generic/states.c: * tests/check/pipelines/simple-launch-lines.c: Add some tests copied from -good.
2014-03-15 18:36:18 +01:00
Jesper Larsen
5f32708148
examples: ts-parser: Add table_id_name function
...
https://bugzilla.gnome.org/show_bug.cgi?id=721682
2014-03-15 18:16:13 +01:00
Jesper Larsen
1f2f0f31bf
examples: ts-parser: Add DVB teletext/subtitling
...
https://bugzilla.gnome.org/show_bug.cgi?id=721682
2014-03-15 18:16:13 +01:00
Tim-Philipp Müller
fc4ffd078a
tests: fix mpg123audiodec test for big-endian architectures
2014-03-05 10:37:53 +00:00
Jesper Larsen
968dcf28b5
test: mpegts: Add check for SDT
...
https://bugzilla.gnome.org/show_bug.cgi?id=724981
2014-02-25 14:34:29 +01:00
Jesper Larsen
bb22c6e7c4
tests: Add test for mpegts library
...
Tests for PAT, PMT, and NIT
Creates a new table, and populates it with descriptors.
Parses the newly created tables, and checks the data.
Creates a GstMpegTsSection from the tables, and packetize the sections.
The packetized section data is byte-wise compared to a static byte array
https://bugzilla.gnome.org/show_bug.cgi?id=723953
2014-02-24 16:01:11 +01:00
Thiago Santos
2662f0f72a
examples: gst-camerabin2-test: new 1.x raw caps format
...
Remove -yuv and -rgb from video/x-raw as those are from the
old 0.10 version
2014-02-24 11:07:10 -03:00
Sebastian Dröge
35e0ffa227
opus: Remove unused variable from unit test
2014-02-08 20:08:29 +01:00
Sebastian Dröge
2139a18272
kate: Remove unused variable from unit test
2014-02-08 20:07:57 +01:00
Sebastian Dröge
6f178ea8dc
assrender: Fix compiler warning in test
...
error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
2014-02-08 20:07:16 +01:00