Wim Taymans
77569e0a9a
pad: pass the context around
...
Pass the context from srcpad to sinkpad before dataflow when something
changed.
2011-05-05 13:17:08 +02:00
Wim Taymans
f16180a761
pad: update the context lazyly
2011-05-05 13:17:08 +02:00
Wim Taymans
e72d062b33
gst: init the GType early
2011-05-05 13:17:08 +02:00
Wim Taymans
ebf615a9e9
defs: update defs
2011-05-05 13:17:08 +02:00
Wim Taymans
08dbe37f6f
context: add foreach function
...
Add a function to iterate over all stored events.
2011-05-05 13:17:08 +02:00
Wim Taymans
c4751ec8c1
Revert "context: use context on buffers instead of caps"
...
This reverts commit 9ef1346b1f
.
Way to much for one commit and I'm not sure we want to get rid of the pad caps
just like that. It's nice to have the buffer and its type in onw nice bundle
without having to drag the complete context with it.
2011-05-05 13:17:08 +02:00
Miguel Angel Cabrera Moya
419f48d0d1
parse: don't unescape inside quotes
...
Escaped characters inside quoted strings are supposed to be unescaped by
deserialization functions, not by parsing functions.
https://bugzilla.gnome.org/show_bug.cgi?id=648025
2011-05-05 12:30:05 +02:00
Sebastian Dröge
e22f5d8a68
bin: Only post EOS messages after reaching the PLAYING state
...
Fixes bug #647756 .
2011-05-05 12:30:05 +02:00
Sebastian Dröge
c6e9ce64ae
pad: Remove unnecessary FIXME
...
Resetting the result is not necessary when resyncing because
pads that previously got the event will be skipped and we
need to consider the results of the previous pushes.
2011-05-05 12:30:05 +02:00
Sebastian Dröge
5a6ef6408f
element: If activating one pad failed error out early instead of trying to activate the next pads
...
If one pad fails to activate the complete activation process will fail
anyway and trying to activate the other pads only wastes time.
2011-05-05 12:30:05 +02:00
Sebastian Dröge
5c84883f2e
bin: If activating one pad failed error out early instead of trying to activate the next pads
...
If one pad fails to activate the complete activation process will fail
anyway and trying to activate the other pads only wastes time.
2011-05-05 12:30:05 +02:00
Sebastian Dröge
de5ce36dd1
basetransform: Remove nowadays unused and uninitialized setcaps variable
2011-05-05 12:28:02 +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
9ef1346b1f
context: use context on buffers instead of caps
...
Put the srcpad context on buffers instead of caps. This allows us to associate
all the relevant info contained in events with a buffer.
2011-05-04 18:59:47 +02:00
Tim-Philipp Müller
d72f559d29
tests: fix compiler warning in new miniobject test
...
gst/gstminiobject.c: In function ‘test_dup_null_mini_object’:
gst/gstminiobject.c:459:7: warning: assignment from incompatible pointer type
2011-05-04 15:30:41 +01:00
Wim Taymans
9136abf623
pad: use the context to store sticky events
...
Store the sticky events in the context of a source pad.
2011-05-04 15:53:21 +02:00
Wim Taymans
0fee137dbc
context: add helper object to manage events
...
Add a helper object to manage the events that define the context of a buffer and
a stream.
2011-05-04 15:20:10 +02:00
Wim Taymans
7d3fabc521
defs: update defs
2011-05-04 11:07:19 +02:00
Wim Taymans
6cfd9d57e2
event: add new CAPS event
...
Add a new CAPS event that will be used to negotiate downstream elements. It'll
also stick on pad so that we can remove the GstCaps field on pads and the
GstCaps field on buffers.
2011-05-04 11:03:05 +02:00
Wim Taymans
bc9cffda90
pad: more sticky events work
...
Copy the sticky events from the srcpad to the sinkpad when linking pads. Set the
STICKY_PENDING flag to make sure that the sticky events are dispatched before
pushing the next buffer to the element.
2011-05-03 18:58:18 +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
Thiago Santos
a750aac2dd
miniobject: Fix dup_mini_object function to handle NULL gvalues
...
g_value_dup_object handles gvalues that contain NULL pointers,
gst_value_dup_mini_object should do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=649195
2011-05-03 08:15:51 -03:00
Stefan Kost
511f556915
docs: it its %TRUE (constant)
...
As spotted by Tim.
2011-05-03 14:01:57 +03:00
Stefan Kost
58fc672362
docs: fix copy'n'paste doc header mistake
2011-05-03 13:03:21 +03:00
Stefan Kost
c45ff2b12a
docs: add two trivial doc blobs
2011-05-03 13:03:21 +03:00
Stefan Kost
217b209aba
docs: add missing parameter docs
2011-05-03 13:03:21 +03:00
Stefan Kost
59670baf8e
docs: add docs for GstDPPacketizer
2011-05-03 13:03:20 +03:00
Stefan Kost
319eef8aa9
docs: improve the syntax for the capsintersectmode docs
2011-05-03 13:03:20 +03:00
Stefan Kost
41754faaaf
docs: fixup broken xref
2011-05-03 13:03:20 +03:00
Stefan Kost
eaebf37c00
docs: add new api to -section.txt
2011-05-03 13:03:20 +03:00
Stefan Kost
a482babf55
docs: fix gtk-doc syntax
2011-05-03 13:03:20 +03:00
Stefan Kost
801d89e26f
docs: don't duplicate info that we take from element-details
2011-05-03 13:03:20 +03:00
Stefan Kost
4699cafe90
docs: remove non existing symbol
2011-05-03 13:03:20 +03:00
Stefan Kost
81c32bc56e
docs: we don't need to document private members in opaque structs
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
Wim Taymans
2243adffa1
event: add sticky flags to events
...
Add the sticky flag to events and a sticky index.
Keep sticky events in an array on each pad.
Remove GST_EVENT_SRC(), it is causing refcycles with sticky events, was not used
and is not very interesting anyway.
2011-05-02 18:34:18 +02:00
Wim Taymans
9d80fbac23
query: improve allocation parameters query
...
Use the same parameters as those used for the bufferpool. Make sure we can pass
a minimum and maximum amount of buffers needed.
2011-05-02 11:09:52 +02:00
Tim-Philipp Müller
11ac49e6c4
0.10.32.4 pre-release
2011-04-30 16:55:36 +01:00
Tim-Philipp Müller
1ebff8a510
pluginfeature: include plugin.h in header where we use a GstPlugin pointer
...
Should fix issue with gstreamermm build where <gst/gstindex.h> is included
directly instead of gst/gst.h.
2011-04-29 23:44:55 +01:00
Wim Taymans
baebf253ad
transform: do pad_alloc fallback correctly
2011-04-29 13:42:57 +02:00
Wim Taymans
6ab7e6c15d
Remove pad_alloc, this can now be done better
...
Remove pad_alloc and all references. This can now be done more efficiently and
more flexible with the ALLOCATION query and the bufferpool objects. There is no
reverse negotiation yet but that will be done with an event later.
2011-04-29 13:26:19 +02:00
Wim Taymans
ed1862269a
query: init the ALLOCATION query correctly
...
Don't add the 'pool' property instead of adding it with a NULL array.
2011-04-29 12:11:56 +02:00
Wim Taymans
ccfaa53fb2
query: fix parsing of the ALLOCATION query
...
Add methods for parsing the caps and the need_pool boolean.
2011-04-29 10:50:17 +02:00
Wim Taymans
6ea2e71c48
query: fix typo in method name and improve docs
...
Fixed typo in method name and add/improve the docs.
2011-04-28 16:20:22 +02: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
7c8405fa28
bus: fix timeout handling
2011-04-27 18:10:55 +02:00
Wim Taymans
442193f3f3
bufferpool: fix some docs
2011-04-27 17:56:12 +02:00
Wim Taymans
a61e0e5bde
event: improve argument names of segments
2011-04-27 17:55:20 +02:00