Commit graph

2691 commits

Author SHA1 Message Date
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
Sebastian Dröge
a08a17dfbd structure: Add gst_structure_intersect()
API: gst_structure_intersect()
2011-05-17 09:33:04 +02:00
Edward Hervey
64725facb5 gststructure: Add gst_structure_can_intersect API
Allows checking if two structures can intersect without having to
go through GstCaps

API: gst_structure_can_intersect

https://bugzilla.gnome.org/show_bug.cgi?id=629300
2011-05-17 09:28:06 +02:00
Edward Hervey
ae46eb3a38 gstructure: New API: gst_structure_is_equal
Allows checking equality of GstStructure without having to create
intermediary GstCaps.

API: gst_structure_is_equal

https://bugzilla.gnome.org/show_bug.cgi?id=629300
2011-05-17 09:28:00 +02:00
Sebastian Dröge
c079b5fd42 Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gstreamer into 0.11 2011-05-16 16:54:02 +02:00
Sebastian Dröge
b935a814d9 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	docs/gst/gstreamer-sections.txt
	gst/gstbin.c
	gst/gstelement.c
	gst/gstelement.h
	gst/gstghostpad.c
	gst/gstminiobject.c
	gst/gstminiobject.h
	libs/gst/base/gstbasesrc.c
	libs/gst/base/gstbasetransform.c
	plugins/elements/gstinputselector.c
	tests/check/gst/gstminiobject.c
2011-05-16 16:53:04 +02:00
Wim Taymans
bd1c4506b8 update manual code examples for new _get_caps() 2011-05-16 16:10:49 +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
bdbc069348 Rework GstSegment handling
Improve GstSegment, rename some fields. The idea is to have the GstSegment
structure represent the timing structure of the buffers as they are generated by
the source or demuxer element.
gst_segment_set_seek() -> gst_segment_do_seek()
Rename the NEWSEGMENT event to SEGMENT.
Make parsing of the SEGMENT event into a GstSegment structure.
Pass a GstSegment structure when making a new SEGMENT event. This allows us to
pass the timing info directly to the next element. No accumulation is needed in
the receiving element, all the info is inside the element.
Remove gst_segment_set_newsegment(): This function as used to accumulate
segments received from upstream, which is now not needed anymore because the
segment event contains the complete timing information.
2011-05-16 11:37:52 +02:00
Tim-Philipp Müller
76ccd2a1e9 docs: fix up some Since markers and update for new multiqueue args 2011-05-14 14:05:52 +01:00
Sebastian Dröge
9149043e95 miniobject: Add new miniobject weak ref/unref functions to the docs 2011-05-14 11:39:35 +02:00
Sebastian Dröge
3c760a3ee5 ghostpad: Add docs for all the new, public functions 2011-05-14 11:39:35 +02:00
Sebastian Dröge
a216426bb6 ghostpad: API: Expose gst_proxy_pad_get_internal()
This allows to get the internal pad of ghostpads and
proxypads without using gst_pad_iterate_internal_links()
and is much more convenient.

The internal pad of a ghostpad is the pad of the opposite direction
that is used to link to the ghostpad target.
2011-05-14 11:39:34 +02:00
Tim-Philipp Müller
2fd64257fd Back to development 2011-05-14 09:31:33 +01:00
Tim-Philipp Müller
3f80f6584f Release 0.10.34 2011-05-14 01:00:23 +01: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
Tim-Philipp Müller
b6fe77c450 Release 0.10.33
Highlights:

  - new parser base class: GstBaseParse
  - new core element: funnel
  - OSX multi-arch fixes
  - new QoS type for QoS events
  - new progress message API to notify applications of asynchronous operations
  - countless other fixes and improvements
2011-05-10 11:39:26 +01:00
Wim Taymans
ac1e42402a porting: update porting doc 2011-05-06 12:23:01 +02:00
Sebastian Dröge
3d807c228c docs/def: Add new symbols, remove old symbols 2011-05-05 15:36:04 +02:00
Sebastian Dröge
25916cff66 event: Rename renegotiate event to reconfigure
In 0.11 this event will also do reconfiguration of buffer pools
and similar things, not just renegotiation.
2011-05-05 15:06:00 +02:00
Sebastian Dröge
65eafd9340 Merge branch 'master' into 0.11
Conflicts:
	docs/gst/gstreamer-sections.txt
	gst/gstelementfactory.c
	gst/gstminiobject.c
2011-05-05 12:27:51 +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
Stefan Kost
eaebf37c00 docs: add new api to -section.txt 2011-05-03 13:03:20 +03:00
Stefan Kost
4699cafe90 docs: remove non existing symbol 2011-05-03 13:03:20 +03: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
5fe9bcd989 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst/gstbus.c
2011-05-03 09:42:58 +02:00
Tim-Philipp Müller
11ac49e6c4 0.10.32.4 pre-release 2011-04-30 16:55:36 +01:00
Wim Taymans
06f6935107 bufferpool: add query to request pool and configuration
Add a query to request allocation parameters and optionally a bufferpool as
well. This should allow elements to discover downstream capabilities and also
use the downstream allocators.
2011-04-28 15:31:48 +02:00
Wim Taymans
442193f3f3 bufferpool: fix some docs 2011-04-27 17:56:12 +02:00
Tim-Philipp Müller
b8c541a0e2 0.10.32.3 pre-release 2011-04-27 11:49:11 +01:00
Wim Taymans
24bb414035 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
2011-04-19 16:21:15 +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
Tim-Philipp Müller
a4f6746478 0.10.32.2 pre-release 2011-04-16 14:56:03 +01:00
Sebastian Dröge
8bfdd8c817 Merge branch 'master' into 0.11 2011-04-16 09:33:06 +02:00
Tim-Philipp Müller
886246661f baseparse: expose gst_base_parse_frame_free() for completeness
API: gst_base_parse_frame_free()
2011-04-15 19:07:55 +01:00
Wim Taymans
6be4dbdb5a Merge branch 'master' into 0.11
Conflicts:
	android/base.mk
	android/controller.mk
	android/dataprotocol.mk
	android/elements.mk
	android/gst-inspect.mk
	android/gst-launch.mk
	android/gst-plugin-scanner.mk
	android/gst.mk
	android/indexers.mk
	android/net.mk
	win32/common/libgstbase.def
2011-04-11 10:26:54 +02:00
Edward Hervey
629f8506e7 design: draft-buffer2.txt no longer exists 2011-04-09 04:05:48 +02:00
Tim-Philipp Müller
9d98c62f0e baseparse: rename _set_frame_props() to _set_frame_rate()
Seems like the best fit to what it does, and is shorter than
set_frame_properties() which might also have been confusing
because of GstBaseParseFrame.

https://bugzilla.gnome.org/show_bug.cgi?id=518857
2011-04-08 15:44:58 +01:00
Tim-Philipp Müller
5073948380 baseparse: replace format flags with gst_base_parse_set_{passthrough,syncable,has_timing_info}
This is more in line with e.g. GstBaseTransform's API, and makes for nicer
to read code. No getters for now since I don't see any use case for them,
the API is for subclasses, which usually know what format they're
dealing with already and hence know what they've set.

https://bugzilla.gnome.org/show_bug.cgi?id=518857
2011-04-08 15:44:58 +01:00
Tim-Philipp Müller
22b7dfc800 baseparse: add to docs and fix up gtk-doc markup a little
And add Since markers.
2011-04-08 15:44:57 +01: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
4686e124c8 Merge branch 'master' into 0.11 2011-04-01 10:47:48 +02:00
Wim Taymans
f6a5b168b2 docs: update porting guide with bufferlist changes 2011-04-01 10:46:06 +02:00
Tim-Philipp Müller
0221f842af design docs: document expected behaviour for ACCURATE and KEY_UNIT seek flags 2011-03-31 19:27:30 +01:00
Wim Taymans
468ec5bc40 bufferlist: simplify bufferlists
We now have multiple memory blocks as part of the buffers and we can therefore
reduce the bufferlist to a simple array of buffers.
2011-03-31 17:51:02 +02:00
Wim Taymans
34da2a68f9 docs: update porting doc 2011-03-31 10:33:49 +02:00
Wim Taymans
7a62d32a07 Merge branch 'master' into 0.11-fdo
Conflicts:
	docs/plugins/gstreamer-plugins.hierarchy
	gst/gstelement.c
2011-03-30 19:58:52 +02:00
Wim Taymans
7cae289036 docs: update docs 2011-03-30 19:01:13 +02:00
Wim Taymans
800def04e2 docs: update documentation 2011-03-30 18:45:08 +02:00
Wim Taymans
cf4117b240 design: update design docs 2011-03-30 15:29:39 +02:00
Wim Taymans
db230b6121 design: update docs 2011-03-30 13:04:34 +02:00
Sebastian Dröge
565efa30ea funnel: Integrate into the build system and rename the types 2011-03-29 11:20:05 +02:00
Wim Taymans
a12ede3fb1 Merge branch 'master' into 0.11-fdo
Conflicts:
	gst/gst.c
	libs/gst/base/gstcollectpads.c
