- 11 Mar, 2012 2 commits
-
-
Wim Taymans authored
Rework some caps operations so they don't rely on writable caps but instead take ownership of the input caps and do _make_writable() only when needed. Remove some const from caps functions, it does not make much sense for refcounted objects and does not allow us to return a refcount to the const input caps. Rework the base classes fixate vmethods to not operate on the caps in-place. All this saves us around 30% of caps and structure copy and new operations.
-
Wim Taymans authored
-
- 10 Mar, 2012 2 commits
-
-
Wim Taymans authored
Having const on refcounted objects require us to make copies instead of simply taking a ref, don't do that.
-
Wim Taymans authored
Avoid doing a useless copy when the caps are fixed and simplify will not do anything.
-
- 09 Mar, 2012 8 commits
-
-
Wim Taymans authored
shortcut heavy work when buffer_resize does nothing. Avoid an extra _ref when mapping a buffer. Add some G_LIKELY.
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
Make a helper function check_sticky to check and push pending sticky events. Move the handling of the result of pushing the sticky event inside the push_event function, we need to mark the event as received when it was pushed correctly. Move the sticky events code outside of gst_pad_push_event_unchecked and make it purely handle sending the event to the peer. when pushing a sticky event, first store it on the pad. Then check and push any pending sticky events when we get a serialized or sticky event on a srcpad. This fixes the issue where sticky events are not pushed when an event is pushed.
-
Wim Taymans authored
If the foreach function changes the received state of the sticky event, make sure we remember that.
-
Wim Taymans authored
-
Wim Taymans authored
Sticky events pushed on an unlinked pad should be stored on the pad. When the pad is then linked and an event is pushed, the event should be merged with the already existing sticky events and then the sticky events should be pushed in the order that they were originally pushed.
-
Wim Taymans authored
-
- 08 Mar, 2012 13 commits
-
-
Tim-Philipp Müller authored
Doesn't fail in 0.11 of course, at least not on my machine.
-
Tim-Philipp Müller authored
Conflicts: common gst/gstpad.h gst/gsttask.c libs/gst/base/gstcollectpads2.h
-
Tim-Philipp Müller authored
-
Tim-Philipp Müller authored
Makes it possible to define those calls to something for tracing.
-
Tim-Philipp Müller authored
For make foo/bar.check-norepeat target.
-
Tim-Philipp Müller authored
Should reproduce 'GStreamer-WARNING **: wrong STREAM_LOCK count 0' warnings (with make pipelines/seek.torture or pipelines/seek.forever anyway, since it appears to be racy). https://bugzilla.gnome.org/show_bug.cgi?id=670846
-
Tim-Philipp Müller authored
There isn't really any need to provide public API for that. It's not used anywhere in practice, and we aim to provide an API that works for GstCaps, not some kind of generic set manipulation API based on GValue. Making this private also makes it easier to optimise this later. We can always put it back if someone actually needs it.
-
Wim Taymans authored
-
Wim Taymans authored
Because gst_pad_get_pad_template_caps() returns ANY when there is no template, the query caps function should also return ANY when there is no template (and no pad current caps) instead of EMPTY.
-
Wim Taymans authored
-
Wim Taymans authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
Conflicts: libs/gst/base/gstbaseparse.c libs/gst/base/gstbasetransform.c plugins/elements/gsttee.c
-
- 07 Mar, 2012 1 commit
-
-
Mark Nauwelaerts authored
-
- 06 Mar, 2012 5 commits
-
-
Wim Taymans authored
Delay the activation of the bufferpool until we actually need a buffer from the pool.
-
Sebastian Dröge authored
This was really a bug.
-
Sebastian Dröge authored
This is actually a real bug.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- 05 Mar, 2012 7 commits
-
-
Wim Taymans authored
Answer the allocation query with FALSE when we are not negotiated yet because at that point we have no idea if we need to proxy the allocation query or not.
-
Sebastian Dröge authored
Previously only the last would be pushed, which would cause invalid running times downstream. This also fixes the handling of update newsegment events.
-
Sebastian Dröge authored
Pushing this after flushing will confuse downstream.
-
Sebastian Dröge authored
The segment start adjustment code in pull mode should never trigger anymore because the bisection code earlier would have already made sure that we're at the desired position. Also move the gap handling some lines below after sending the currently configured segments. Otherwise we might fill gaps in a segment that is not configured downstream yet.
-
Sebastian Dröge authored
Like pending serialized events and the currently cached buffer.
-
Sebastian Dröge authored
-
Tim-Philipp Müller authored
Fix build of the adder unit test in -base again.
-
- 02 Mar, 2012 2 commits
-
-
Wim Taymans authored
Add a vmethod to filter metadata that should be passed upstream. By default, don't pass anything. Add a vmethod to transform metadata from the input buffer to the output buffer. By default, nothing is transformed or copied.
-
Wim Taymans authored
-