Nirbheek Chauhan
b5aa5fa308
meson: host_system is 'ios' when building for iOS
...
The cross file sets this value, and we use 'ios' in Cerbero.
2018-08-17 04:14:15 +05:30
Sebastian Dröge
0bf207aa53
audioaggregator: Also run the audio-specific caps fixation for audio aggregator subclasses that can't convert
2018-08-16 18:03:37 +03:00
Sebastian Dröge
320243050b
audioaggregator: Fixate to some meaningful values if no sinkpad is configured yet
...
The default caps fixation code would select a rate of 1 for example,
which is not really ideal.
2018-08-16 18:00:24 +03:00
Tim-Philipp Müller
73828a1a5c
meson: move gmodule check to top-level
...
It's also needed by the generic/states test and the variable
is currently checked as part of the opengl lib tests so wouldn't
be available if opengl was disabled.
2018-08-16 10:58:47 +01:00
Tim-Philipp Müller
4ec1ba433d
meson: add option for opengl and the misc optional gl plugin deps
...
Finer control over the opengl integration library dependencies
is already implemented via the gl_api, gl_platform, and gl_winsys
options.
https://bugzilla.gnome.org/show_bug.cgi?id=796947
2018-08-16 10:56:58 +01:00
Sebastian Dröge
1b6eed694c
audioaggregator: Properly propagate caps negotiation failures
...
Otherwise we'll end up doing a division by zero when clipping buffers,
and might even accept buffers for which we don't know the caps.
https://bugzilla.gnome.org/show_bug.cgi?id=796951
2018-08-14 10:24:33 +03:00
Tim-Philipp Müller
ca15315565
gst-libs: include config.h in all source files
...
This will be needed later when we get our export define from config.h
2018-08-13 09:23:34 +01:00
Tim-Philipp Müller
f548546d41
pbutils, rtsp: fix deprecation guards
...
Function body must only be removed if compiling with
GST_REMOVE_DEPRECATED. Function declaration must not
be skipped if GST_DISABLE_DEPRECATED is defined, since
it contains our export decorator and we wouldn't export
the symbol as public API any more then since we compile
with GST_DISABLE_DEPRECATED.
2018-08-13 00:24:50 +01:00
Tim-Philipp Müller
4b68e3e658
tag: add license to generated backup language name table and update
...
It's LGPL same as iso-codes
2018-08-12 13:24:39 +01:00
Tim-Philipp Müller
6eb6140969
meson: use iso-codes in gsttag if available
2018-08-12 12:55:00 +01:00
Tim-Philipp Müller
553de4906f
meson: tag: check for zlib and support compressed id3v2 tag if found
...
https://bugzilla.gnome.org/show_bug.cgi?id=793995
2018-08-11 18:51:33 +01:00
Matthew Waters
91bc6f63f6
glviewconvert: fix output when a transformation matrix is used
...
If we have a transformation matrix, we have no idea where in the output
the video is going to endup. It might also be different and not cover
the entire output.
We need to clear the output to remove any previous data in the backing
texture.
Found from
https://stackoverflow.com/questions/51707229/python-gstreamer-for-dynamic-control-of-element-properties
2018-08-10 22:46:34 +10:00
Bastian Köcher
efa9bdccf9
meson: fix install dir for generated header files
...
Nixos installs into a non-standard includedir, so need
to take account of the 'includedir' option instead of
just hard-coding 'include' here.
https://bugzilla.gnome.org/show_bug.cgi?id=794856
2018-08-10 12:43:38 +01:00
Sebastian Dröge
0340c7e1f8
tagdemux: Propagate flow returns from gst_type_find_helper_get_range() properly
...
Instead of considering every failed typefinding as an error, even in
case of e.g. GST_FLOW_FLUSHING.
2018-08-08 12:46:43 +02:00
Thibault Saunier
7757e07f68
rtsp: Include gstreamer-base gir dir in autotools
2018-08-06 14:18:12 -04:00
Matthew Waters
3d22e7d9da
gl/meson: fix macos additions for non-macos platforms
...
"gst-libs/gst/gl/meson.build:655:20: ERROR: Unknown variable "quartzcore_dep"."
2018-08-03 19:06:00 +10:00
Alessandro Decina
06b8792a5f
gl/meson: OSX support (CGL and Cocoa)
...
[Matthew Waters]: minor additions such as -fobjc-arc and relying on
dependency rather than cc.find_library()
2018-08-03 12:53:10 +10:00
Norbert Wesp
574607702b
Add GBM_CFLAGS and define EGL_PLATFORM_GBM_MESA
...
Building an image with yocto for an 'am335x' processor will fail,
because 'gbm.h' can not be found and 'EGL_PLATFORM_GBM_MESA' is not defined.
So simply adding define of 'EGL_PLATFORM_GBM_MESA' in 'gstgldisplay_egl.c'
and adding 'GBM_CFLAGS' in 'gst-gl.m4' to get rid of this errors and complete
a full build process.
ERRORs were:
-----------
gst-plugins-base-1.14.1/gst-libs/gst/gl/gbm/gstglwindow_gbm_egl.h:24:10:
fatal error: gbm.h: No such file or directory
#include <gbm.h>
^~~~~~~
gst-plugins-base-1.14.1/gst-libs/gst/gl/egl/gstgldisplay_egl.c:157:39:
error: 'EGL_PLATFORM_GBM_MESA' undeclared (first use in this function);
did you mean 'EGL_PLATFORM_WAYLAND'?
ret = _gst_eglGetPlatformDisplay (EGL_PLATFORM_GBM_MESA, (gpointer) display,
^~~~~~~~~~~~~~~~~~~~~
https://bugzilla.gnome.org/show_bug.cgi?id=796885
2018-08-02 12:17:56 +10:00
freyr
810d560a2f
gl/gbm: allow headless mode
...
Don't require an output for the GBM backend.
https://bugzilla.gnome.org/show_bug.cgi?id=794716
2018-08-01 14:50:10 +10:00
Sebastian Dröge
2f497ed217
tagdemux: Properly propagate gst_pad_pull_range() errors
...
And don't consider FLUSHING an actual error, just stop in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=796883
2018-07-27 16:23:09 +03:00
Nirbheek Chauhan
eadedc68f8
meson: Add feature options for all plugins
...
GL dependency detection is still automagic.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 18:42:11 +05:30
George Kiagiadakis
ab2548d78d
audio-buffer: fix typo in assignment that causes buggy behavior
2018-07-24 15:09:25 +03:00
George Kiagiadakis
0ce20cef4f
gstaudiodecoder: take into account GstAudioMeta::samples on the output buffers
...
This is useful if the output buffers are planar and have extra padding
on each plane, in which case size/bpf does not represent the number of
valid samples.
https://bugzilla.gnome.org/show_bug.cgi?id=705977
2018-07-23 15:27:08 +03:00
George Kiagiadakis
2d38d2f1d3
gstaudiodecoder: do not aggregate output if buffers are planar
...
Aggregation will break the layout, as it concatenates buffers,
and fixing it here would be much more inefficient than configuring
the actual decoder implementation to output larger buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=705977
2018-07-23 15:27:08 +03:00
Nicolas Dufresne
63cf6b4203
glupload: Only offer DMABuf caps feature if using EGL
...
This was miss-leading VAAPI which was not forcing linear back buffers,
would still export DMABuf. That caused bad rendering as the buffers are
tiled and most likely compressed.
https://bugzilla.gnome.org/show_bug.cgi?id=796822
2018-07-18 09:04:35 -04:00
Iñigo Huguet
48a0178857
gl/build: fixed failed compilation due to missing EGLuint64KHR typedef
...
[Matthew Waters]: add meson differences
https://bugzilla.gnome.org/show_bug.cgi?id=796820
2018-07-18 14:02:01 +10:00
Nicolas Dufresne
ae5120a489
Revert "glupload: Only offer DMABuf caps feature if using EGL"
...
This reverts commit bc9afe7243
.
2018-07-17 11:51:49 -04:00
Nicolas Dufresne
bc9afe7243
glupload: Only offer DMABuf caps feature if using EGL
...
This was miss-leading VAAPI which was not forcing linear back buffers,
would still export DMABuf. That caused bad rendering as the buffers are
tiled and most likely compressed.
2018-07-17 11:43:40 -04:00
Nicolas Dufresne
62cb08404b
videodecoder: Don't always drain on gaps/discont
...
V4L2 and OMX decoder don't support draining and keeping reference
frames. As a side effect, these decoder just stops working on
gaps/discont. When this drain was introduced, the commit stated that
this was for TRICKMODE_KEY_UNITS, so only drain if running in this mode.
https://bugzilla.gnome.org/show_bug.cgi?id=796771
2018-07-12 15:25:51 -04:00
George Kiagiadakis
e1bc49923f
libs: audio: implement planar buffer support in gst_audio_buffer_reorder_channels()
...
https://bugzilla.gnome.org/show_bug.cgi?id=796743
2018-07-12 13:38:27 +03:00
George Kiagiadakis
b33d70e97f
libs: audio: add a new gst_audio_buffer_truncate() function
...
Essentially this moves the truncation logic out of gst_audio_buffer_clip()
so that it can be used in other places, like in audiorate.
https://bugzilla.gnome.org/show_bug.cgi?id=796740
2018-07-12 12:08:10 +03:00
George Kiagiadakis
9cb09e7269
libs: audio: implement support for non-interleaved audio in gst_audio_buffer_clip()
...
https://bugzilla.gnome.org/show_bug.cgi?id=796740
2018-07-12 11:59:06 +03:00
George Kiagiadakis
060ecd16cd
libs: audio-converter: complete code to support non-interleaved audio buffers
...
https://bugzilla.gnome.org/show_bug.cgi?id=705986
2018-07-11 16:26:13 +03:00
George Kiagiadakis
eefdf32d96
libs: audio-resampler: add support for consuming non-interleaved input buffers
...
https://bugzilla.gnome.org/show_bug.cgi?id=705986
2018-07-11 16:26:13 +03:00
George Kiagiadakis
108a911610
libs: audio-channel-mixer: add support for non-interleaved audio buffers
...
https://bugzilla.gnome.org/show_bug.cgi?id=705986
2018-07-11 16:26:13 +03:00
Matthew Waters
16cba63d43
gl/utils: fixup matrix math again for column major
...
e4bf9ed8f0
was not quite right and changed
the wrong thing. Intead we needed to change the multiplication order
and should have kept the previous to/from matrices as is done in this
patch.
2018-07-10 20:13:22 +10:00
Guillaume Desmottes
173e2d8db3
videopool: display expected size in warning message
...
Display the size computed from the caps when rejecting a pool
configuration because the buffer size is too small.
https://bugzilla.gnome.org/show_bug.cgi?id=796768
2018-07-09 11:21:50 +02:00
Olivier Crête
28e5f81021
videosink: Set processing deadline to 15ms
...
This roughly corresponds to one frame at 60fps, and leave 5ms
of max_lateness to not change the existing behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=640610
2018-07-07 08:59:30 -04:00
George Kiagiadakis
c946e323f6
libs: audio: Implement GstAudioBuffer & GstAudioMeta
...
Library bits to support non-interleaved audio
https://bugzilla.gnome.org/show_bug.cgi?id=751605
2018-07-03 14:06:43 +03:00
Tim-Philipp Müller
a3a9bcd468
meson: rtsp now also depends on libgstbase
2018-06-29 10:54:36 +01:00
Edward Hervey
017dd37f86
rtsp: Also use libgstbase for introspection module
2018-06-29 08:53:48 +02:00
Sebastian Dröge
a9e72b3b7f
rtsp: Link to libgstbase for GstDataQueue
2018-06-29 08:08:46 +02:00
wangzq
9f51607723
audiobasesrc: Round down segsize to an integer number of samples
...
https://bugzilla.gnome.org/show_bug.cgi?id=796704
2018-06-29 07:38:20 +02:00
Sebastian Dröge
d4f607ef40
rtspconnection: Use GstQueueArray instead of GQueue for the queued messages
2018-06-29 07:38:20 +02:00
memeka
1c8bf44dea
gl: check for EGL_KHR_platform_gbm for non-MESA gbm implementations
...
https://bugzilla.gnome.org/show_bug.cgi?id=796694
2018-06-28 23:53:56 +10:00
Tim-Philipp Müller
71734b33aa
gl: fix build on iOS
2018-06-24 13:35:20 +02:00
Tim-Philipp Müller
4093e4c237
gl: fix build on Windows
2018-06-24 13:19:21 +02:00
Tim-Philipp Müller
d736bfc855
gl: Update for g_type_class_add_private() deprecation in recent GLib
...
https://gitlab.gnome.org/GNOME/glib/merge_requests/7
2018-06-23 22:58:44 +02:00
Tim-Philipp Müller
7f9730ecf4
rtp: Update for g_type_class_add_private() deprecation in recent GLib
...
https://gitlab.gnome.org/GNOME/glib/merge_requests/7
2018-06-23 22:22:22 +02:00
Tim-Philipp Müller
511a8d7ddd
pbutils: Update for g_type_class_add_private() deprecation in recent GLib
...
https://gitlab.gnome.org/GNOME/glib/merge_requests/7
2018-06-23 22:08:16 +02:00