2011-03-28 20:11:20 +02:00
Wim Taymans
d82c8bd2af memory: port code to new buffer data API 2011-03-28 20:08:45 +02:00
Stefan Kost
84eafff61b docs: fix some gtk-doc warnings
Document the queue leaky enums.
2011-03-24 18:32:21 +02:00
Stefan Kost
3e475c4d33 docs: do xrefs for non installed books too
Get the xrefs from the builddir for the books in the same packages. This fixes
the cross references if one does not have the docs already installed.
2011-03-24 18:32:20 +02:00
Wim Taymans
f0e3902a37 Merge branch 'master' into 0.11 2011-03-10 10:25:07 +01:00
Stefan Kost
1d637d2a61 pwg: fix element name "videodrop" to "videorate" 2011-03-09 16:16:07 +02:00
Wim Taymans
e9d7571022 docs: rename draft to official doc 2011-03-08 18:05:42 +00:00
Wim Taymans
aab8b00f17 docs: update metadata draft 2011-03-04 19:02:33 +01:00
Wim Taymans
2dca02869b docs: update bufferpool draft 2011-03-04 16:05:44 +01:00
Wim Taymans
d3c9f9247c docs: update bufferpool docs 2011-03-02 11:24:27 +01:00
Wim Taymans
230c3455ac Merge branch 'master' into 0.11
Conflicts:
	gst/gstregistry.h
2011-03-02 11:08:34 +01:00
Arun Raghavan
0e6aa69366 faq: Minor update to ssh key generation commands
fd.o requires RSA keys, and in general, users would probably want to
make a per-server key file rather than overwrite id_rsa, id_rsa.pub.
2011-03-02 14:01:05 +05:30
Wim Taymans
0969106993 docs: update docs and defs 2011-02-27 12:21:32 +01:00
Wim Taymans
6f4a733063 metadata: Rename to GstMeta
Rename to the shorter GstMeta
Add docs
Add api to get metadata by API
2011-02-25 13:15:25 +01:00
Wim Taymans
45645a11a1 buffermeta: fix compilation 2011-02-25 10:34:52 +01:00
Wim Taymans
8e4ab802f9 updates 2011-02-25 10:34:52 +01:00
Wim Taymans
8468dadc77 buffermeta: add beginnings of buffer metadata
Add first implementation of arbitrary buffer metadata. We use a simple linked
linked of slice allocated metadata chunks. Future implementations could use
something more performant.
Add get, remove, iterate methods to handle the metadata.
2011-02-25 10:34:47 +01:00
Wim Taymans
a27da6a919 design: add api tag
We want to find metadata based on the API it implements and based on the
specific implementation.
2011-02-25 10:19:25 +01:00
Tim-Philipp Müller
27027a2dd2 uri: add gst_filename_to_uri() that takes relative filenames
Add function that (unlike the GLib equivalent) also accepts paths that
aren't absolute and will clean up relative markers such as ./ and ../
before forming a URI.

Fixes warnings with e.g. filesrc location=foo ! typefind caused by the
recent switch to g_filename_to_uri(), but also actually creates valid
URIs for the first time.

Windows code paths could need some more work, e.g. we don't clean up
the relative markers there for now (because path could have \ and /
as separators).

API: gst_filename_to_uri()
2011-02-24 15:36:52 +00: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
Stefan Kost
9558a05cc2 docs: tell that ORC_CODE can contain a list of flags 2011-02-23 12:35:58 +02:00
Wim Taymans
0894ed2053 Merge branch 'master' into 0.11 2011-02-22 15:08:51 +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
Stefan Kost
14c40ff792 docs: spell-check 2011-02-18 17:17:29 +02:00
Wim Taymans
905fea098f atomicqueue: add refcounting and docs 2011-02-16 17:56:39 +01:00
Wim Taymans
fab02a497a design: mention timeout in the progress message 2011-02-15 18:55:23 +01:00
Wim Taymans
fd0efad9cb design: make progress draft official 2011-02-15 18:55:22 +01:00
Wim Taymans
ec1bbd36bf message: rename category to code 2011-02-15 18:55:22 +01:00
Wim Taymans
8ff6a082d7 docs: add more standard categories 2011-02-15 18:55:22 +01:00
Wim Taymans
f5b175972c message: add progress message functions 2011-02-15 18:55:22 +01:00
Wim Taymans
6382a6813d docs: update progress field
Avoid naming the progress free text field 'message' as it conflicts with the
message itself.
2011-02-15 18:55:22 +01:00
Wim Taymans
4ee5c61a2d basesink: add property to configure a throttle-time
Add a property to configure the throttle time on a sink. The
property is not yet used.

See #638891
2011-02-10 15:21:45 +01:00
Wim Taymans
56826a5ee6 event: add QoS event type
Add a parameter to the QoS event to specify the QoS event type.
Update docs and add unit test.

See #638891
2011-02-10 15:21:45 +01:00
Wim Taymans
80311b758c design: tweak docs a little 2011-02-10 15:21:45 +01:00
Wim Taymans
2371cbbec2 design: update QoS document
Add new QoS types and talk about the new throttle QoS message.
2011-02-10 15:21:44 +01:00
Tim-Philipp Müller
166be8d7f1 docs: fix some typos in the bufferpool draft 2011-02-10 13:46:08 +00:00
Tim-Philipp Müller
1a6f61a1c9 docs: mention that it's necessary to set the state of elements added to an already-running pipeline
https://bugzilla.gnome.org/show_bug.cgi?id=641631
2011-02-10 00:04:09 +00:00
Wim Taymans
654a9484ef design: add draft for first ideas for a bufferpool feature
Add a first draft with some ideas and use cases for the implementation
for bufferpools. The purpose is to be able to make elements negotiate
their buffer requirements as well as provide an infrastructure to
preallocate and reuse buffers in an easy way.
2011-02-09 16:27:33 +01:00
Sreerenj Balachandran
de55965ebe taglist: add a new "encoded-by" tag
Usecase: ID3v2 TENC ("Encoded by") frame.

API: GST_TAG_ENCODED_BY

https://bugzilla.gnome.org/show_bug.cgi?id=627268
2011-02-01 14:09:48 +00: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
Cai Yuanqing
eea239f47c design docs: fix 2 typos in part-MT-refcounting 2011-01-24 19:52:30 +01:00
Yang Xichuan
3d858ccc18 design docs: part-gstbin.txt fix typo
Signed-off-by: Yang Xichuan <xichuan.yang@tieto.com>
2011-01-24 19:16:15 +01:00
Vincent Penquerc'h
4b88f6048a design docs: fix a few typos and a thinko 2011-01-24 19:15:29 +01:00
Sebastian Dröge
8163e51bad clock: API: Add function to re-init periodic GstClockIDs 2011-01-24 19:15:29 +01:00
Wim Taymans
7f217e728a design: update buffering doc
Add strategies to buffering doc
2011-01-24 16:35:25 +01:00
Tim-Philipp Müller
0177ff171a docs: hack a charset=utf-8 into pwg/adm html versions
So the encoding of the original document is respected and
displays properly in browsers where the encoding autodetection
fails to recognise that it's utf-8.

https://bugzilla.gnome.org/show_bug.cgi?id=639448
2011-01-24 12:52:04 +00:00
Tim-Philipp Müller
07c916be92 Back to development 2011-01-23 23:45:40 +00:00
Tim-Philipp Müller
5b04e61a35 Release 0.10.32 2011-01-21 10:25:32 +00:00
Tim-Philipp Müller
252b1a864a docs: fix spelling of 'threshold' in app dev manual 2011-01-18 22:51:49 +00:00
Tim-Philipp Müller
9774a8d510 0.10.31.4 pre-release 2011-01-18 10:10:05 +00:00
Tim-Philipp Müller
4583b4f0f2 docs: fix garbled UTF-8 characters when generating app dev manual ps/pdf
https://bugzilla.gnome.org/show_bug.cgi?id=639448
2011-01-14 00:20:43 +00:00
Tim-Philipp Müller
1e52eeabac 0.10.31.3 pre-release 2011-01-11 18:39:06 +00:00
Tim-Philipp Müller
39c22331c0 0.10.31.2 pre-release 2011-01-07 12:13:37 +00:00
Edward Hervey
04ebbc9f5a GstElement: Add a more flexible way to get request pads.
The new request_new_pad_full vmethod provides an additional caps field,
which allows elements to take better decision process.

