Commit graph

2447 commits

Author SHA1 Message Date
Stefan Sauer 2c7a8b924a controlsources: refactor interpolation control source
Move most of the code to a GstTimedValueControlSource. Split out the trigger
'interpolation mode' to a new control source class. Move tests and examples to
new api. Update docs.

Fixes #610338
2011-12-19 22:52:30 +01:00
Tim-Philipp Müller d83d9d35ee Merge remote-tracking branch 'origin/master' into 0.11 2011-12-12 12:00:16 +00:00
Stefan Sauer f2b5b79eeb preset: allow applications to specify an extra preset dir
An extra application preset dir help to organize presets created for special
purposes. Fixes #660760
API: gst_preset_set_app_dir(), gst_preset_get_app_dir()
2011-12-09 16:15:27 +01:00
Stefan Sauer 4b29d4f29a controller: remove GstValueArray
Instead pass the values as arguments. This simplifies that code and helps
bindings.
2011-12-06 08:35:57 +01:00
Stefan Sauer 4783251b2e controller: remove gst_object_get_value_arrays
One can easilly loop over the controlled properties manually. This is step 1 in
removing GstValueArray.
2011-12-06 08:35:10 +01:00
Wim Taymans 2f836b5996 docs: remove some old methods 2011-12-05 10:23:04 +01:00
Tim-Philipp Müller 27004c9a12 docs: remove removed tag list functions from docs as well 2011-12-04 15:42:07 +00:00
Tim-Philipp Müller 8c3d6ddb56 docs: remove some macros that no longer exist 2011-12-03 14:06:58 +00:00
Wim Taymans 8acc2d9dc7 basesink: last-buffer -> last-sample
Rename the last-buffer property to last-sample and make it return the new
GstSample type so that we can include caps and timing info in one nice bundle.
2011-12-01 16:46:06 +01:00
Stefan Sauer 35b76f43fa docs: update porting docs. 2011-11-25 23:15:23 +01:00
Tim-Philipp Müller 33078aaeb7 buffer: add gst_buffer_{set,get}_qdata()
Allows people/us to attach arbitrary metadata to buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=664720

