Commit graph

1794 commits

Author SHA1 Message Date
Nick Stoughton
a344b99c98 bluez: support compile-time distinction between bluez4 and bluez5
Signed-off-by: Nick Stoughton <nstoughton@aether.com>

https://bugzilla.gnome.org/show_bug.cgi?id=738626
2014-12-11 09:08:47 +05:30
Reynaldo H. Verdejo Pinochet
89eb1e9a03 vcdsrc: port to 1.
https://bugzilla.gnome.org/show_bug.cgi?id=547661
2014-12-04 17:00:52 -03:00
Thomas Klausner
655e6926bf configure: Do comparisons in a portable way with = instead of ==
https://bugzilla.gnome.org/show_bug.cgi?id=740953
2014-12-01 09:49:17 +01:00
Thiago Santos
9ec9f3f119 adaptivedemux: add adaptivedemux base class
https://bugzilla.gnome.org/show_bug.cgi?id=735848
2014-11-30 21:56:01 -03:00
Matthew Waters
e653ae9fc2 gl: fixup compat definition for GLuint64 for OS X 2014-11-28 13:04:21 +11:00
Matthew Waters
6bd1150ca8 gl: remove the use of glu 2014-11-28 09:14:26 +11:00
Matthew Waters
f2af65ee2d gl: add a sync meta for synchronizing across GL contexts
A context can create a GLsync object that can be waited on in order
to ensure that GL resources created in one context are able to be
used in another shared context without any chance of reading invalid
data.

This meta would be placed on buffers that are known to cross from
one context to another.  The receiving element would then wait
on the sync object to ensure that the data to be used is complete.
2014-11-28 09:14:25 +11:00
Arun Raghavan
ab61306c67 build: Use newer AX_PTHREAD instead of ACX_PTHREAD 2014-11-26 22:05:10 +05:30
Tim-Philipp Müller
a964491735 Remove unported and obsolete qtwrapper plugin code
QuickTime is deprecated, we want new plugins based
on avfoundation (osx) or dxva/mediafoundation (windows).
2014-11-26 14:43:21 +00:00
Matthew Waters
aeaf4a4388 gl: fix automagic disabling of desktop GL
If configure finds GL + GLES2 but the user passes --enable-gles2 and
the two GL API's cannot be built against together, configure was still
allowing the desktop GL stack to be built.
2014-11-27 01:32:21 +11:00
Tim-Philipp Müller
5f8a3fa0a3 configure: use pkg-config to detect X11
Like we do in -base and -good now.

https://bugzilla.gnome.org/show_bug.cgi?id=731047
2014-11-24 19:53:56 +00:00
Sebastian Dröge
9492db96d1 gl: Use numeric OSX version instead of the macro
The macro is not defined on older OSX versions and evaluates to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=740201
2014-11-16 11:00:57 +01: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
Sebastian Dröge
340d60e85e gl/cocoa: include gl3.h in configure too for consistency with gstglapi.h 2014-11-04 09:52:11 +01:00
Vincent Abriou
9f69bcbfe5 configure.ac: auto decision to include GL library fails
The part of the configure.ac that consist to check if we
can include both GL and GLES2 at the same time is failing.
Indeed, in the case NEED_GLES2=yes and NEED_OPENGL=auto,
HAVE_OPENGL variable is updated whereas it should be HAVE_GL
variable that has to be updated (HAVE_OPENGL variable is not
used in the rest of the configure.ac).