Also, add a gst_element_request_pad() function to allow developers to be
able to specify which pad template they want a pad of.

Convert gstutils to use that new method instead of the old one when more
efficient.

This is useful for being able to request pads in a more flexible way,
especially when the element can provide pads whose caps depend on
runtime configuration and therefore can't provide pre-registered
pad templates.

API: GstElement::request_new_pad_full
API: gst_element_request_pad

https://bugzilla.gnome.org/show_bug.cgi?id=637300
2011-01-05 19:46:47 +01:00
Wim Taymans
4b51c52395 design: more updates for the progress messages 2011-01-05 10:57:26 +01:00
Edward Hervey
499b5e2c74 pwg: Fix link to GObject documentation
Better have gnome.org than viagra :)
2011-01-04 18:36:41 +01:00
Stefan Kost
373be6f14e tags: don't produce duplicated entries when merging same value twice
Add a variant of gst_value_list_concat() that skips duplicates and use that when
merging taglists.

API: gst_value_list_merge()
2011-01-02 22:35:08 +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
Tim-Philipp Müller
30d24e1d55 docs: add input-selector and output-selector to docs 2010-12-31 00:56:11 +00:00
Tim-Philipp Müller
77aca24d0f docs: add valve element to documentation 2010-12-31 00:51:12 +00:00
Wim Taymans
d90b7702f1 docs: fix typo 2010-12-28 10:35:18 +01:00
Wim Taymans
22e64c80d2 docs: add draft idea for progress reporting 2010-12-22 16:42:04 +01:00
Wim Taymans
225a060de0 docs: update docs 2010-12-07 18:40:12 +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
d1c3840eba libs: remove deprecated code 2010-12-06 19:40:03 +01:00
Wim Taymans
ab2c5a489c docs: update porting doc 2010-12-06 19:24:30 +01:00
Wim Taymans
993eda5004 remove deprecated symbols and methods 2010-12-06 19:18:31 +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
9ae630c73d build: remove trailing whitespaces after backslash in Makefile.am 2010-12-04 14:23:59 +00:00
Wim Taymans
35d10af06d poll: add method to get a GPollFD 2010-12-03 15:50:38 +01:00
Stefan Kost
16ce2d4ea4 design-docs: add html output using asciidoc
Unify the ad-hoc markup to be asciidoc style in many places. Add a "html" target
to Makefile to generate the output.
2010-12-03 09:50:31 +02:00
Edward Hervey
0fe3a9bc22 docs: Add unused symbols to proper sections 2010-12-02 19:04:57 +01:00
Edward Hervey
9275159a6d docs: Add GstDateTime section and update it for latest symbols 2010-12-02 19:04:57 +01:00
Edward Hervey
b4285611ad gstclock: New API to re-use a single shot GstClockID
API: gst_clock_single_shot_id_reinit

https://bugzilla.gnome.org/show_bug.cgi?id=632778
2010-12-02 19:04:56 +01:00
Tim-Philipp Müller
a538abad86 Back to development 2010-12-01 23:56:45 +00:00
Tim-Philipp Müller
0dec58311f Release 0.10.31 2010-11-30 17:40:47 +00:00
reynaldo
c802bc7c26 docs: some small fixes to the plugin writer's guide
Fix wrongly placed example and weirdly phrased 'note' lacking proper
formatting. Fix missing hint for autogen.sh location and rephrase
'built and installed' sentence. Fix wrongly phrased and redundant
paragraph in PWG

https://bugzilla.gnome.org/show_bug.cgi?id=634921
2010-11-28 19:58:28 +00:00
Thiago Santos
13664331ea manual: Improve states documentation
Be more explicit about being on NULL before unrefs
2010-11-27 11:03:37 -03:00
Tim-Philipp Müller
ef25c11214 docs: flesh out release instructions a bit more 2010-10-16 17:00:17 +01:00
Sebastian Dröge
69ef479ce4 bytewriter: Add unchecked variants of the writing functions
These don't check if there's enough free space available and are
available as inline functions only.

API: gst_byte_writer_put_int8_unchecked
API: gst_byte_writer_put_int16_be_unchecked
API: gst_byte_writer_put_int16_le_unchecked
API: gst_byte_writer_put_int24_be_unchecked
API: gst_byte_writer_put_int24_le_unchecked
API: gst_byte_writer_put_int32_be_unchecked
API: gst_byte_writer_put_int32_le_unchecked
API: gst_byte_writer_put_int64_be_unchecked
API: gst_byte_writer_put_int64_le_unchecked
API: gst_byte_writer_put_uint8_unchecked
API: gst_byte_writer_put_uint16_be_unchecked
API: gst_byte_writer_put_uint16_le_unchecked
API: gst_byte_writer_put_uint24_be_unchecked
API: gst_byte_writer_put_uint24_le_unchecked
API: gst_byte_writer_put_uint32_be_unchecked
API: gst_byte_writer_put_uint32_le_unchecked
API: gst_byte_writer_put_uint64_be_unchecked
API: gst_byte_writer_put_uint64_le_unchecked
API: gst_byte_writer_put_float32_be_unchecked
API: gst_byte_writer_put_float32_le_unchecked
API: gst_byte_writer_put_float64_be_unchecked
API: gst_byte_writer_put_float64_le_unchecked
API: gst_byte_writer_put_data_unchecked
API: gst_byte_writer_fill_unchecked
2010-10-08 12:19:45 +02:00
Wim Taymans
8b61681cff docs: update qos design doc
Fix some typos.
change the definition of the quality field for video decoders to something that
makes more sense.
2010-10-07 19:20:01 +02:00
Tim-Philipp Müller
05918f28dc gstinfo: remove random MSVC compatibility define for M_PI that doesn't belong here
Code that needs this should include gst/math-compat.h or use G_PI.
2010-10-05 18:31:58 +01:00
Tim-Philipp Müller
2797f74c84 gst: add math-compat.h header
Add minimal math-compath.h header where we can define fallback
versions for miscellaneous math functions that aren't always
available, so we don't have to duplicate this in plugins.
The header is not included by default, so needs to be
included explicitly for now.

https://bugzilla.gnome.org/show_bug.cgi?id=630802
2010-10-05 18:31:29 +01:00
Sebastian Dröge
dd762eb49f bitreader: Add inlined and unchecked versions of the important functions
API: gst_bit_reader_skip_unchecked
API: gst_bit_reader_skip_to_byte_unchecked
API: gst_bit_reader_get_bits_uint16_unchecked
API: gst_bit_reader_get_bits_uint32_unchecked
API: gst_bit_reader_get_bits_uint64_unchecked
API: gst_bit_reader_get_bits_uint8_unchecked
API: gst_bit_reader_peek_bits_uint16_unchecked
API: gst_bit_reader_peek_bits_uint32_unchecked
API: gst_bit_reader_peek_bits_uint64_unchecked
API: gst_bit_reader_peek_bits_uint8_unchecked

This alone makes flacparse about 3 times faster.
2010-10-03 15:32:41 +02:00
Thiago Santos
7e1d9c8c0d tag: Adds GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR
Adds a new tag to indicate the error in horizontal positioning
in meters. This is one of the available 'gps error' fields in
exif, for example.

API: GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR
2010-09-23 10:37:06 -03:00
Wim Taymans
1afaa1680f adapter: add function to get a list of buffers
Add a function to retrieve a list of buffers containing the first N bytes from
the adapter. This can be done without a memcpy and should make it possible to
transfer the list to a GstBufferList later.
2010-09-17 17:35:41 +02:00
Edward Hervey
47743aa7ac pwg: Make a sentence clearer. 2010-09-17 10:01:01 +02:00
Tim-Philipp Müller
7e5a9580ef structure: add gst_structure_{id_}take_value()
Add _set_value() variants that take ownership of the value passed
instead of making a copy of the value. This is useful for setting
values to things that aren't refcounted (e.g. GValueArrays or
strings or string arrays, etc.).

API: gst_structure_take_value()
API: gst_structure_id_take_value()

https://bugzilla.gnome.org/show_bug.cgi?id=629831
2010-09-16 19:39:58 +01:00
Stefan Kost
8ef7e46d24 docs: fix warnings pointed out by gtk-doc 2010-09-13 11:18:25 +03:00
Tim-Philipp Müller
eb2c0df642 docs: update plugin docs for recent changes
And sorted hierarchy
2010-09-07 12:01:18 +01:00
Stefan Kost
65356fbb7a element-details: allow for arbitrary element details
Add a GstStructure to GstElementClass and GstElementFactory. Add setters/getter.
Handle it in the registry code. Print items in gst-inspect.
Fixes #396774.