API: gst_buffer_set_qdata()
API: get_buffer_get_qdata()
2011-11-25 17:42:07 +00:00
Wim Taymans 6e0a724394 pad: Add destroy notify to pad functions
Add _full variants of the pad function setters that take a destroy notify.
Make some macros that make the old method name pass NULL to this new
function.
2011-11-21 15:47:01 +01:00
Wim Taymans 2f1ed65339 pad: Merge pad mode activation functions
Add the pad mode to the activate function so that we can reuse the same function
for all activation modes. This makes the core logic smaller and allows for some
elements to make their activation code easier. It would allow us to add more
scheduling modes later without having to add more activate functions.
2011-11-21 13:29:05 +01:00
Wim Taymans 9e3aa102d7 docs: update design doc
also fix default alignment value (0 == no-alignment)
2011-11-18 18:08:21 +01:00
Wim Taymans 12d5f03453 pad: fix scheduling mode enums
GstPadActivateMode -> GstPadMode
GST_PAD_ACTIVATE_* -> GST_PAD_MODE_*
2011-11-18 12:39:55 +01:00
Stefan Sauer 009d799087 collectpads: move fields out of reserved and restore padding
Do the 0.11 ABI changes. Add extra fields for destroy_notify and drop the qdata
hack. Rename _add_pad_full to _add_pad and remove the old _add_pad.
2011-11-17 08:39:01 +01:00
Wim Taymans 54e1174060 GstPadFlags: rename flags GST_PAD_* -> GST_PAD_FLAG_* 2011-11-16 12:36:51 +01:00
Wim Taymans 1fcd85308a update porting doc 2011-11-16 10:16:55 +01:00
Wim Taymans f746174c10 pad: move query convenience functions together
Move the caps convenience functions to the other query functions.
2011-11-15 18:16:24 +01:00
Wim Taymans e85198bc32 _query_peer_*() -> _peer_query_*() 2011-11-15 17:50:34 +01:00
Wim Taymans 2358938dbd _accept_caps() -> _query_accept_caps() 2011-11-15 17:40:19 +01:00
Wim Taymans d805f0f034 pad: _get_caps() -> _query_caps() 2011-11-15 16:46:37 +01:00
Wim Taymans b5c3e254b1 pad: remove getcaps and use caps query
Remove the getcaps function on the pad and use the CAPS query for
the same effect.
Add PROXY_CAPS to the pad flags. This instructs the default caps event and query
handlers to pass on the CAPS related queries and events. This simplifies a lot
of elements that passtrough caps negotiation.
Make two utility functions to proxy caps queries and aggregate the result. Needs
to use the pad forward function instead later.
Make the _query_peer_ utility functions use the gst_pad_peer_query() function to
make sure the probes are emited properly.
2011-11-15 11:20:48 +01:00
Stefan Sauer faf31366ab controller: remove functions to add/remove controlled properties
Make that implizit with attaching/detaching controlsources. This is a lot easier
and has less invalid state (controlled property without control source).
2011-11-14 10:02:55 +01:00
Tim-Philipp Müller 682704750c urihandler: pass GError argument to gst_uri_handler_set_uri()
Also let gst_uri_handler_set_uri check already if the protocol
is supported, so that not every uri handler has to do that
itself.
2011-11-13 18:04:55 +00:00
Tim-Philipp Müller 34e3e26467 urihandler: remove "new-uri" signal
No one but filesrc used that API. Should probably be replaced by
requiring an "uri" property instead, and then objects can do a
notify on that. Also removed interface structure padding, it's
not needed.
2011-11-13 15:37:40 +00:00
Stefan Sauer a1599f5f7e controller: merge controller into gstobject
This make the controller even more lightweight (no extra object, no extra lock,
less indirections). For object that don't use the controller the only 'overhead'
is a 3 unused fields in the gst_object structure.
2011-11-10 22:47:07 +02:00
Wim Taymans 9fa3f31b60 porting: update doc 2011-11-10 11:12:36 +01:00
Wim Taymans 37318a8cd2 pad: remove GstPadFixateCapsFunction
The fixate caps function was not used externally and we have vmethods in the
base classes where it is needed.
Update some docs.
simplify some fixate functions in the base classes. Also pass the untruncated
caps to the vmethod.
2011-11-10 10:58:42 +01:00
Wim Taymans a22c2716cd Merge branch 'master' into 0.11 2011-11-09 12:03:28 +01:00
Wim Taymans 280005db69 porting: update porting doc 2011-11-09 12:02:12 +01:00
Stefan Sauer a357433a42 docs: also fix wrong call order for controller in manual 2011-11-08 22:18:24 +01:00
Wim Taymans 642a4697fe pad: install query probes
Fire query probes according to updated design doc.
2011-11-08 17:32:11 +01:00
Wim Taymans ce09010267 pad: add pull mode probes
Allow probes to inspect the offset and size from a probe in pull mode and allow
the probe to modify the buffer.
Update design doc a little.
2011-11-08 12:47:33 +01:00
Stefan Sauer ea71090002 docs: mention more api changes in the porting guide 2011-11-07 12:33:45 +01:00
Tim-Philipp Müller e24b1de7ae docs: remove refs to removed API 2011-11-05 12:10:29 +00:00
Stefan Sauer efd4402ee0 controller: add api to check for active controllers (needed for e.g. volume) 2011-11-04 20:50:58 +01:00
Stefan Sauer 6f29ac8bb1 controller: update docs for controller move 2011-11-04 20:11:51 +01:00
Stefan Sauer 0f123cba23 docs: small clarification 2011-11-04 20:11:50 +01:00
Stefan Sauer 868463ed4c docs: missing rename iface->interface in the docs 2011-11-04 20:11:50 +01:00
Wim Taymans b6fbeb8fed pad: make probes work on all pads
fixes #644907
2011-11-04 18:19:14 +01:00
Wim Taymans 6c627481b3 utils: remove _found_tags_ API
remove gst_element_found_tags() and gst_element_found_tags_for_pad(), they are
nothing more than a wrapper around gst_pad_push_event()
2011-11-02 12:06:47 +01:00
Wim Taymans fff13f6f64 docs: remove metatiming from docs 2011-11-02 08:59:44 +01:00
Wim Taymans d9dc9f9d52 task: api cleanup
gst_task_create() -> gst_task_new()
2011-11-02 08:59:44 +01:00
Wim Taymans e4725d9df2 structure: cleanup API
gst_structure_empty_new() -> gst_structure_new_empty()
  gst_structure_id_empty_new() -> gst_structure_new_id_empty()
  gst_structure_id_new() -> gst_structure_new_id()
