Commit graph

2247 commits

Author SHA1 Message Date
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