https://bugzilla.gnome.org/show_bug.cgi?id=739348

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Benjamin GAIGNARD <benjamin.gaignard@linaro.org>
2014-10-29 22:40:42 +11:00
Tim-Philipp Müller
392f91a61b configure: check for more openh264 API that we need 2014-10-26 15:44:05 +00:00
Edward Hervey
eb01f37767 configure.ac: Use libsrtp.pc if present 2014-10-24 16:19:58 +02:00
Tim-Philipp Müller
871ec4693c configure: improve openh264 check
The openh264 API is still unstable, so check for
structure member that we need to prevent building
against an older incompatible version.
2014-10-22 13:03:30 +01:00
Tim-Philipp Müller
6c8446ffa6 configure: simplify openh264 check
Of course PTHREADS_CFLAGS is not used anywhere now
for the check, but that was the case before as well.
2014-10-22 12:36:36 +01:00
Stefan Sauer
27d6a70acc configure: use a macro to check for pthread
Replace the hardcoded -lpthread in most of the places with $PTHREAD_LIBS. For
openh264 also add $PTHREAD_LIBS to OPENH264_LIBS until upstream ships a .pc
file.
2014-10-21 13:43:03 +02:00
Brendan Long
eee5110fb4 gl: Check for GLU before trying to use it in configure.ac
https://bugzilla.gnome.org/show_bug.cgi?id=738816
2014-10-20 13:05:27 +02:00
Stefan Sauer
ca5971850d configure: add pthread to the configure check for openh264 2014-10-20 11:22:54 +02:00
Sebastian Dröge
b57f255f26 vtenc: VTCompressionSessionPrepareToEncodeFrames only exists since 10.9.6
Check with configure for it instead of using one of the availability macros
as those wouldn't work as expected with minor versions.
2014-10-19 14:51:40 +02:00
Thijs Vermeir
293522d418 rtp: add h265 RTP payloader + depayloader 2014-10-17 10:40:24 +02:00
Thijs Vermeir
f241294662 x265enc: add x265 encoder element 2014-10-15 17:11:39 +02:00
Joachim Bauch
51fc68e196 Integrate libde265 into gst-plugins-bad. 2014-10-14 10:48:27 +02:00
Sebastian Dröge
cf4ec9b04e openh264: Add OpenH264 based encoder/decoder elements
These are the openh264 elements released under the BSD-2 license
by Ericsson as part of the OpenWebRTC project.
https://github.com/EricssonResearch/openwebrtc-gst-plugins

https://bugzilla.gnome.org/show_bug.cgi?id=737788
2014-10-03 17:23:35 +03:00
Lubosz Sarnecki
cc3ca17f4c gltransformation: requires graphene 1.0.0 2014-09-30 16:06:32 +03:00
Sebastian Dröge
faba47f70d applemedia: Unconditionally use VideoToolbox on iOS if available
Because we do weak linking now we can always compile it in and check at
runtime if it is actually available or not.
2014-09-17 10:39:26 +03:00
Sebastian Dröge
af3c3473e0 configure: And make the preprocessor check work properly 2014-09-15 15:36:44 +03:00
Sebastian Dröge
f2255f1e2a configure: Do the AM_CONDITIONAL() after finally setting the variable 2014-09-15 15:25:46 +03:00
Sebastian Dröge
c82fa4f845 applemedia: Don't include VideoToolbox on iOS < 8.0
It's private API and does not work without a jailbroken device.
2014-09-15 15:12:31 +03:00
Matthew Waters
1fee15e638 build: don't AC_SUBST intermediate values 2014-09-10 19:16:53 +10:00
Thomas Bluemel
04ca723461 hlsdemux: Support OpenSSL for AES decryption of HLS fragments
https://bugzilla.gnome.org//show_bug.cgi?id=735248
2014-08-28 10:34:55 +03:00
Carlos Rafael Giani
33fedda489 gl: do not check for GL/GLU/EGL/GLES2 libs if disabled in configuration
https://bugzilla.gnome.org/show_bug.cgi?id=735522
2014-08-27 17:14:45 +03:00
Sebastian Dröge
83b672f328 openjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1 2014-07-21 17:34:52 +02:00
Руслан Ижбулатов
3ac444d2b7 openjpeg: Win32-compatible OpenJPEG-2.0 detection
OpenJPEG 2.0 API uses stdcall on W32 by default. This prevents normal
autoconf library macros from finding its functions.
A more compatible check is to acutally link a program that includes a
real header.