2011-11-02 08:59:44 +01:00
Wim Taymans 88e12228cf bufferlist: clean up API
gst_buffer_list_len() -> gst_buffer_list_length()
gst_buffer_list_sized_new() -> gst_buffer_list_new_sized()
2011-11-02 08:59:43 +01:00
Tim-Philipp Müller 2e29d8fc06 docs: mention GstActivateMode rename in porting doc 2011-11-01 10:57:34 +00:00
Tim-Philipp Müller 4f004eff38 pad: rename GstActivateMode to GstPadActivateMode
These might be useful:
sed -i -e 's/GstActivateMode/GstPadActivateMode/g' `git grep GstActivateMode | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_ACTIVATE_/GST_PAD_ACTIVATE_/g'    `git grep GST_ACTIVATE_   | sed -e 's/:.*//' | sort -u`
2011-11-01 00:25:02 +00:00
Tim-Philipp Müller bffc9207b5 pad: rename GstProbeType and GstProbeReturn to GstPadProbe{Type,Return}
Better now than later in the cycle. These might come in handy:

sed -i -e 's/GstProbeReturn/GstPadProbeReturn/g'   `git grep GstProbeReturn  | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_PROBE_/GST_PAD_PROBE_/g'          `git grep GST_PROBE_      | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GstProbeType/GstPadProbeType/g'       `git grep GstProbeType    | sed -e 's/:.*//' | sort -u`
2011-11-01 00:15:17 +00:00
Tim-Philipp Müller f19b7d1125 taglist: remove gst_tag_list_get_*long*()
No one uses this or should ever need to use it, since
the size is architecture-specific anyway. If normal
integers don't do, one should use 64-bit integers.
2011-10-31 23:32:17 +00:00
Tim-Philipp Müller 221c9423d3 filter: remove gst_filter_run() and deprecated filter func
If someone wants to resurrect this, please use a less
generic name space for it.
2011-10-31 14:16:05 +00:00
Tim-Philipp Müller 4e7944b0b9 taglist: rename _new() to _new_empty() and new_full*() to new*() 2011-10-30 22:24:25 +00:00
Tim-Philipp Müller 3a4f580bb2 Merge remote-tracking branch 'origin/master' into 0.11 2011-10-30 10:00:28 +00:00
Tim-Philipp Müller 606c53fc94 taglist: add to_string and new_from_string functions
We want to make GstTagList opaque and not have people use
GstStructure API on it.

