Sebastian Dröge
f204b57fa5
debugutils: Change dot-file functions documentation to proper gtk-doc
...
This way gobject-introspection also picks it up and handles our
annotations.
See https://gitlab.gnome.org/GNOME/gobject-introspection/issues/194
2018-03-05 11:52:24 +02:00
Sebastian Dröge
89eac59e92
queuearray: Implement pop_tail_struct() for completeness
...
All other variants of {peek,pop}_{head,tail}_{,struct} were already
implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=794035
2018-03-05 09:39:57 +02:00
Sebastian Dröge
a1bf0f0e6a
gst: Add some more (type filename) annotations
2018-03-04 10:25:08 +02:00
Tim-Philipp Müller
87be91a260
Release 1.13.90
2018-03-03 21:51:58 +00:00
Tim-Philipp Müller
28612e15cc
Update docs
2018-03-03 21:51:49 +00:00
Matthew Waters
5a5a548b09
plugins: Don't force 64-bit file/seek functions variants on android
...
Most functions are automatically chosen from the _FILE_OFFSET_BITS
define, the remaining one (fstat) is only available on API >= 21 so
check for that
2018-03-02 18:25:21 +11:00
Tim-Philipp Müller
cbe24ecc89
Add new symbol to docs and .def file
...
Fixes make check
2018-03-01 22:21:17 +00:00
Olivier Crête
23b32d5600
queue: Ignore thresholds if a query is queued
...
The queue gets filled by the tail, so a query will always be the tail
object, not the head object. Also add a _peek_tail_struct() method to the
GstQueueArray to enable looking at the tail.
With unit test to prevent future regression.
https://bugzilla.gnome.org/show_bug.cgi?id=762875
2018-03-01 16:31:57 -05:00
Mathieu Duponchelle
9e44738ae7
meson: -Wformat-* require -Wformat
2018-03-01 18:38:01 +01:00
Mathieu Duponchelle
d67623c7a9
meson: enable more warnings
...
Modeled on the autotools build, -W flags are only
added if the compiler supports them.
https://bugzilla.gnome.org/show_bug.cgi?id=793958
2018-03-01 17:20:48 +01:00
Mathieu Duponchelle
8c10f1e2b4
gstaggregator: pads must inherit from #GstAggregatorPad
...
Document this, and take advantage of that fact to use
GstAggregator.srcpad.segment instead of GstAggregator.segment
https://bugzilla.gnome.org/show_bug.cgi?id=793942
2018-03-01 15:25:53 +01:00
Mathieu Duponchelle
a567cc13a5
Revert "gstaggregator: pads must inherit from #GstAggregatorPad"
...
This reverts commit 9774b3775d
.
Pushed by mistake
2018-03-01 01:15:34 +01:00
Mathieu Duponchelle
609adc0609
ghostpad: ensure we build a ghost pad ..
...
When we construct from a custom GType
2018-03-01 01:12:07 +01:00
Mathieu Duponchelle
60fae518b0
pad: fix mixed declarations
2018-03-01 01:09:48 +01:00
Mathieu Duponchelle
9774b3775d
gstaggregator: pads must inherit from #GstAggregatorPad
...
Document this, and take advantage of that fact to use
GstAggregator.srcpad.segment instead of GstAggregator.segment
https://bugzilla.gnome.org/show_bug.cgi?id=793942
2018-03-01 00:39:50 +01:00
Mathieu Duponchelle
f1aba33090
aggregator: allow src GstAggregatorPads
...
See https://bugzilla.gnome.org/show_bug.cgi?id=793917
https://bugzilla.gnome.org/show_bug.cgi?id=793934
2018-03-01 00:39:08 +01:00
Mathieu Duponchelle
7847e69ef8
pad, ghostpad: use the template gtype if specified
...
Also make sure the GType passed to the with_gtype versions
of the template constructors is_a GstPad
https://bugzilla.gnome.org/show_bug.cgi?id=793933
2018-03-01 00:39:08 +01:00
Nicolas Dufresne
91798e16cc
baseparse: Fix integer overflow in bitrate calculation
...
https://bugzilla.gnome.org/show_bug.cgi?id=793284
2018-02-22 16:14:57 -05:00
Nicolas Dufresne
a84b886a7d
baseparse: Avoid overflow in update_interval calculation
...
https://bugzilla.gnome.org/show_bug.cgi?id=793284
2018-02-22 16:14:57 -05:00
Nicolas Dufresne
25aed8c7ff
baseparse: Fix check for update_interval
...
update_interval may be -1
https://bugzilla.gnome.org/show_bug.cgi?id=793284
2018-02-22 16:14:57 -05:00
Justin Kim
580e3a799e
meson: Use .dylib suffix if darwin
...
For Mac OS, GST_EXTRA_MODULE_SUFFIX should be set as '.dylib'.
Otherwise, GStreamer fails to load its plugins.
https://bugzilla.gnome.org/show_bug.cgi?id=793584
2018-02-21 14:58:13 +00:00
Tim-Philipp Müller
bbf8f50cde
queuearray: add _peek_tail() and _pop_tail()
...
API: gst_queue_array_pop_tail()
API: gst_queue_array_peek_tail()
These will be needed later for appsrc.
2018-02-19 15:44:04 +00:00
Mark Nauwelaerts
9fb56a32f5
gst: fix some GIR annotations
...
Mostly related to out parameters and their transfer
2018-02-18 12:16:36 +01:00
Alicia Boya García
65dcb2adbf
gstbasesink: Include segment.offset in the computation of position
...
Position queries with GST_FORMAT_TIME are supposed to return stream
time.
gst_base_sink_get_position() estimates the current stream time on its
own instead of using gst_segment_to_stream_time(), but the algorithm
used was not taking segment.offset into account, resulting in invalid
values when this field was set to a non-zero value.
https://bugzilla.gnome.org/show_bug.cgi?id=792434
2018-02-16 10:35:14 -03:00
Matthew Waters
7fad93d035
tracers: latency: allow for non parented pads to send latency probes
...
Such a setup is used in rtspsrc for its TCP connection
https://bugzilla.gnome.org/show_bug.cgi?id=793478
2018-02-16 13:14:40 +00:00
Tim-Philipp Müller
81a767bbdb
Back to development
2018-02-15 19:44:14 +00:00
Tim-Philipp Müller
124f2f566f
Release 1.13.1
2018-02-15 16:43:52 +00:00
Tim-Philipp Müller
f6b1533e7a
tests: pipeline: try to make test_pipeline_reset_start_time more reliable
...
Occasionally this test would fail, especially if the system is under load,
because the position query would pick up the last position from the
last buffer timestamp which has a lower timestamp than what we're
looking for. The sleep is long enough, however. It's unclear to me why
exactly this happens but there seems to be some kind of scheduling
issue going on as the streaming thread floods the sink with buffers.
Let's throttle the fakesrc to 100 buffers per second and make the sink
sync to the clock to restore some sanity. It should be totally sufficient
to test what we want to test, and seems to make things reliable here.
2018-02-15 13:40:22 +00:00
Tim-Philipp Müller
dd78aa27a4
tests: uri: fix build without -DGST_DISABLE_DEPRECATED
...
Must undefine it before including gst headers, since the test
tests deprecated API.
2018-02-15 12:11:55 +00:00
Tim-Philipp Müller
ea402c7034
gstconfig.h: want deprecation warnings if GST_DISABLE_DEPRECATED is *set*
...
Fix inverted logic. If GST_DISABLE_DEPRECATED is undefined,
we don't want warnings about deprecated API, and if it's
defined we do want warnings.
2018-02-15 12:11:41 +00:00
Tim-Philipp Müller
c10668374d
po: update translations
2018-02-15 11:28:23 +00:00
Tim-Philipp Müller
7b7b3e754a
docs: add flow combiner ref/unref to docs
...
So new-in-1.12 index actually has some entries.
2018-02-14 19:37:35 +00:00
Tim-Philipp Müller
8f4e4b0261
docs: add index for new symbols in 1.14
2018-02-14 19:13:28 +00:00
Tim-Philipp Müller
5389254f2f
docs: add index for new symbols in 1.12
2018-02-14 19:12:06 +00:00
Tim-Philipp Müller
24f9c2dcb3
meson: make version numbers ints and fix int/string comparison
...
WARNING: Trying to compare values of different types (str, int).
The result of this is undefined and will become a hard error
in a future Meson release.
2018-02-08 17:22:14 +00:00
Tim-Philipp Müller
ffa4dc4dce
autotools: use -fno-strict-aliasing where supported
...
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-02-03 17:56:04 +01:00
Tim-Philipp Müller
08dab770d6
buffer: fix gtk-doc warning regarding _get_n_meta() declaration
2018-02-03 17:55:29 +01:00
Matthew Waters
442aca430a
gstpromise: add since 1.14 markers
2018-02-02 15:06:36 +11:00
Matthew Waters
d9ed750fbd
gst-uninstalled: add webrtc to libraries
2018-02-01 23:27:47 +11:00
Mathieu Duponchelle
8451a2ab04
gstbuffer.h: move FLAG_LAST documentation back to the bottom
2018-01-31 14:01:36 +01:00
Mathieu Duponchelle
5ce6487fa9
basetransform: annotate virtual methods
2018-01-31 13:36:15 +01:00
Mathieu Duponchelle
ebcdfd2e9c
gstbuffer: add GST_BUFFER_FLAG_NON_DROPPABLE
...
This can be used to identify buffers for which a higher percentage
of redundancy should be allocated when performing forward error
correction, or to prevent still video frames from being dropped by
elements due to QoS.
https://bugzilla.gnome.org/show_bug.cgi?id=793008
2018-01-31 13:34:13 +01:00
Tim-Philipp Müller
e1fdb5bf03
meson: use -fno-strict-aliasing if supported
...
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:30:54 +00:00
Tim-Philipp Müller
cd10f14726
buffer: add gst_buffer_get_n_meta() convenience function
...
Counts how many metas there are for a certain api type.
https://bugzilla.gnome.org/show_bug.cgi?id=791918
2018-01-27 11:18:19 +00:00
Arun Raghavan
b5028383ab
gst: Fix up a bunch of GIR annotations
...
This is mostly on nullable return values, and some other minor ones that
I ran across.
https://bugzilla.gnome.org/show_bug.cgi?id=789319
2018-01-27 10:41:24 +00:00
Arun Raghavan
41a59cddb6
devicemonitor: Return NULL instead of FALSE
...
Same effect, meaning is clearer.
https://bugzilla.gnome.org/show_bug.cgi?id=789319
2018-01-27 10:29:18 +00:00
François Laignel
46b1a6e505
message: Add gst_message_writable_structure()
...
Add gst_message_writable_structure() to be able to add extra fields to
messages (and be on par with GstEvent).
https://bugzilla.gnome.org/show_bug.cgi?id=792928
2018-01-26 16:09:10 +02:00
Mathieu Duponchelle
117200faeb
aggregator: delegate buffer skipping to the aggregate thread
...
As we do that for serialized events as well, and the subclass will
most likely need to access pad->segment to make its decisions,
doing that from the sinkpad's streaming threads was racy.
2018-01-23 22:49:52 +01:00
Mathieu Duponchelle
9f69034d41
API: GstAggregatorPad.skip_buffer virtual method
...
Allows subclasses to prevent buffers from being queued.
https://bugzilla.gnome.org/show_bug.cgi?id=781928
2018-01-23 20:17:44 +01:00
Mathieu Duponchelle
ac7434088e
basesrc: Annotate some of the virtual methods
2018-01-23 20:06:52 +01:00