API: gst_element_class_set_meta_data(), gst_element_factory_get_meta_data_detail()
2010-09-06 12:31:04 +03:00
Philippe Normand
9ef1c47079 gstquery: new buffering_ranges API
Added a new query type to retrieve informations about the areas of the
media currently buffered. See bug 623121.

API: gst_query_add_buffering_range
API: gst_query_get_n_buffering_ranges
API: gst_query_parse_nth_buffering_range
2010-09-03 19:55:25 +02:00
Edward Hervey
17f9254264 GstElementFactory: Add listing features
https://bugzilla.gnome.org/show_bug.cgi?id=626181
2010-09-03 19:31:12 +02:00
Tim-Philipp Müller
503e1faaea docs: mention GST_DEBUG_OPTIONS, ORC_CODE, G_DEBUG and G_SLICE environment variables
Mention a few more useful environment variables in the 'Running GStreamer
applications' section of the API reference.
2010-09-02 12:48:16 +01:00
Jeffrey S. Smith
4375e998ee Fix casts in a bunch of inline functions to maintain correct const-ness
Make code including GStreamer headers compile with -Wcast-qual by
maintaining const-ness when casting. Also fix function signature of
gst_byte_writer_set_pos(): the byte writer should not be marked as
const.

https://bugzilla.gnome.org/show_bug.cgi?id=627910
2010-09-02 00:09:08 +01:00
Wim Taymans
70617be38e manual: improve clock docs a little 2010-09-01 11:34:34 +02:00
Philippe Normand
b2e6379be8 gstvalue: Add new GstInt64Range type
new GstInt64Range to store gint64 ranges.

API: GST_TYPE_INT64_RANGE
API: gst_value_set_int64_range
API: gst_value_get_int64_range_min
API: gst_value_get_int64_range_max

Fixes bug #627826.
2010-09-01 11:07:37 +02:00
Sebastian Dröge
4e861cefbd utils: Add gst_util_fraction_compare() to the docs and exported symbols 2010-08-28 10:16:37 +02:00
Thiago Santos
0bd40a4397 tag: Adds GST_TAG_APPLICATION_DATA
Adds GST_TAG_APPLICATION_DATA for representing arbitrary private
data that applications might want to store into tags. Exif/id3,
for example, have tags for this.

API: GST_TAG_APPLICATION_DATA

Fixes #626651
2010-08-24 21:10:33 -03:00
Arun Raghavan
904c1a7a1d gst: Add a gst_is_initialized() API
For one, this will allow libraries that expect applications to
initialize GStreamer before using their API to have a check for this
condition.

https://bugzilla.gnome.org/show_bug.cgi?id=627438
2010-08-20 19:35:01 +02:00
Thiago Santos
261ef606e2 tag: Adds GST_TAG_APPLICATION_NAME tag
Adds a new tag for representing application used to create
a media

https://bugzilla.gnome.org/show_bug.cgi?id=626027
2010-08-09 17:44:17 -03:00
Stefan Kost
2c1386e3e6 manual: update gst-controller chapter
The docs were still describing deprecated api. Update it to tell about
control-cources.
2010-08-05 10:31:50 +03:00
Tim-Philipp Müller
31ec8282b5 docs: fix build with gtk-doc from git
For some reason the static inline function GST_CAT_LEVEL_LOG_valist is
now picked up, which then breaks the build because it's not documented,
so add it to the sections file.

Based on patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com>.

Fixes #625862.
2010-08-03 11:42:59 +01:00
Thiago Santos
f2c18c6c98 gststructure: Adds datetime getter function
Adds gst_structure_get_date_time function

API: gst_structure_get_date_time

Fixes #594504
2010-07-26 11:57:52 -03:00
Thiago Santos
137d19d621 tag: Adds GST_TAG_DATE_TIME tag
Adds a new tag that represents a date and time a media was
created

API: GST_TAG_DATE_TIME

Fixes #594504
2010-07-26 11:57:51 -03:00
Thiago Santos
3449bfc30e taglist: Add datetime get functions
Adds _date_time_get and _date_time_get_index functions to
taglist.

API: gst_tag_list_get_date_time
API: gst_tag_list_get_date_time_index

Fixes #594504
2010-07-26 11:57:51 -03:00
Thiago Santos
b4870282cb gstvalue: Adds datetime functions
Adds a datetime functions to gstvalue

Fixes #594504
2010-07-26 11:57:50 -03:00
Thiago Santos
6425bde6ec gstdatetime: Adds GstDateTime
Adds GstDateTime to represent dates + time + timezone
information.

Tests included.

API: GstDateTime
API: gst_date_time_get_day
API: gst_date_time_get_month
API: gst_date_time_get_year
API: gst_date_time_get_hour
API: gst_date_time_get_microsecond
API: gst_date_time_get_minute
API: gst_date_time_get_second
API: gst_date_time_get_time_zone_offset
API: gst_date_time_new
API: gst_date_time_new_local_time
API: gst_date_time_new_from_unix_epoch
API: gst_date_time_new_now_local_time
API: gst_date_time_new_now_utc
API: gst_date_time_ref
API: gst_date_time_unref

Fixes #594504
2010-07-26 11:57:49 -03:00
Michael Bunk
a646c9b2ca docs: fix some typos and add some missing links in the app dev manual
Fixes #624164.
2010-07-16 18:37:24 +01:00
Tim-Philipp Müller
068e1a6384 Back to development. 2010-07-16 11:16:15 +01:00
Tim-Philipp Müller
5ca0726648 Release 0.10.30 2010-07-15 10:18:12 +01:00
Tim-Philipp Müller
e688f6fb2b 0.10.29.4 pre-release
Also bump libtool versions now (which I meant to do for the first
pre-release but forgot).
2010-07-06 23:52:04 +01:00
Alessandro Decina
3a553f4eda basesink: add accessors for the enable-last-buffer property.
API: gst_base_sink_set_last_buffer_enabled
API: gst_base_sink_is_last_buffer_enabled
2010-07-06 16:39:18 +02:00
Tim-Philipp Müller
7492f65618 docs: add new add gst_clock_id_wait_async_full() to docs
API: add gst_clock_id_wait_async_full

See #623589.
2010-07-06 10:22:50 +01:00
Tim-Philipp Müller
2f149355cd docs: fix a couple of typos in the manual
Spotted by Alexander Saprykin.

Fixes #622379.
2010-07-01 19:58:09 +01:00
Tim-Philipp Müller
cda5a353d2 docs: update 'XML in GStreamer' section in application developer's manual 2010-06-30 13:16:35 +01:00
Tim-Philipp Müller
dbaae8f244 0.10.29.3 pre-release 2010-06-29 18:48:05 +01:00
Edward Hervey
5faf5620f3 gstutils: New gst_element_link_pads_full method
Links the elements with the specified pad linking checks.

API:gst_element_link_pads_full

https://bugzilla.gnome.org/show_bug.cgi?id=622504
2010-06-23 18:42:40 +02:00
Edward Hervey
625c4e2d80 GstPad: Add new pad linking method with configurable checks.
To be used for cases where we don't need all checks to be validated.

API: gst_pad_link_full
API: GstPadLinkCheck

https://bugzilla.gnome.org/show_bug.cgi?id=622504
2010-06-23 18:42:35 +02:00
Thiago Santos
7a34c1cd18 tag: Adds GST_TAG_IMAGE_ORIENTATION tag
Adds a new tag to inform about the image orientation and how
to rotate and flip it before display.

Note that this tag is a string with a predefined set of
possible values.

API: GST_TAG_IMAGE_ORIENTATION

Fixes #619508
2010-06-23 11:57:20 -03:00
Thiago Santos
9ee11a2af4 taglist: add gst_tag_list_peek_string_index to avoid a copy
Adds a variation of the _get_string_index function that doesn't copy
the string.

API: gst_tag_list_peek_string_index

https://bugzilla.gnome.org/show_bug.cgi?id=621896
2010-06-18 11:49:21 -03:00
Tim-Philipp Müller
1811963626 docs: update introspected plugin docs for gstdoc-scanobj changes
Update common for latest gstdoc-scanobj and inspect xml files for
escaping and pad template order changes.
2010-06-17 16:57:24 +01:00
Tim-Philipp Müller
8bfc2cc0c8 manual: fix another typo and some inaccuracies
Fix a wrong statement and flesh out section on messages and queries
a bit.
2010-06-17 09:33:43 +01:00
Alexander Saprykin
80ece8a4be manual: Fix another typo 2010-06-17 09:05:58 +02:00
Alexander Saprykin
7266cbc54a manual: Fix typo 2010-06-17 09:05:28 +02:00
Edward Hervey
4a11063768 Revert "GstPad: Add GST_PAD_NEGOTIABLE GstPadFlag"
This reverts commit dc38e75d88.