https://bugzilla.gnome.org/show_bug.cgi?id=733487
2014-07-21 12:09:48 +02:00
Sebastian Dröge
645e3d8edd Back to development 2014-07-19 18:04:42 +02:00
Sebastian Dröge
9dfc0f513b Release 1.4.0 2014-07-19 17:27:11 +02:00
Mart Raudsepp
96aa931635 gl: Include GL_CFLAGS while checking for GL typedefs
Otherwise those checks may fail at configure time if they contain extra
include paths, while at build time they are included, potentially causing
incompatible typedefs between system GL headers and gstreamer compatibility
prototypes.

https://bugzilla.gnome.org/show_bug.cgi?id=733248
2014-07-16 16:37:54 +02:00
Mart Raudsepp
0bb6d22ffc gl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS
They should be handled in tandem, in case any EGL provider could require some
CFLAGS and set them (possibly once moved to prefer pkg-config files),
such as for a custom header location.
2014-07-16 16:37:54 +02:00
Sebastian Dröge
f8778ee272 Release 1.3.91 2014-07-11 12:13:22 +02:00
Matthieu Bouron
9c13c84afd configure: fix uninitialized variables with --disable-external
https://bugzilla.gnome.org/show_bug.cgi?id=732744
2014-07-04 17:41:20 +01:00
Alessandro Decina
0258ec0273 applemedia: enable vtdec and vtenc only on >= 10.8 where VideoToolbox is public
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=723670
2014-07-02 12:56:06 +02:00
Sebastian Dröge
ea1ee4e3d0 Release 1.3.90 2014-06-28 11:30:39 +02:00
Tim-Philipp Müller
5f00de4601 configure: use $ERROR_CFLAGS instead of hard-coding -Werror
https://bugzilla.gnome.org//show_bug.cgi?id=731692
2014-06-22 22:04:31 +01:00
Koop Mast
a84406c09b configure: use -Werror to make the include GL and GLES2 header check guaranteed fatal
Clang will only give a warning for the redefinition of typedef GLenum.
Since master is build with -Werror this will result in a build failure
later in the gl plugin. Add -Werror to the test, so the test result is as
expected. This will allow the gl plugins to build.

https://bugzilla.gnome.org//show_bug.cgi?id=731692
2014-06-22 22:00:50 +01:00
Sebastian Dröge
d69777509d Back to development 2014-06-22 19:36:14 +02:00
Sebastian Dröge
6d3d06c91f Release 1.3.3 2014-06-22 19:22:28 +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
Mathieu Duponchelle
7cf66e7c07 videoaggregator: Create a new GstVideoAggregator baseclass
This base class has been added to a newly created libgstbadvideo library

Co-Authored by: Thibault Saunier <tsaunier@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=731918
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
Lubosz Sarnecki
053252ccc6 opengl: add element for transforming video geometry
* add graphene as soft dependency for linear algebra
2014-06-18 20:41:03 +10:00
Arnaud Vrac
76c0007778 wayland: install .pc file 2014-06-17 13:51:30 +02:00
George Kiagiadakis
1cbfba5034 waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +02:00
George Kiagiadakis
86a3c384ae wayland: Add new gst-wayland library containing a new GstWaylandVideo interface
This interface is needed to be able to embed waylandsink into
other wayland surfaces. Due to the special nature of wayland,
GstVideoOverlay is not enough for this job.
2014-06-17 13:51:23 +02:00
Nicola Murino
ab4d8d3d3c opencv: make the plugin compile with all 2.4.x versions
https://bugzilla.gnome.org/show_bug.cgi?id=730141
2014-05-30 16:58:59 -03: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
Sebastian Dröge
e52e03fecc Back to development 2014-05-21 13:23:30 +02:00
Sebastian Dröge
46016ccd14 Release 1.3.2 2014-05-21 13:06:35 +02:00
Sebastian Dröge
7f81c3b073 configure: Use the same includes for GL that we would use later in the code for checking if GLES2 and OpenGL headers can both be included 2014-05-05 12:30:32 +02:00
Matthew Waters
dca6e5e039 gl: check if we can include both GL and GLES2 headers at the same time
If we cannot, then default to GL over GLES2 unless GLES2 is required.
2014-05-05 20:08:13 +10:00
Sebastian Dröge
53f06e44b7 configure: Use the same #includes for checking GL types as later in the code 2014-05-04 22:23:06 +02:00
Sebastian Dröge
2ce28b6fa3 Back to development 2014-05-03 20:48:33 +02:00
Sebastian Dröge
b2ce00c55d Release 1.3.1 2014-05-03 19:57:57 +02:00
Sebastian Dröge
90643c696f mfc: Remove mfc plugin, it is obsoleted by the v4l2videodec element from gst-plugins-good 2014-05-03 13:12:40 +02:00
Julien Isorce
6f5ecebb6a gl: rename cocoa example and move it to its parent directory 2014-05-02 06:03:22 +01:00
Sebastian Dröge
cad1bb32c8 gl: Try harder to load symbols from the correct place
This commit makes the loading of the GModules threadsafe, and
always first tries to load the symbol for the GL library that
is selected for the current context. Only then it falls back
to looking into the current module (NULL), and only as a last
resort the context specific function (e.g. eglGetProcAddress())
is called.