API: gst_tag_list_to_string()
API: gst_tag_list_new_from_string()
2011-10-30 09:58:16 +00:00
Tim-Philipp Müller 002446820e Merge remote-tracking branch 'origin/master' into 0.11 2011-10-30 09:31:39 +00:00
Tim-Philipp Müller cdade325ae taglist: add gst_tag_list_is_equal()
API: gst_tag_list_is_equal()
2011-10-30 01:44:00 +01:00
Wim Taymans 8f9a330156 porting: update 2011-10-28 12:31:03 +02:00
Wim Taymans bed4d5f9b0 docs: update 2011-10-28 12:28:46 +02:00
Wim Taymans d110c4db31 Merge branch 'master' into 0.11 2011-10-28 11:13:55 +02:00
Sebastian Dröge 2f100e86f6 collectpads2: Merge the clip and prepare_buffer function into one 2011-10-28 10:38:24 +02:00
Sebastian Dröge 1b1b7931b0 collectpads2: Add to the documentation 2011-10-28 09:36:12 +02:00
Stefan Sauer ea030c9452 docs: spelling and formatting fixes 2011-10-21 11:21:17 +02:00
Wim Taymans 2c64c53cd2 porting: update 2011-10-16 17:42:22 +02:00
Wim Taymans 83b24d8430 porting: update 2011-10-16 17:03:27 +02:00
Wim Taymans a490fbd5e6 porting: update porting list 2011-10-16 17:00:09 +02:00
Tim-Philipp Müller 01c11ebf08 utils: remove gst_type_register_static_full()
It was only really used by GST_BOILERPLATE, and that is no more.

https://bugzilla.gnome.org/show_bug.cgi?id=660955
2011-10-10 19:30:34 +01:00
Edward Hervey 1cb205b30f porting: update 2011-10-10 17:17:37 +02:00
Wim Taymans 5a236e5e29 porting: update 2011-10-10 13:23:09 +02:00
Wim Taymans 4fb79f1d21 porting: update 2011-10-10 12:54:54 +02:00
Wim Taymans 3bb8bce133 porting: update 2011-10-10 12:38:35 +02:00
Wim Taymans fa57e310fd porting: update 2011-10-10 12:27:52 +02:00
Wim Taymans 01cddb5580 porting: update 2011-10-10 11:49:46 +02:00
Wim Taymans ea012d3dd7 pad: GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2011-10-10 11:33:51 +02:00
Wim Taymans 756409b813 porting: update 2011-10-10 11:30:21 +02:00
Wim Taymans 8bab8b1e2b porting: update doc 2011-10-08 15:16:59 +02:00
Wim Taymans 2616401232 porting: update 2011-10-08 14:23:30 +02:00
Wim Taymans be6ef190b3 porting: upate porting list 2011-10-08 12:08:49 +02:00
Tim-Philipp Müller 434e7042d8 base: make GstDataQueue private API for multiqueue
There's no code that uses it other than multiqueue, so make it private
to multiqueue for now. That way we can also do optimisations that
require API/ABI breaks. If anyone ever wants to use it, we can still
make it public again.
2011-10-07 13:54:37 +01:00
Wim Taymans 93289c2a02 porting: update list 2011-10-06 17:26:02 +02:00
Wim Taymans e99df2b96f porting: update list 2011-10-06 14:04:05 +02:00
Wim Taymans ae15e9af3f update porting list 2011-10-06 11:03:05 +02:00
Wim Taymans ea8b0e899e porting: update list 2011-10-05 20:06:51 +02:00
Wim Taymans ce025b9fab porting: update porting status 2011-10-05 13:47:10 +02:00
Wim Taymans 738e421936 update porting list 2011-10-04 18:55:20 +02:00
Wim Taymans 4abfeaff18 update porting list 2011-10-04 17:39:03 +02:00
Wim Taymans 72e86a372c add porting list 2011-10-04 13:16:14 +02:00
Wim Taymans a8f604605d update release notes
Change the mail addresses to the freedesktop ones
2011-09-29 18:06:25 +02:00
Wim Taymans 947276484f docs: fix some more docs 2011-09-28 11:16:33 +02:00
Wim Taymans 8a1f401dfd docs: fix docs 2011-09-26 20:47:35 +02:00
Sebastian Dröge 43538e2e75 Merge branch 'master' into 0.11
Conflicts:
	docs/design/draft-buffer2.txt
	docs/design/part-TODO.txt
	docs/design/part-block.txt
	docs/design/part-bufferlist.txt
	docs/design/part-caps.txt
	docs/design/part-element-transform.txt
	docs/design/part-events.txt
	docs/design/part-negotiation.txt
	gst/gstcaps.c
	gst/gstevent.h
	gst/gstghostpad.c
	gst/gstinterface.c
	gst/gstpad.c
	gst/gstpad.h
	gst/gstutils.c
	libs/gst/base/gstbasesink.c
	libs/gst/base/gstbasesrc.c
	libs/gst/base/gstbasetransform.c
	libs/gst/base/gsttypefindhelper.c
	plugins/elements/gstcapsfilter.c
	plugins/elements/gsttee.c
	tests/check/generic/sinks.c
	tools/gst-launch.1.in
