- 13 Mar, 2012 1 commit
-
-
Wim Taymans authored
Remove gst_caps_union(), use gst_caps_merge(). This function was not used anymore and it is unclear what the difference is with _merge().
-
- 12 Mar, 2012 13 commits
-
-
Wim Taymans authored
Get the template caps of the pads only once, avoids unecessary ref and unrefs.
-
Wim Taymans authored
Delay _make_writable() until we actually found a list and need to update the caps.
-
Wim Taymans authored
A simple caps is already simplified, no need to check for fixedness.
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
-
-
Tim-Philipp Müller authored
-
Wim Taymans authored
-
Wim Taymans authored
Make gst_caps_normalize() take ownership of the input so that it can more intelligently decide when to copy or not.
-
Wim Taymans authored
Rename _do_simplify() to _simplify(). The name was introduced as a replacement method for a deprecated method but we can now rename it again. Fix some docs.
-
Wim Taymans authored
Make gst_caps_do_simplify() take ownership of the input caps and produce a simplified output caps. This removes the requirement of having writable input caps and the method can make the caps writable only when needed.
-
Wim Taymans authored
with the new caps API, there is more sharing and less copying going on so the unit test refcounts are different.
-
- 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
-