Commit graph

436 commits

Author SHA1 Message Date
Sebastian Dröge
e9202c22f0 porting-to-0.11: Add section about GstIterator 2011-08-03 11:04:12 +02: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
e672a372d6 talk about the basetransform sink_event vmethod 2011-07-24 09:05:22 +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
44d45e0b63 docs: update docs 2011-06-14 15:19:21 +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
Wim Taymans
f06acc7bf7 docs: update porting doc 2011-06-03 11:15:30 +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
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
bdf9022861 base: Improve negotiation with new getcaps() filter 2011-05-16 15:33:10 +02:00
Sebastian Dröge
3fa1594aaf gst: Add a filter caps parameter to all get_caps() functions
This is used to pass the possible caps and preferences to
the pad and to allow better negotiation decisions.
2011-05-16 15:33:10 +02:00
Wim Taymans
b905c4d215 porting: update porting doc 2011-05-10 16:46:15 +02:00
Wim Taymans
fbf306449e porting: update porting doc 2011-05-10 16:23:08 +02:00
Wim Taymans
ac1e42402a porting: update porting doc 2011-05-06 12:23:01 +02:00
Wim Taymans
9c48af743c docs: improve porting doc 2011-05-03 16:12:01 +02:00
Wim Taymans
6388666174 porting: update porting document 2011-05-03 16:12:01 +02:00
Philippe Normand
4e36f93924 core: store presets, registry and plugins in XDG directories.
Presets and plugins moved to $XDG_DATA_HOME/gstreamer-0.11/
root directory. Registry moved to $XDG_CACHE_HOME/gstreamer-0.11/.

Fixes bug #518597.
2011-05-03 09:43:22 +02:00
Sebastian Dröge
0f3f816f3f utils: Remove GST_BOILERPLATE and friends 2011-04-19 11:45:32 +02:00
Sebastian Dröge
7c8617ea82 bin: Enable DURATION query caching
Elements must now post a DURATION message on the bus if they
change the duration in PAUSED or PLAYING.
2011-04-18 10:36:41 +02:00
Sebastian Dröge
aad57970de element: Inherit element metadata and pad templates from parent classes
This allows to add pad templates and set metadata in class_init instead of
base_init. base_init is a concept that is not supported by almost all
languages and copying the templates/metadata for subclasses is the more
intuitive way of doing things.

Subclasses can override pad templates of parent classes by adding a new
template with the same now.

Also gst_element_class_add_pad_template() now takes ownership of the
pad template, which was assumed by all code before anyway.

Fixes bug #491501.
2011-04-16 15:59:35 +02:00
Wim Taymans
5077630a99 Merge branch 'master' into 0.11 2011-04-07 16:13:56 +02:00
Stefan Kost
7bb40c3ada docs: remove file as we have docs/design/part-missing-plugins.txt 2011-04-07 16:09:49 +03:00
Wim Taymans
f6a5b168b2 docs: update porting guide with bufferlist changes 2011-04-01 10:46:06 +02:00
Wim Taymans
34da2a68f9 docs: update porting doc 2011-03-31 10:33:49 +02:00
Wim Taymans
3169e8414b docs: update porting guide 2011-02-23 15:43:49 +01:00
Wim Taymans
2e8d1620ef docs: update porting guide 2011-02-23 12:54:21 +01:00
Wim Taymans
238b9a57cc Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst/gstelement.c
	gst/gstelement.h
	gst/gstpad.c
	gst/gstutils.c
	libs/gst/base/Makefile.am
	libs/gst/check/Makefile.am
	libs/gst/controller/Makefile.am
	libs/gst/dataprotocol/Makefile.am
	libs/gst/net/Makefile.am
	win32/common/libgstreamer.def
2011-02-22 14:11:59 +01:00
Zhang Wanming
624168d8a0 docs: fix a few more typos
https://bugzilla.gnome.org/show_bug.cgi?id=640502
2011-01-26 08:59:49 +00:00
Zhang Wanming
2633ecf4f1 docs: fix typo
Signed-off-by: Zhang Wanming <Wanming.Zhang@tieto.com>
2010-12-31 12:20:40 +01:00
Wim Taymans
a5ab300978 porting: update porting document 2010-12-07 18:32:34 +01:00
Wim Taymans
43470edb2d porting: update porting doc 2010-12-07 18:12:53 +01:00
Wim Taymans
ce0355e6d0 Merge branch 'master' into 0.11 2010-12-07 15:53:56 +01:00
Stefan Kost
5897b1993d docs: some notes about our plugin docs workflow 2010-12-07 12:59:16 +02:00
Wim Taymans
99efec3636 object: Removed deprecated fields and methods
Make GstObject extend from GInitiallyUnowned, remove the FLOATING flag and use
GObject methods for managing the floating ref.
Remove class lock, it was a workaround for a glib < 2.8 bug.
Remove the parent-set and parent-unset signals, attempt to implement with notify
but disabled because deadlocks in deep-notify.
2010-12-07 11:58:34 +01:00
Wim Taymans
ab99dec18a porting: mention removal of protocol property 2010-12-06 20:03:46 +01:00
Wim Taymans
ab2c5a489c docs: update porting doc 2010-12-06 19:24:30 +01:00
Wim Taymans
b38d4ed6dd porting: Add porting doc 2010-12-06 13:51:50 +01:00
Wim Taymans
36cd52f241 plan: fix typo 2010-12-06 13:48:31 +01:00
Wim Taymans
e1c9a81077 plan: add something about GVariant registry 2010-12-06 13:44:05 +01:00
Wim Taymans
b71681ff00 add some use-cases 2010-12-06 13:44:05 +01:00
Wim Taymans
25480c7f49 more updates 2010-12-06 13:44:05 +01:00
Wim Taymans
0ed1d4257d more updates 2010-12-06 13:44:05 +01:00
Wim Taymans
954306940d more updates 2010-12-06 13:44:05 +01:00
Wim Taymans
88b6e5f966 work on todo list for 0.11 work 2010-12-06 13:44:05 +01:00
Tim-Philipp Müller
ef25c11214 docs: flesh out release instructions a bit more 2010-10-16 17:00:17 +01:00