2011-09-08 14:28:23 +02:00
Piotr Fusik 14f5518f3d docs, gst: typo fixes
https://bugzilla.gnome.org/show_bug.cgi?id=658449
2011-09-07 18:03:17 +01:00
Tim-Philipp Müller 92ad7f0d6b docs: fix make distcheck
No point removin those empty override files from git, they'll
just be re-created later, so let's tell gtk-doc about them, so
it can clean them up properly.
2011-09-07 15:09:58 +01:00
Stefan Sauer dbfc0d9b35 docs: cleanup makefiles
Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.
2011-09-07 14:08:35 +02:00
Wim Taymans e01b5c0f46 Merge branch 'master' into 0.11 2011-08-15 14:43:14 +02:00
Wim Taymans 61143b7840 docs: update porting doc 2011-08-15 12:18:59 +02:00
Tim-Philipp Müller 63fb18dcd9 docs: fix typo in PWG
RBG -> RGB. Spotted by Will Thompson.

https://bugzilla.gnome.org/show_bug.cgi?id=656326
2011-08-11 09:31:25 +01:00
Edward Hervey bdc1710be5 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst/gstdebugutils.c
	gst/gstelementdetails.h
	gst/gstregistrychunks.c
	tools/gst-run.c
2011-08-10 17:07:54 +02:00
Tim-Philipp Müller e77098101f docs: fix helloworld compile command line for newer gcc
https://bugzilla.gnome.org/show_bug.cgi?id=656092
2011-08-07 09:14:50 +01:00
Sebastian Dröge e9202c22f0 porting-to-0.11: Add section about GstIterator 2011-08-03 11:04:12 +02:00
Tim-Philipp Müller 9e308d150a manual: update for position/duration query API change 2011-07-28 12:01:58 +01:00
Tim-Philipp Müller ef8ca3549e gst: fix awkward dest_format inout parameter in query utility functions
The idea was originally that if one passed &dest_fmt with
dest_fmt=GST_FORMAT_DEFAULT, then the code answering the query
could change dest_fmt to the actual default format used. However,
in more than half a decade of GStreamer 0.10 no piece of code in
GStreamer has ever used that feature, nor are there that many
users of this API that actually check whether the format returned
is the original format passed before using the values returned.
Also, it's just annoying-to-use API in its own right.

For all these reasons, make it so that the destination format is
passed directly and can't be changed by the element queried.
2011-07-28 11:23:15 +01:00
Wim Taymans cf18fa9ce5 Merge branch 'master' into 0.11 2011-07-27 12:50:39 +02:00
Stefan Kost 3ebec93515 pwd: discontinous event -> newsegment event
Fix a 0.8 leftover as mentioned on bug #621121.
2011-07-24 11:26:42 +02:00
Wim Taymans e672a372d6 talk about the basetransform sink_event vmethod 2011-07-24 09:05:22 +02:00
Wim Taymans 92aa4fede9 Merge branch 'master' into 0.11
Conflicts:
	libs/gst/base/gstbaseparse.c
	libs/gst/base/gstbasesink.c