Also add configure parameters to select the names of the library
modules instead of using the defaults, and let the defaults be
independent of the G_MODULE_SUFFIX.

https://bugzilla.gnome.org/show_bug.cgi?id=728753
2014-05-01 14:36:54 +02: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
Julien Isorce
88f92fd749 gl: append EGL_LIB to GL_LIB 2014-04-28 15:59:06 +01:00
Halley Zhao
4cf290074f ivfparse: enable build.
Drop `ivfparse' element from the non-ported set of plugins in configure.
2014-04-18 18:31:15 +02:00
Edward Hervey
ad77f3056b configure: Detect EGL header presence
Fixes the build for Android, and I suspect for other systems too...
2014-04-16 15:43:06 +02:00
Julien Isorce
09116bf10d egl/eglglessink: remove since EGLImage and iOS support have been added in glimagesink
https://bugzilla.gnome.org/show_bug.cgi?id=703343
2014-04-15 18:29:53 +01:00
Sebastian Dröge
ae81268565 gl: Add support for iOS EAGL platform
https://bugzilla.gnome.org/show_bug.cgi?id=703341
2014-04-12 22:25:13 +02:00
Sebastian Dröge
26d6151ea1 configure: Fix check for iOS for the OpenGL support
There is also an i386 version of iOS, which is for the simulator.
Better use our already existing HAVE_IOS check instead of relying
on the host triplet.
2014-04-04 09:25:27 +02:00
Matthew Waters
5eb5e67f53 gl/win32: actually build the gl plugins on win32
Regression from c8ff215b02
2014-04-02 12:42:40 +11:00
Matthew Waters
21ea26abbe gl/win32: fix detection of GL/wglext.h
Was resulting in 'present but cannot be compiled' errors
2014-04-02 09:33:19 +11:00
Matthew Waters
c8ff215b02 gl/win32: allow not building the gl plugins
Fixes build on windows if <GL/wglext.h> headers are not present.

https://bugzilla.gnome.org/show_bug.cgi?id=727125
2014-03-28 17:57:37 +00:00
Matthew Waters
c6e02d79ed gl: don't fail configure if we do not understand the platform 2014-03-27 22:03:14 +11:00
Matthieu Bouron
99bb72dbf4 configure.ac: fix OSX host check
Makes the check works with (i386|x86_64)-apple-darwin* hosts.

https://bugzilla.gnome.org/show_bug.cgi?id=727104
2014-03-27 07:44:33 +01:00
Julien Isorce
6d10548e7f gl: deploy egl headers in gst/gl/egl instead of gst/gl
https://bugzilla.gnome.org/show_bug.cgi?id=703343
2014-03-26 14:52:39 +00:00
Julien Isorce
c5833625eb pkgconfig: add gstreamer-gl
https://bugzilla.gnome.org/show_bug.cgi?id=703343
2014-03-26 14:52:24 +00:00
Edward Hervey
e26e3371a5 gl: Only enabled cocoa backend on osx (and not ios)
ios requires using EAGL
2014-03-26 10:16:37 +01:00
Руслан Ижбулатов
e509f7d5f7 gl: don't default to GST_GL_HAVE_WINDOW_DISPMANX=1
Mistake introduced by 2a0f0399ae

https://bugzilla.gnome.org/show_bug.cgi?id=726591
2014-03-18 06:17:22 +00:00
Руслан Ижбулатов
26049ca402 gl: check for X unconditionally
Without this the HAVE_X macro is empty, not "no" or "yes", which is not
what the later code is counting on.

https://bugzilla.gnome.org/show_bug.cgi?id=726591
2014-03-18 06:16:01 +00:00
Julien Isorce
2a0f0399ae gl: set default value to 0 for all definitions that go to gstglconfig.h
To avoid warnings like "GST_GL_HAVE_OPENGL is not defined".
As we are using #if instead of #ifdef
2014-03-17 17:42:06 +00:00
Matthew Waters
b85cd2f215 gl: allow not building the gl library plugins 2014-03-17 15:49:37 +01:00
Matthew Waters
ceb02341df gl: add the option of disabling cocoa on OS X using --disable-cocoa 2014-03-17 15:05:24 +01:00
Julien Isorce
a26b8fdceb gl: set HAVE_EGL_RPI to yes if HAVE_GL and RPI
Which fixes build on Raspberry Pi since -gl has been moved to -bad
2014-03-17 12:32:26 +00:00
Thijs Vermeir
1a5560441d make: whitespace cleanups 2014-03-17 12:00:09 +01:00
Matthew Waters
6b3fe44185 Move gst-plugins-gl to bad 2014-03-16 15:17:59 +01:00
Andoni Morales Alastruey
86e96cfdc6 winks: port to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=702041
2014-03-15 15:34:29 +01:00
Wim Taymans
5727c6174d configure: videosignal was ported almost a year ago 2014-03-11 10:26:34 +01:00
Sebastian Dröge
22b4223c86 configure: Rename all variables related to the winks plugin
It does not make sense to call them after directshow if they
are for the winks plugin only.

https://bugzilla.gnome.org/show_bug.cgi?id=724100
2014-02-16 10:09:18 +01:00
Sebastian Dröge
eef356c80f configure: The winks plugin is not ported to 1.0 yet
https://bugzilla.gnome.org/show_bug.cgi?id=724100
2014-02-11 09:21:16 +01:00
Руслан Ижбулатов
008c15c910 Fix winks configure test
Fixes #723995
2014-02-10 09:34:23 +01:00
Sebastian Dröge
6799e3b879 hlsdemux: Prefer to use nettle for decryption but fall-back to libgcrypt
nettle is used by newer versions of gnutls, while older versions of gnutls
used libgcrypt. Support both for now as not every distro has nettle yet.

nettle is preferred as it is more efficient to use and much smaller.
2014-02-09 18:52:24 +01:00
Sebastian Dröge
e8befb7ce3 hlsdemux: Use libgcrypt directly instead of going through gnutls
gnutls is also just wrapping gcrypt, but we don't need any of
the TLS related functionality. We just need to be able to decrypt
AES128-CBC.
2014-02-09 18:09:36 +01:00
Dan Kegel
58b077de23 Since b1a756fd, applemedia fails to build on osx 10.7, which lacks VideoToolbox.h... so disable it on OSX if that header is missing.
https://bugzilla.gnome.org/show_bug.cgi?id=723508
2014-02-03 10:11:31 +01:00
Nicola Murino
3248dff5fa opencv: The plugin works with 2.4.8 too
https://bugzilla.gnome.org/show_bug.cgi?id=723230
2014-01-29 20:23:34 +01:00