boom
2010-06-15 11:54:19 +02:00
Edward Hervey
dc38e75d88 GstPad: Add GST_PAD_NEGOTIABLE GstPadFlag
A pad is 'negotiable' when its container element is in a state greater
than GST_STATE_READY

API:gst_pad_is_negotiable
API:gst_pad_set_negotiable
API:GST_PAD_NEGOTIABLE

https://bugzilla.gnome.org/show_bug.cgi?id=618644
2010-06-14 17:08:14 +02:00
Mark Nauwelaerts
d5ed339f20 adapter: add extended masked_scan_uint32_peek that also provides matching value
Also add to .def and docs.

Fixes #619828.

API: gst_adapter_masked_scan_uint32_peek
2010-06-14 15:09:38 +02:00
Edward Hervey
32adac81ee gstcaps: New gst_caps_steal_structure() method
This allows removing structures from caps without them being freed. Helpful when
plugins need to move around structures without having to do an expensive structure
copy.

API:gst_caps_steal_structure

https://bugzilla.gnome.org/show_bug.cgi?id=621527
2010-06-14 13:16:18 +02:00
Tim-Philipp Müller
66fc4c8ba2 info: add new TRACE log level and move refcounting there from LOG level
This makes it possible to easily get a *:5 debug log without all
the refcounting noise, and drastically reduces the number of lines
output for a normal log (46m to 28m for a 20min video). The full log
including refcounting information can still be gotten using *:7.