2011-07-21 16:49:13 +02:00
Stefan Kost 70b95be8f0 docs: clarify clocks docs in manual
After a question on the mailing list, mention that *flushing* seeks reset the
running time.
2011-07-18 17:22:41 +02:00
Tim-Philipp Müller 3dbcb73b11 Remove GstImplementsInterface
It was a bit too clever, and didn't really work as an API,
confusing people to no end. Better implement specific methods
whether an interface is usable/available/ready on the interface
itself, or even add GError arguments, rather than try to have
per-instance interfaces.
2011-06-26 22:59:26 +01:00
Wim Taymans 1b381907b5 docs: update design docs a little
Update the design doc with the current state of the videometadata.
2011-06-22 18:07:18 +02:00
Wim Taymans f8fedb8ff1 docs: update negotiation design doc 2011-06-22 12:26:19 +02:00
Wim Taymans c6a3878369 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	win32/common/config.h
	win32/common/gstversion.h
2011-06-21 17:54:38 +02:00
Wim Taymans 7988f4c494 docs: update bufferpool design doc 2011-06-21 17:47:36 +02:00
Stefan Kost 63dbb3b383 images: strip images of extra text tags 2011-06-21 15:15:44 +02:00
Tim-Philipp Müller 239461f4a1 Bump git version after unplanned 0.10.35 release
Merge remote-tracking branch 'origin/0.10.35'
2011-06-18 12:47:37 +01:00
Tim-Philipp Müller 783bac2bc4 Release 0.10.35
This is an ad-hoc release that is almost identical to 0.10.34:

 * work around GLib atomic ops API change
 * some minor win32/mingw fixes
 * don't use G_CONST_RETURN in public headers
2011-06-15 19:15:24 +01:00
Wim Taymans 44d45e0b63 docs: update docs 2011-06-14 15:19:21 +02:00
Wim Taymans 1ea2722180 Merge branch 'master' into 0.11 2011-06-13 19:10:00 +02:00
Tim-Philipp Müller 954bcb09c7 docs: update for gst_base_src_set_dynamic_size
Add to sections file and add Since: marker. Also update
win32 .def file.

API: gst_base_src_set_dynamic_size()
2011-06-10 12:45:37 +01:00
Edward Hervey 30b3e90117 design: part-bufferlist.txt was merged into another doc 2011-06-10 13:44:19 +02:00
Edward Hervey 3315d6c2af docs: Update sections files for added/removed symbols 2011-06-10 13:35:25 +02:00
Edward Hervey 054a770063 docs: Update gstreamer-sections for new/removed API 2011-06-08 13:39:19 +02:00
Wim Taymans b84fff07ea memory: Require implementation to implement _share
Require the memory implementations to implement a share operation. This allows
us to remove the fallback share implementation which uses a different allocator
implementation and complicates things too much.
Update design doc a bit.
2011-06-08 12:04:49 +02:00
Wim Taymans 9886c712cd docs: add beginnings of memory design doc 2011-06-07 18:18:27 +02:00
Tim-Philipp Müller b549abcf48 docs: minor fix and clarification 2011-06-07 13:05:33 +01:00
Wim Taymans f48e7920da docs: go over design docs and fix things
Remove bufferlist part, it's merged with part-buffer.txt
2011-06-06 16:13:19 +02:00
Tim-Philipp Müller 4b920eb5d2 docs: update for API changes
Also remove GST_PAD_CHECKGETRANGEFUNC macro
2011-06-05 18:57:56 +01:00
Tim-Philipp Müller a4092cd5c4 Remove everything libxml2- and loadsave-related 2011-06-04 15:22:06 +01:00
Tim-Philipp Müller 548856596d tools: remove gst-feedback
It's not really that useful, and no one's been using it for years.
2011-06-04 14:22:05 +01:00
Wim Taymans da14267ea8 docs: first version of probes document 2011-06-03 17:24:21 +02:00
Wim Taymans f7acae0af5 docs: update bufferpool design doc
Move the bufferpool design doc from draft to part and merge it with
the allocation draft.
2011-06-03 12:43:32 +02:00
Wim Taymans f06acc7bf7 docs: update porting doc 2011-06-03 11:15:30 +02:00
Sebastian Dröge 58302cedfa Merge branch 'master' into 0.11 2011-05-30 07:41:13 +02:00
Tim-Philipp Müller 5442bdf311 docs: fix bugzilla URL
htpp -> http

