Age | Commit message (Collapse) | Author | Files | Lines |
|
Broken links mostly.
|
|
|
|
When actually pushing an event, if we get GST_FLOW_CUSTOM_SUCCESS_1
(which is the conversion of GST_PAD_PROBE_HANDLED return value),
don't consider the stick event push as ignored, but as handled
|
|
|
|
This is consistent with how it works for GstEvent already.
|
|
And also add the "Since" API sections for 1.12 and 1.14
|
|
And link to it
|
|
Various plugins use special values (0 or G_MAXUINT32) as an
invalid/unset group_id, but nothing guarantees a groupid won't have
that value.
Instead define a value which group_id will never have and make
gst_group_id_next() always return a value different from that.
API: GST_GROUP_ID_INVALID
|
|
|
|
|
|
Convenience function to just grab all pending data
from the harness, e.g. if we just want to check if
it matches what we expect and we don't care about
the chunking or buffer metadata.
Based on patch by: Havard Graff <havard.graff@gmail.com>
|
|
And make it explicit, and don't call _extract() on NULL data buffer.
|
|
|
|
We use this syntax in libs/gst/helpers/meson.build already.
|
|
While the refcount of the pad is decreased, it's the refcount that is
owned by the parent (i.e. the element) and not the one passed in by the
caller.
Fixes a memory leak in bindings.
|
|
So subclasses can override the finish behaviour
and/or decorate or modify buffers before they
get pushed out.
https://bugzilla.gnome.org/show_bug.cgi?id=760981
|
|
Subclasses should handle this for now.
|
|
On Arch Linux x86_64, gcc 7.2.0-3, -Og -g3:
gstdevicemonitor.c: In function ‘bus_sync_message’:
gstdevicemonitor.c:276:8: error: ‘matches’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
This commit also simplifies the code a bit.
https://bugzilla.gnome.org/show_bug.cgi?id=789983
|
|
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=739010
|
|
Merge branch 'aggregator-move'
https://bugzilla.gnome.org/show_bug.cgi?id=739010
|
|
This posed problems for the python bindings (and possibly others).
Instead, subclasses now use add_pad_template_with_gtype.
https://bugzilla.gnome.org/show_bug.cgi?id=789986
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=785679
|
|
Use new gst_element_foreach_sink_pad() from core instead.
https://bugzilla.gnome.org/show_bug.cgi?id=785679
|
|
Instead of gst_aggregator_iterate_sinkpads() which will
soon be removed.
https://bugzilla.gnome.org/show_bug.cgi?id=785679
|
|
|
|
Remove some references to 'collectpads'. Logs pads through the object variants.
Add some more comments. Remove a left over comment.
|
|
The value is used as GstClockTiem in the code. Adapt the hack^H^H^H^Hcode
in live-adder.
|
|
Instead just take it in the chain function.
https://bugzilla.gnome.org/show_bug.cgi?id=784911
|
|
If we're adding to the tail of the queue, it's because we're converting
a gap event, so don't block there it means we're calling from the output
thread.
https://bugzilla.gnome.org/show_bug.cgi?id=784911
|
|
Add a comment for when the state matters. Use a local var for priv in
update_time_level() to improve readability. Move the our_latency local
var below the query results checks.
|
|
|
|
Only look up klass for non serialized events/queries. For events remove
superfluous assignment for the return value in the flushing case.
|
|
We want to skip serialization for FLUSH_STOP events (apparently). We can
simplify the code to add it to the top-level conditions. There was nothing
done in the first code path if the event was FLUSH_STOP.
|
|
Just queue it like any other serialized event. This way we don't need to
check if there still are buffers in the queue.
Validated with the tests and gst-launch-1.0 pipelines.
|
|
|
|
The variable tracks wheter the queue is not empty, but num_buffers==0. That
means we have events or queries to process. Rename accordingly.
|
|
The SEGMENT_DONE event does not require any special treatment. This is
commented out in 6efc106a67.
|
|
Looks like some code was inserted afterwards.
|
|
Mention how data ends up in the queues. Document the relation of the pad
functions and the class vmethods to get events and queries.
|
|
This verifies that we handle events and queries at the head of the queue and
then buffers.
|
|
Make the test helpers use a queue. This lets us also test sequences of events,
queries and data.
|
|
Remove gst_init() from a few tests. Use _OBJECT variants in logging. Remove
arbitrary extra blank lines. Make push_event() more like push_buffer() - set
the event to NULL and add cleanup to _chain_data_clear().
|
|
Don't copy the whole event struct. Set the input params when we call the
forwarding helper. Initialize the internal fields and return values in the
helper.
|
|
Avoid extra ref/unref, we have a ref and do_seek unrefs. Just return the result
as we have. This lets us remove the local var plus the label.
|
|
This fixes logging the func ptr from _iterate_sinkpads().
|
|
|
|
This function also handles queries. Update the code to loop until all events and
queuries are handled.
|