Fixes #620460.
2010-06-05 12:53:15 +01:00
Stefan Kost
29231bb963 design: more planning on lazy caps. 2010-05-22 22:37:38 +03:00
Sebastian Dröge
e35fe4ef9c structure: API: Add gst_structure_fixate_field_string() 2010-05-22 10:01:44 +02:00
Stefan Kost
a2e1c0b994 design: collect ideas for having lazy caps
Design doc for having on the fly evaluated caps (see bug #618853).
2010-05-19 16:24:55 +03:00
Tristan Matthews
b1d6672c28 faq: updated line about jack output 2010-05-10 18:49:49 +01:00
Thiago Santos
d020295ae0 tags: Adds geo location direction tags
Adds 3 new geo location tags involving direction and
movement of capture. Those are:

API: GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
API: GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
API: GST_TAG_GEO_LOCATION_MOVEMENT_SPEED

Fixes #617223
2010-05-03 09:50:09 -03:00
Thiago Santos
2cc0bcb798 tags: Adds GST_TAG_DEVICE_MANUFACTURER and GST_TAG_DEVICE_MODEL
Adds those new tags to describe the device manufacturer and
model used to create medias.

API: GST_TAG_DEVICE_MANUFACTURER
API: GST_TAG_DEVICE_MODEL

Fixes #615941
2010-05-03 09:05:45 -03:00
Tim-Philipp Müller
62a37d79c9 pwg: remove confusing metadata example with 0.8 code
Fixes #534314.
2010-05-02 20:02:40 +01:00
Tim-Philipp Müller
77120a04a5 manual: add minimal tag reading example
Should probably put that into tests/examples and figure out how to
get it included automatically, but can't be bothered right now.
2010-05-02 19:31:20 +01:00
Tim-Philipp Müller
24814d22be Back to development. 2010-04-29 15:53:06 +01:00
Tim-Philipp Müller
4e3266345d Release 0.10.29 2010-04-27 23:42:12 +01:00
Sebastian Dröge
bd38b09366 docs: Consistently use MyFilter instead of sometimes ExampleFilter in the example
Fixes bug #615579.
2010-04-16 20:09:40 +02:00
Tim-Philipp Müller
2e35581939 docs: minor moving-plugins addition 2010-04-12 15:13:57 +01:00
Tim-Philipp Müller
d8ceaa8c87 .gitignore: add new .svg file in docs 2010-04-08 10:10:18 +01:00
Stefan Kost
2f134d0574 docs: add concept map
Add a graphviz dot file. Add rules to render it to svg and include in docs.
Nodes are clickable. It is an attempt to show how things fit together.
2010-04-08 10:30:41 +03:00
Wim Taymans
b181094798 docs: add copy and conv function to buffer2 draft 2010-03-31 16:55:55 +02:00
Wim Taymans
ac2f2c6122 docs: update buffer2 draft 2010-03-31 10:54:55 +02:00
Stefan Kost
92fb25f593 docs: improve communication picture and section
Indicate that only messages go via bus. Also add queries between elements.
2010-03-31 11:32:38 +03:00
Stefan Kost
5799aa28e3 docs: add communication overview to docs
Add a section to the basics that show buffers, events, messages and queries
together and describe the basics.
2010-03-31 10:41:49 +03:00
Tim-Philipp Müller
ba60de2fa0 docs: fix intermittent make distcheck failures
Use .NOTPARALLEL when building docs. This avoids intermittent
make distcheck failures like 'cp: cannot create regular file
`build/image.entities': File exists' when using -jN.

Fixes #590718.
2010-03-25 20:05:01 +00:00
Thiago Santos
e875577b0f tags: Add new _USER_RATING tag
Adds a new tag for user favorite media rating.
User rating informs how much (from 0 to 100) a user
'likes' a media.
Having an percent uint range for this is easy to map into other scales,
like some players that allow users to attribute 'stars' to its
media.

API: GST_TAG_USER_RATING

Fixes #520697
2010-03-24 15:18:53 -03:00
Robert Swain
1a3257132d message: add QoS message to inform apps of lost data
This has been implemented as per part-qos.txt and partially addresses
bug #322947
2010-03-17 19:16:42 +01:00
Wim Taymans
6e7ccbf9ab docs: avoid confusion between events and messages 2010-03-17 15:46:46 +01:00
Wim Taymans
7d99d0eb54 docs: merge QoS message fields
There was already a section about QoS messages that is now merged with the new
information.
2010-03-16 10:41:45 +01:00
Stefan Kost
74ea1b5fcf pwg: mention how to build after using the project stamp 2010-03-16 10:44:01 +02:00
Wim Taymans
03cb74617b docs: update QOS docs to include QOS messages
Add some docs about the values needed for a QoS message and some use
cases.

See #322947
2010-03-15 18:48:14 +01:00
Thiago Santos
f563ac57f8 tags: Adds new geo location tags
Adds new tags GST_TAG_GEO_LOCATION_COUNTRY,
GST_TAG_GEO_LOCATION_CITY and GST_TAG_GEO_LOCATION_SUBLOCATION.

API: GST_TAG_GEO_LOCATION_COUNTRY
API: GST_TAG_GEO_LOCATION_CITY
API: GST_TAG_GEO_LOCATION_SUBLOCATION

Fixes #612410
2010-03-11 15:31:06 -03:00
Benjamin Otte
7e7f51f617 Fixes for -Wmissing-declarations -Wmissing-prototypes
Also adds those flags to the configure warning flags

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-11 10:59:57 +01:00
Benjamin Otte
e8f65e8bff Make code safe for -Wredundant-decls
Adds that warning to configure.ac

Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:45:33 +01:00
Tim-Philipp Müller
b74d73980b Back to development 2010-03-09 17:37:45 +00:00
Tim-Philipp Müller
3d9213ffa2 Release 0.10.28 2010-03-08 23:09:01 +00:00
Tim-Philipp Müller
cebc1a1396 Release 0.10.27 2010-03-05 23:43:26 +00:00
Tim-Philipp Müller
e50b9aa71e bytewriter: fix headers for float/double writing functions
The functions are called gst_byte_writer_put_{float32|float64}_*() and not
gst_byte_writer_put_{float|double}_*().

Spotted by: Benjamin Otte <otte@redhat.com>
2010-03-03 11:28:27 +00:00
Tim-Philipp Müller
0cd4d3087f .gitignore: ignore some more temporary docs cruft 2010-02-18 20:08:39 +00:00
Stefan Kost
a12fc26461 design: write about the current state of tag-handling
Document the taghandling in gstreamer. List gaps and propose new mechanisms to
deal with them.
2010-02-17 09:55:52 +02:00
Thiago Santos
bfff7a1b4e bytewriter: add _fill function
Adds a new function to GstByteWriter that writes
a constant value to a memory area (aka memset).
Useful for adding padding to buffers.

Also updates .def file and docs.

API: gst_byte_writer_fill()
2010-02-12 17:23:29 -03:00
Arun Raghavan
8d1c45f513 pwg: several typo fixes
Fixes #609286.
2010-02-12 11:19:27 +00:00
Tim-Philipp Müller
09af623bf3 docs: flesh out release doc some more 2010-02-12 00:02:16 +00:00
Tim-Philipp Müller
d0ed2b0fd6 Release 0.10.26 2010-02-10 19:17:28 +00:00
Thiago Santos
86a216b1ba gstbytewriter: Fix different function names in .h and .c
gst_byte_writer_reset_and_get_buffer wasn't declared
in .h, instead there was _reset_and_get_data_as_buffer.

Replace it with the real function name, that is smaller
and matches gst_byte_writer_free_and_get_buffer

https://bugzilla.gnome.org/show_bug.cgi?id=608726
2010-02-01 17:47:25 -03:00
Tim-Philipp Müller
1cad4ba379 docs: minor update to release notes 2010-01-26 19:36:41 +00:00
Thiago Santos
69e23983a4 docs: Fix basics-bus docs
Fix wrong information about bus watch functions in the
application development manual.

Fixes #608127
2010-01-26 08:52:16 -03:00
Tim-Philipp Müller
745b35e7d4 docs: minor gtk-doc markup fixes 2010-01-20 01:48:56 +00:00
Wim Taymans
6078dc4931 docs: small docs updates 2010-01-19 16:39:38 +01:00
Tim-Philipp Müller
888844d572 docs: minor release docs update 2010-01-15 00:48:05 +00:00
Tim-Philipp Müller
190c73e9aa faq: remove revision history that no one updates or cares about anyway 2010-01-13 10:17:53 +00:00
Tim-Philipp Müller
92b1df0186 faq: fix link to gst-uninstalled on cgit
Fix link to gst-uninstalled now that it's been moved, and fix a typo
while we're at it. Also add a new section to 'Building GStreamer from
git' that points to the 'How do I develop against an uninstalled copy
of GStreamer' section.
2010-01-13 09:32:59 +00:00
Stefan Kost
8baf6fa494 scripts: move gst-uninstalled from docs/faq to scripts
Don't include the long gst-uninstalled script in verbatim in the faq anymore
(there is a link to cgit). Dist the script under its new location.
2010-01-13 10:31:26 +02:00
Wim Taymans
8fff434835 typefind: add a new method that also uses the file extension
Add a method to perform get_range typefinding that also uses the
uri/location extension as an extra hint. It will first try to call the
typefind functions of the factories that handle the given extension. The result
is that in the common case, we only call one typefind function, which speeds up
the typefinding a lot.
2010-01-12 17:34:39 +01:00
Wim Taymans
068307b70e docs: update QoS documeent
Add some ideas about a new QoS message.

See also #322947
2010-01-11 14:58:11 +01:00
Stefan Kost
045b66caca pwg: remove empty midi section 2010-01-07 17:42:57 +02:00
Tim-Philipp Müller
c6554049de registry: deprecate useless gst_registry_xml_{read|write}_cache()
The only reason these two functions are still around is that at some
point in the past they were in a public header, so we can't really
remove them now even though they should have been private all along
(and aren't really particularly useful). Since these are just empty
stubs now that do nothing but return FALSE and will be removed in
0.11 anyway, we may just as well deprecate them formally.
2010-01-06 19:19:40 +00:00
Wim Taymans
4718b7ef09 collectpads: add ability to install clipping functions
Add a method to install a clipping function that is called when a buffer is
received. Users of collectpads can then perform clipping on the incomming
buffers.

Also retab the header file a little.

See #590265
2009-12-24 15:25:14 +01:00
Wim Taymans
bdaadd4352 docs: add some more buffer2 ideas 2009-12-24 15:13:49 +01:00
Thiago Santos
a3078cf0cd gsttaglist: Adds new tags
Adds the following new tags:
GST_TAG_SHOW_NAME
GST_TAG_SHOW_SORTNAME
GST_TAG_SHOW_EPISODE_NUMBER
GST_TAG_SHOW_SEASON_NUMBER
GST_TAG_LYRICS
GST_TAG_COMPOSER_SORTNAME
GST_TAG_GROUPING

Fixes #599759
2009-12-21 11:58:12 -03:00
Руслан Ижбулатов
dd77e42e91 check: update autotools and docs stuff for new check version 2009-12-19 14:03:42 +00:00
Stefan Kost
f65a81ae6d docs: review and fix spelling 2009-12-14 15:11:14 +02:00
Peter van Hardenberg
bfef4a70bf pwg: make the enum example (based on videotestsrc) actually match videotestsrc 2009-12-04 12:17:07 -08:00
Stefan Kost
8715e3ec36 drafts: planning 2009-12-03 16:06:41 +02:00
Edward Hervey
8f40effea6 gstinfo: API: Add GST_DEBUG_REGISTER_FUNCPTR method.
This is a variant of GST_DEBUG_FUNCPTR which does not return anything.
2009-12-01 17:56:19 +01:00
Wim Taymans
9ea9f9a816 docs: fix another typo 2009-11-28 17:02:17 +01:00
Wim Taymans
c5291d5c21 docs: fix typo 2009-11-28 15:40:30 +01:00
Stefan Kost
efcad155e0 docs: add missing section to libs-docs 2009-11-27 16:39:01 +02:00
Stefan Kost
309187c2ce docs: enable docs for GstObjectClass to fix links 2009-11-27 14:18:38 +02:00
Stefan Kost
1b5391fb47 docs: add docs for GstPluginFlags
This also makes links to them work.
2009-11-27 14:18:38 +02:00
Tim-Philipp Müller
5a1c788d9a docs: improve GstMixer and GstTuner docs
Mention that elements implementing GstMixer and GstTuner need to be
in the right state before they can be used. Also mention GLib
functions for converting filenames to and from URIs.

Fixes #602877.
2009-11-25 15:53:04 +00:00
Wim Taymans
d20b373998 docs: fix grammar 2009-11-23 11:33:48 +01:00
Jan Schmidt
332eb4ea4d basesrc: Add gst_base_src_new_seamless_segment()
Merge new function from resindvd into the primary GstBaseSrc for
starting a new seamless segment.

API: gst_base_src_new_seamless_segment()
2009-11-21 18:23:51 +01:00
Sebastian Dröge
fee1ad3a0a event: API: Add sink-message event
gst_event_new_sink_message()
gst_event_parse_sink_message()

This event is used for sending a GstMessage downstream and synchronized
with the stream, to be posted by the sink once it reaches the sink.

Fixes bug #602275.
2009-11-18 13:12:27 +01:00
Tim-Philipp Müller
3c7c9692ac plugin-scanner: rename plugin-scanner helper binary to gst-plugin-scanner
and install into a different directory $(libexecdir/gstreamer-0.10) so that
everything is versioned properly.

NOTE: run 'make clean' after updating; if you are running an uninstalled setup,
you will need to update your gst-uninstalled script (unless it's symlinked
to gstreamer core master) and exit/enter your uninstalled environment to get
the updated environment. If you are running an installed setup, you should
run 'make uninstall' before merging this change or remove the old
plugin-scanner binary manually.

Fixes #601698.
2009-11-18 09:28:08 +00:00
Tim-Philipp Müller
03d13c2012 gst-uninstalled: add paths for gst-qa-system 2009-11-17 10:02:36 +00:00
Tim-Philipp Müller
a5280fdb6b docs: set GST_PLUGIN_SCANNER when calling gtkdoc-scangobj
Otherwise the docs build won't work properly
2009-11-17 09:09:22 +00:00
Wim Taymans
8c4742866b TODO: remove stepping from TODO
Remove the frame stepping API from the TODO list.
2009-11-16 18:25:45 +01:00
Sebastian Dröge
0ed24bc50e utils: API: Add multiplication and addition functions for fractions
gst_util_fraction_add()
gst_util_fraction_multiply()

These work on plain integers instead of GValues to
keep the overhead as low as possible.
2009-11-16 09:56:32 +01:00
Sebastian Dröge
e4257e8d5f gstutils: API: Add fraction helper functions
gst_util_greatest_common_divisor()
gst_util_double_to_fraction()
gst_util_fraction_to_double()

Using these instead of going over GValue has much lower overhead.

Also add float<->fraction transform functions for GValue.
2009-11-16 09:56:32 +01:00
Sebastian Dröge
039ef83523 registry: API: Add gst_{default,}_registry_get_feature_list_cookie()
This returns the internal feature list cookie, which changes every
time a feature is added or removed. This can be used by elements
to check if they should update their cached feature lists.
2009-11-10 18:17:26 +01:00
Stefan Kost
ab5abab603 planning: add thoughts about foreign registry cache updates 2009-11-09 16:33:05 +02:00
Wim Taymans
2ffbb1a374 docs: don't forget to unref the pad 2009-11-09 12:42:35 +01:00
Stefan Kost
f63ecd04a8 pad: rename new api from _refed to _reffed.
Due to popular demand rename the new api as we still can.
API: gst_pad_get_caps_reffed(), gst_pad_peer_get_caps_reffed()
2009-11-05 12:54:32 +02:00
Sebastian Dröge
f9e3b72ff6 structure: API: Add gst_structure_id_has_field{,_typed} 2009-11-02 09:24:10 +01:00
Sebastian Dröge
9ff8c9a7bb queue2: Add to the docs 2009-10-29 11:41:33 +01:00
Stefan Kost
118509af69 docs: include annotation glossary to have working links. 2009-10-28 10:15:12 +02:00
Wim Taymans
ac1e923617 design: add some ideas for SKIP mode trickmodes 2009-10-27 15:47:39 +01:00
Tim-Philipp Müller
4a9e983f4a docs: add Since tag to docs for new API
And tell gtk-doc that GstRegistryPrivate is private.
2009-10-24 10:31:08 +01:00
Edward Hervey
ebee258806 gstpluginfeature: API : new gst_plugin_feature_list_copy() method
This allows copying AND incrementing the refcount at the same time,
avoiding a double iteratio of the GList
2009-10-24 10:39:30 +02:00
Wim Taymans
c10690aea2 TODO: add item to TODO list
We currently do a little too much work when we push the first buffer around
resulting in excessive caps checking. We can probably make this a little less
expensive.
2009-10-22 16:42:13 -04:00
Benjamin Otte
0ff4086507 Improve caps setters API
This patch adds gst_caps_set_value() and allows gst_caps_set_simple() to
work on non-simple caps. See the API documentation for the functions
about what they do.

The intention of these changes is to ease working with caps in caps
transform functions. An example for this would be ffmpegcolorspace,
where the caps transform function could be changed to look roughly like
this (pseudocode ahead):
  result = gst_caps_copy (template_caps);
  value = gst_structure_get_value (gst_caps_get_structure (caps, 0),
    "widh");
  gst_caps_set_value (result, value);
  /* same for height, framerate and par */
  return caps;
which is much cleaner and easier to understand than the current code.

https://bugzilla.gnome.org/show_bug.cgi?id=597690
2009-10-15 19:10:50 +02:00
Jan Schmidt
aeb3f1f1ff plugin docs: Add GST_PLUGIN_SCANNER env var to the inspect environment 2009-10-08 11:17:14 +01:00
Stefan Kost
fcc5d783df pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941
In most places in core and baseclasses we just need the caps to do caps-
intersections. In that case ref'ed caps are enough (no need to copy).
This patch also switches the code to use the new functions.
API: gst_pad_get_caps_refed(), gst_pad_peer_get_caps_refed()
2009-10-07 22:41:30 +03:00
Sebastian Dröge
def3f57c4f bytewriter: Add to the docs 2009-10-07 18:40:37 +02:00
Stefan Kost
18a903e93d docs: add new queue api to the docs to fix the build 2009-10-07 11:07:24 +03:00
Stefan Kost
cfb4aa4627 build: sprintf, sscanf need stdio.h 2009-10-07 10:59:54 +03:00
Sebastian Dröge
fe83b6fa66 gst-uninstalled: Extend environment variables to allow using an uninstalled gstreamer-sharp 2009-10-07 09:59:32 +02:00
Jan Schmidt
72953ec2bb docs: Update the release script
Remove old cruft from the release script, and change some CVS
references to equivalent git commands
2009-10-06 19:51:45 +01:00
Jan Schmidt
8bf3d8cec2 registry: Support installed/uninstalled plugin-scanner helper
Add a simple version check when starting the plugin-scanner so we can
verify we're talking to one that talks the same language.
First try a plugin-scanner in the installed path, then try one via the
GST_PLUGIN_SCANNER env var if that doesn't work.
Update the uninstalled script.
Install the plugin-scanner to the libexec dir
2009-10-06 19:51:44 +01:00
Jan Schmidt
51675e0c2a registry: Add registry helper phase 1
Phase 1 of adding the registry scan helper
2009-10-06 19:51:42 +01:00
Jan Schmidt
fe5106cee0 Release 0.10.25 2009-10-05 12:57:03 +01:00
Stefan Kost
575e50fbbc design: add ideas for buffer management
Right now we're operating suboptimal when talking to kernel interfaces. Write
doesn some ideas.
2009-09-09 09:43:39 +03:00
Tim-Philipp Müller
4c103b00b5 bytereader: add unchecked and inline versions of the float getters/peekers
API: gst_byte_reader_get_float*_unchecked()
2009-09-06 18:51:18 +01:00
Tim-Philipp Müller
080b2e4fd5 bytereader: add inlined _unchecked() variants for some functions
API: gst_byte_reader_skip_unchecked()
API: gst_byte_reader_peek_*_unchecked()
API: gst_byte_reader_get_*_unchecked()
API: gst_byte_reader_{peek,get,dup}_data_unchecked()
2009-09-06 18:51:13 +01:00
Jan Schmidt
5f8f21cfe5 docs: Add a note about regenerating the changelog in the release script 2009-09-01 12:08:17 +01:00
Sebastian Dröge
b2cab40745 iterator: API: Add gst_iterator_new_single()
This allows "iteration" over a single object of some type,
which happens often for the GstPadIterIntLinksFunction for example.
2009-08-26 16:39:19 +02:00
Tim-Philipp Müller
78ef5ff4c7 docs: add link to cgit tarball download of gst-template in PWG
So people who can't use git for some reason still can get hold
of the code. See #591069.
2009-08-21 10:02:17 +01:00
Sebastian Dröge
9f0e832c6c docs: Don't talk about the deprecated libgnome and GNOME-VFS
Instead talk about GIO and change the option parsing example to
not initialize libgnome but only GTK.

Fixes bug #592233.
2009-08-19 16:24:39 +02:00
Sebastian Dröge
bf8af3f734 docs: Update the design docs for bin state changes according to last commit 2009-08-18 11:38:38 +02:00
Sebastian Dröge
76338950f9 gstutils: Add new scaling functions to the docs 2009-08-13 16:32:28 +02:00
Edward Hervey
adb16ca162 docs: add Edward's git plugin moving howto to moving-plugins document 2009-08-11 02:54:55 +01:00
Tim-Philipp Müller
ecbea36d39 check: use private copy of check for libgstcheck
See #577275. Seems to work fine, but doesn't distcheck yet.
2009-08-06 17:27:12 +01:00
Stefan Kost
568202cb47 caps: add gst_caps_can_intersect()
Often we don't need the result of the intersection. Add a variant that only
tries to intersect. It can break out earlier and does less GValue copying.
API: gst_caps_can_intersect()
2009-08-06 15:30:33 +03:00
Tim-Philipp Müller
19847e1956 gst-uninstalled: rename uninstalled registry file to registry.dat
We're not using the xml registry any longer after all.
2009-08-06 09:21:43 +01:00
Tim-Philipp Müller
0f0d3cb146 gst-uninstalled: refine search paths for uninstalled plugin modules
Use more refined search paths for our plugin modules. Not only does
this make things much faster in an uninstalled setup, it also makes
sure we're not accidentally using out-of-date plugins built ages
ago as part of a (failed) 'make distcheck' when we forget to clean
up the distcheck build directory.
2009-08-06 09:21:33 +01:00
Tim-Philipp Müller
02790ee700 docs: dist GStreamer-1.0 buffer design draft 2009-08-06 09:21:19 +01:00
Sebastian Dröge
ea9e3392c1 taglist: Add new ALBUM_ARTIST tag to the docs 2009-08-06 06:50:41 +02:00
Jan Schmidt
6bba2b6eeb Release 0.10.24 2009-08-05 00:53:17 +01:00
Tim-Philipp Müller
623c19983a check: make new GstStreamConsistency structure private
There's no need to have GstStreamConsistency in a public header for
the time being, so make it private. While we're at it, add a gtk-doc
blurb for it though. Re-fixes #588744.
2009-07-28 15:26:42 +01:00
Edward Hervey
dcdc73d182 gstcheck: Add a stream consistency checking helper routine. Fixes #588744 2009-07-20 10:46:19 +02:00
Edward Hervey
f39cfbebbf docs/design: Update Makefile.am for changed framestep document name. 2009-07-13 09:33:45 +02:00
Wim Taymans
dd670cb5b5 docs: add draft for arbitrary buffer metadata idea 2009-07-10 18:46:39 +01:00
Wim Taymans
8ecbf002b8 docs: more framestep docs out of draft 2009-07-10 18:35:21 +01:00
Wim Taymans
c5c136251b docs: update framestep document
Remove experimental status from the framestep draft.
2009-07-10 18:33:58 +01:00
Stefan Kost
2cb16ad7aa info: allow getting other log categories. Fixes #587417
Add a new macro GST_DEBUG_CATEGORY_GET to get a log category by name. This
allows plugins to use e.g. core categories like PERFORMANCE or CLOCK.
API: GST_DEBUG_CATEGORY_GET
2009-07-06 19:54:30 +01:00
Tim-Philipp Müller
6b64d41937 bytereader: add a bunch of utility functions for strings and a data dup function
API: gst_byte_reader_dup_data
API: gst_byte_reader_dup_string
API: gst_byte_reader_dup_string_utf8
API: gst_byte_reader_dup_string_utf16
API: gst_byte_reader_dup_string_utf32
API: gst_byte_reader_skip_string
API: gst_byte_reader_skip_string_utf8
API: gst_byte_reader_skip_string_utf16
API: gst_byte_reader_skip_string_utf32
API: gst_byte_reader_peek_string
API: gst_byte_reader_peek_string_utf8
API: gst_byte_reader_get_string
API: gst_byte_reader_get_string_utf8

And some basic unit tests. Fixes #586568.
2009-06-23 02:17:48 +01:00
Wim Taymans
6438f6f9b9 bufferlist: Various cleanups
Add new method to iterate a bufferlist without having to allocate an iterator.
Add convenience method for getting an item from the list based on the group and
index.
Remove redundant _do_data callback and method.
Update unit-tests and add some more for the new methods.
2009-06-19 15:31:53 +02:00
Tim-Philipp Müller
dccea0406b taglist: add functions to create a new taglist with tags in one go
Add functions to create a new tag list and set tags in one go, which
is nice for use in combination with functions that take ownership of
the taglist, such as gst_event_new_tag() or gst_element_found_tags().

API: add gst_tag_list_new_full()
API: add gst_tag_list_new_full_valist()
2009-06-14 16:17:50 +01:00
Tim-Philipp Müller
674447fafe bytereader: add gst_byte_reader_masked_scan_uint32()
Add a pattern scan function similar to the one recently added to
GstAdapter, and a unit test (based on the adapter one).
Fixes #585592.

API: add gst_byte_reader_masked_scan_uint32()
2009-06-13 10:53:49 +01:00
Wim Taymans
25067558dc stepping: more stepping improvements
Update design doc with step-start docs.
Add eos field to step done message
when stepping in reverse, update the segment time field.
Flush out the current step when we are flushing.
2009-06-12 13:20:36 +02:00
Wim Taymans
e969b3a399 message: add step-start message 2009-06-12 13:16:29 +02:00
Jan Schmidt
29170a4cfa docs: Bump common, fix the upload logic inclusion
Update the common submodule, and fix the docs upload rules to include
the right makefile snippet from common.
2009-06-11 13:16:29 +01:00
Tim-Philipp Müller
cdd47a37e9 structure: add gst_structure_*_get*() vararg functions
Add a bunch of vararg getter convenience functions to complement
the vararg setter functions, and a basic unit test. Fixes #534208.

API: gst_structure_get()
API: gst_structure_id_get()
API: gst_structure_get_valist()
API: gst_structure_id_get_valist()
2009-06-10 09:39:12 +01:00
Wim Taymans
89c42f8506 stepping: do flushing steps correctly
Note in the docs that a flushing step in PLAYING brings the pipeline to the lost
state and skips the data before prerolling again.

Implement the flushing step correctly by invalidating the current step
operation, which would activate the new step operation.
2009-06-08 17:41:56 +02:00
Stefan Kost
ed88db818b registry: allow plugins to cache extra data in registry. Fixes #570233
Add a GstStructure to GstPlugin. Plugins can retieve it in plugin_init and
access the cached info or build the cache and store it there.
2009-06-07 23:48:59 +03:00
Wim Taymans
0e74bfe248 segment: add gst_segment_set_running_time
Added new method for closing the segment to a specific running time.

API: GstSegment::gst_segment_set_running_time()
2009-06-04 12:53:20 +02:00
Tim-Philipp Müller
604097bc3a API: add GST_MESSAGE_SRC_NAME macro
Add GST_MESSAGE_SRC_NAME macro that always returns a non-NULL string.
Useful for debugging and logging purposes.
2009-06-04 00:40:51 +01:00
Wim Taymans
92984a116b segment: add method for converting to position
Add gst_segment_to_position() that converts a running_time to a position in the
segment. A faulty variant of this function is currently used in inputselector
but we'll need it for frame stepping too.

API: GstSegment::gst_segment_to_position()
2009-06-03 19:06:30 +02:00
Tim-Philipp Müller
df851d54ef docs: fix up reference to gst-launch-0.8
Also mention decodebin2, uridecodebin, and playbin2
2009-06-03 09:49:59 +01:00
Wim Taymans
0c205b96b4 framestep: implement backwards framestep
Update framestep document, we want to pass the flush flag in the step-done
message.

Add flush flag to the gstmessage.

Update examples to use the new step-done message api.

Implement framestep with playback rates < 0.0 too.
2009-06-01 13:37:28 +02:00
Wim Taymans
386c516e51 add new API for framestepping
Add new STEP event and methods for creating/parsing the event
Update design docs.
Add new STEP_DONE message and method to create/parse.

API: GstEvent::gst_event_new_step()
API: GstEvent::gst_event_parse_step()
API: GstMessage::gst_message_new_step_done()
API: GstMessage::gst_message_parse_step_done()
2009-06-01 13:36:49 +02:00
Tim-Philipp Müller
c8acbbfde0 structure: add gst_structure_id_new() convenience function
Add convenience wrapper for gst_structure_id_empty_new() plus
gst_structure_id_set() and use it in a few places.

API: gst_structure_id_new()
2009-05-29 19:28:10 +01:00
Wim Taymans
170b9d6253 docs: remove a TODO item that is fixed now 2009-05-29 12:48:28 +02:00
Wim Taymans
83b2c63a30 element: add start_time field an methods
Add a start_time field and some methods. The start_time will contain the
running_time of when the element last went to paused. This time can be user to
report the position in PAUSED but also to do more correct clipping and
stepping later.
2009-05-29 11:55:38 +02:00
Wim Taymans
8f7c59936e pad: add pad private structure
Add pad private structure and move the new chainlistfunc into the private
struct. This avoids ABI breakage and allows us to expand in the future.
2009-05-28 16:36:32 +02:00
Sebastian Dröge
4e8f547f98 API: Add gst_message_{new,parse}_tag_full() to get/set the source pad
Fixes bug #582588.
2009-05-27 14:32:51 +02:00
Tim-Philipp Müller
7a265c1451 manuals.mak: attempt to make 'make distcheck' work with -jN
Attempt to fix the 'cannot create regular file build/image.entitites:
file exists' error I got.
2009-05-26 10:38:56 +01:00
Wim Taymans
6fd78ac41c docs: add Image to draft klass documentation 2009-05-25 14:53:08 +02:00
Wim Taymans
13c4a06e03 docs: add new symbol to docs 2009-05-20 00:44:11 +02:00
Wim Taymans
bb8f296d45 clock: use seqlocks to parallellize readers 2009-05-15 16:14:52 +02:00
Edward Hervey
4f951e2614 Makefile.am: update for added/moved/removed files that weren't dist-ed. 2009-05-15 11:00:53 +02:00
Jan Schmidt
b99d1f382a docs: Release script modifications 2009-05-14 22:56:43 +01:00
Wim Taymans
e535c171d6 docs: rename and delete some design docs 2009-05-14 12:31:57 +02:00
Wim Taymans
ae08561ae6 element: add gst_element_lost_state_full()
Add a gst_element_lost_state_full() with an extra argument to control
distribution of a new base_time. We will need this for flushing step
operations.

API: GstElement::gst_element_lost_state_full()
2009-05-14 11:36:28 +02:00
Wim Taymans
0f83510620 docs: update trickmode document 2009-05-13 23:38:08 +02:00
Wim Taymans
bb013081a4 adapter: move new member to private struct
Move the new members to a private struct because we don't have enough padding
anymore on 32-bits platforms.
2009-05-13 21:35:23 +02:00
Wim Taymans
3d19b75147 adapter: add method to keep track of timestamps
Keep track of the timestamp and offset associated with the current head of the
adapter.

API: GstAdapter::gst_adapter_prev_timestamp()
2009-05-13 16:22:58 +02:00
Wim Taymans
079c68fdf4 docs: add some docs about buffer lists 2009-05-12 17:29:15 +02:00
Jonas Holmberg
22a48fb08c bufferlist: hook up the pad functions
Reuse buffer code for bufferlists. Not sure if this measurably impacts performance
for the simple buffer case, if it does after doing some benchmarks, we can
decouple it later.

Fixes #572285
2009-05-12 15:18:53 +02:00
Jonas Holmberg
d99cf4db1b bufferlist: add docs/build/debug/unittest
See #572285
2009-05-12 15:18:52 +02:00
José Alburquerque
7ff2f9233f API: Add gst_plugin_register_static_full()
This is mainly useful for bindings that need to provide
some additional user data to the registration function.

Fixes bug #545787.
2009-05-12 09:02:45 +02:00