https://bugzilla.gnome.org/show_bug.cgi?id=651362
2011-05-29 19:28:34 +01:00
Sebastian Dröge 30a7fd7b4d Merge branch 'master' into 0.11 2011-05-27 13:58:26 +02:00
Sebastian Dröge 57df188757 caps: Add gst_caps_is_subset_structure()
API: gst_caps_is_subset_structure()

This allows to check if a structure is a subset of given
caps without allocating a new caps instance for it.
2011-05-27 13:55:31 +02:00
Sebastian Dröge da58834884 structure: Add gst_structure_is_subset()
API: gst_structure_is_subset()
2011-05-27 13:47:11 +02:00
Sebastian Dröge 7295f3e2f6 basetransform: Pass the complete caps to transform_caps
Instead of passing it structure by structure. This allows
better optimized transform_caps functions and allows better
transformation decisions.

See bug #619844.
2011-05-27 11:37:24 +02:00
Sebastian Dröge 007b16b024 Merge branch 'master' into 0.11 2011-05-26 13:36:48 +02:00
Tim-Philipp Müller 1347cc520f docs: update release instructions for gnome change 2011-05-25 15:43:44 +01:00
Wim Taymans 5fa3082e19 query: add SCHEDULING query
Add a new query to replace the checkgetrange function.
2011-05-24 17:39:56 +02:00
Wim Taymans a9edf7c6aa Merge branch 'master' into 0.11
Conflicts:
	docs/plugins/gstreamer-plugins.hierarchy
2011-05-20 12:07:45 +02:00
Stefan Kost 322ff4ae4f docs: update plugin introspection data
Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.
2011-05-19 23:19:30 +03:00
Wim Taymans 4a646e0e76 Merge branch 'master' into 0.11
Conflicts:
	gst/gstghostpad.h
2011-05-19 11:30:06 +02:00
Stefan Kost bc9e72d4ed docs: remove GstProxyPad from private section 2011-05-18 15:04:48 +03:00
Wim Taymans 4c582b010b docs: update docs some more 2011-05-18 11:21:52 +02:00
Wim Taymans 029ac4597e pad: rework sticky events a little
Update the design docs with some clear rules for how sticky events are
handled.
Reimplement the sticky tags, use a small structure to hold the event and its
current state (active or inactive).
Events on sinkpads only become active when the event function returned success
for the event.
When linking, only update events that are different.
Avoid making a copy of the event array, use the object lock to protect the event
array and release it only to call the event function. This will need to check
if something changed, later.
Disable a test in the unit test, it can't work yet.
2011-05-18 11:08:52 +02:00
Sebastian Dröge 5f406248eb element: Consider GstPadTemplate as immutable
Don't copy the templates when creating subclasses but only increase
their refcount.
2011-05-17 13:13:51 +02:00
Sebastian Dröge be00534878 padtemplate: Create pad templates with floating refs
And take ownership of the floating ref in gst_element_add_pad_template()
2011-05-17 13:13:51 +02:00
Sebastian Dröge dd89e924db padtemplate: Improve reference handling of the template's caps
gst_pad_template_new() does not take ownership of the caps anymore.
2011-05-17 13:13:51 +02:00
Sebastian Dröge b5bc5b459a pad: Let template related functions return new references
gst_pad_template_get_caps(), gst_pad_get_pad_template_caps()
and gst_pad_get_pad_template() return a new reference of the
caps or template now and the return value needs to be
unreffed after usage.
2011-05-17 12:00:18 +02:00
Sebastian Dröge e34c26b509 Merge branch 'master' into 0.11
Conflicts:
	win32/common/libgstreamer.def
2011-05-17 09:43:21 +02:00