Wim Taymans
a38c8b759c
bin: fix the iterator copy
2011-11-04 19:17:06 +01:00
Wim Taymans
c2c9776027
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstbin.c
2011-11-04 19:11:19 +01:00
Wim Taymans
a8cc106ba8
tests: fix tests
...
Since blocks are not on both directions, we need to check in the block callback
if we are not blocking on an upstream event and let it pass.
2011-11-04 18:47:10 +01:00
Wim Taymans
b6fbeb8fed
pad: make probes work on all pads
...
fixes #644907
2011-11-04 18:19:14 +01:00
Peteris Krisjanis
795e836ce3
introspection: add Value annotations for GST_SECOND, GST_MSECOND, GST_USECOND, GST_NSECOND constants
...
gobject-introspection won't parse them properly otherwise.
Still need to force the right type though (either GstClockTime or
guint64), but Type: xyz has no effect for me here, so someone with
a newer g-i needs to test this.
Some other defines are also missing, e.g. GST_CLOCK_TIME_NONE.
2011-11-04 00:19:56 +00:00
Tim-Philipp Müller
84e10969f4
configure: suppress unused variable warnings if gst debugging is disabled
...
https://bugzilla.gnome.org/show_bug.cgi?id=662952
2011-11-04 00:03:05 +00:00
Tim-Philipp Müller
1fa23148fa
configure: fix typo around GLIB_EXTRA_CFLAGS in GST_ALL_CXXFLAGS
2011-11-04 00:02:07 +00:00
Tim-Philipp Müller
2f8ac67726
queue: use statically allocated GQueue
2011-11-03 23:08:52 +00:00
Tim-Philipp Müller
d2c713a9b5
bin: use statically allocated GQueue
...
Because we can.
2011-11-03 22:58:50 +00:00
Tim-Philipp Müller
2a4fca230f
collectpads2: use flags enum instead of guint in structure
2011-11-03 22:51:57 +00:00
Tim-Philipp Müller
cc279e6bdd
queue2: use statically allocated GQueue
2011-11-03 22:41:13 +00:00
Wim Taymans
d169fa8728
fix request pad
...
Make all request pads take _%u in the template.
Fix up unit tests.
2011-11-03 17:49:45 +01:00
Wim Taymans
555d7f384f
def: update defs
2011-11-03 16:49:48 +01:00
Wim Taymans
80dd206216
net: add net address metadata
2011-11-03 16:46:35 +01:00
Wim Taymans
af69a0f296
nettime: clean up header
2011-11-03 14:26:12 +01:00
Wim Taymans
2cb971589d
task: don't use lock/unlock_full
2011-11-03 14:14:54 +01:00
Wim Taymans
a1d82bec39
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstghostpad.c
2011-11-03 11:30:52 +01:00
Wim Taymans
e91b1ee412
pad: small cleanup
2011-11-03 11:15:11 +01:00
Nicolas Dufresne
391568efde
ghostpad: Don't cache internal proxy pad target
...
The internal proxy pad target is simply a cache of the internal proxy pad
peer. This patch uses the well implement GstPad peer handling to obtain the
target. This fixes issues with target not being set in both direction when
two ghostpads are linked together (empty bin).
https://bugzilla.gnome.org/show_bug.cgi?id=658517
2011-11-03 09:27:00 +01:00
Wim Taymans
6c627481b3
utils: remove _found_tags_ API
...
remove gst_element_found_tags() and gst_element_found_tags_for_pad(), they are
nothing more than a wrapper around gst_pad_push_event()
2011-11-02 12:06:47 +01:00
Wim Taymans
f1b07c580e
Merge branch 'master' into 0.11
...
Conflicts:
common
configure.ac
2011-11-02 10:29:04 +01:00
Wim Taymans
289d2d62ba
buffer: improve docs
2011-11-02 08:59:44 +01:00
Wim Taymans
7f6495d713
event: make GstSegment argument const
2011-11-02 08:59:44 +01:00
Wim Taymans
fff13f6f64
docs: remove metatiming from docs
2011-11-02 08:59:44 +01:00
Wim Taymans
d9dc9f9d52
task: api cleanup
...
gst_task_create() -> gst_task_new()
2011-11-02 08:59:44 +01:00
Wim Taymans
e4725d9df2
structure: cleanup API
...
gst_structure_empty_new() -> gst_structure_new_empty()
gst_structure_id_empty_new() -> gst_structure_new_id_empty()
gst_structure_id_new() -> gst_structure_new_id()
2011-11-02 08:59:44 +01:00
Wim Taymans
89fd4ded72
meta: remove timing metadata
...
This is now on buffers by default
2011-11-02 08:59:43 +01:00
Wim Taymans
88e12228cf
bufferlist: clean up API
...
gst_buffer_list_len() -> gst_buffer_list_length()
gst_buffer_list_sized_new() -> gst_buffer_list_new_sized()
2011-11-02 08:59:43 +01:00
Tim-Philipp Müller
cf69ce1df6
adapter: simplify gst_adapter_take_list()
...
Use a stack-allocated GQueue to assemble our GList.
2011-11-01 14:17:21 +00:00
Tim-Philipp Müller
2e29d8fc06
docs: mention GstActivateMode rename in porting doc
2011-11-01 10:57:34 +00:00
Tim-Philipp Müller
4f004eff38
pad: rename GstActivateMode to GstPadActivateMode
...
These might be useful:
sed -i -e 's/GstActivateMode/GstPadActivateMode/g' `git grep GstActivateMode | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_ACTIVATE_/GST_PAD_ACTIVATE_/g' `git grep GST_ACTIVATE_ | sed -e 's/:.*//' | sort -u`
2011-11-01 00:25:02 +00:00
Tim-Philipp Müller
bffc9207b5
pad: rename GstProbeType and GstProbeReturn to GstPadProbe{Type,Return}
...
Better now than later in the cycle. These might come in handy:
sed -i -e 's/GstProbeReturn/GstPadProbeReturn/g' `git grep GstProbeReturn | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_PROBE_/GST_PAD_PROBE_/g' `git grep GST_PROBE_ | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GstProbeType/GstPadProbeType/g' `git grep GstProbeType | sed -e 's/:.*//' | sort -u`
2011-11-01 00:15:17 +00:00
Tim-Philipp Müller
f19b7d1125
taglist: remove gst_tag_list_get_*long*()
...
No one uses this or should ever need to use it, since
the size is architecture-specific anyway. If normal
integers don't do, one should use 64-bit integers.
2011-10-31 23:32:17 +00:00
Tim-Philipp Müller
160ee2af3d
Update .def file for removed/changed API
2011-10-31 19:05:19 +00:00
René Stadler
de58242760
basetransform: fix crash/warning in find_transform when pad is unlinked
...
Looks like the revert conflict in commit a44271 was resolved incorrectly.
2011-10-31 19:27:07 +01:00
Tim-Philipp Müller
bb2020b1e7
configure: make GLIB_EXTRA_CFLAGS overwritable
...
Make 'make GLIB_EXTRA_CFLAGS=...' work.
2011-10-31 17:45:44 +00:00
Tim-Philipp Müller
221c9423d3
filter: remove gst_filter_run() and deprecated filter func
...
If someone wants to resurrect this, please use a less
generic name space for it.
2011-10-31 14:16:05 +00:00
Tim-Philipp Müller
cfff518cee
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst/gstpluginfeature.c
2011-10-31 14:03:15 +00:00
Tim-Philipp Müller
4e7944b0b9
taglist: rename _new() to _new_empty() and new_full*() to new*()
2011-10-30 22:24:25 +00:00
Tim-Philipp Müller
d9f95e8920
filter: deprecate gst_filter_run()
...
It's not really used outside of core at all, and has
serious namespace issues. If anyone feels the need to
revive this one, please use a less generic name space.
API: deprecate gst_filter_run()
API: deprecate GstFilterFunc
2011-10-30 21:55:05 +00:00
Tim-Philipp Müller
8008837986
registry: don't use soon-to-be-deprecated gst_filter_run()
...
Lines-of-code savings are negligible anyway.
2011-10-30 21:47:39 +00:00
Tim-Philipp Müller
19b4c9c793
pluginfeature: deprecate gst_plugin_feature_type_name_filter()
...
It's only used internally anyway and the helper struct
has namespace issues.
API: deprecated gst_plugin_feature_type_name_filter()
API: deprecated GstTypeNameData
2011-10-30 21:47:26 +00:00
Tim-Philipp Müller
dc7ec44486
taglist: make opaque
...
Hide the fact that it's just a GstStructure from the API. We
may want to change this in future (e.g. to add refcounting).
Also, it caused problems for bindings (though that's mostly
the way we typedefed it to GstStructure).
2011-10-30 10:14:15 +00:00
Tim-Philipp Müller
3a4f580bb2
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-30 10:00:28 +00:00
Tim-Philipp Müller
606c53fc94
taglist: add to_string and new_from_string functions
...
We want to make GstTagList opaque and not have people use
GstStructure API on it.
API: gst_tag_list_to_string()
API: gst_tag_list_new_from_string()
2011-10-30 09:58:16 +00:00
Tim-Philipp Müller
002446820e
Merge remote-tracking branch 'origin/master' into 0.11
2011-10-30 09:31:39 +00:00
Tim-Philipp Müller
911c078c2b
taglist: avoid pointless tag name -> quark lookups
...
We never get a tag name quark from a caller, it's always a
string, from which we'll try to look up our tag info in the
hash table, so change the hash table key from quark to string.
Avoids a bunch of pointless string => quark lookup in the
global quark table. We need to do an extra string => quark
conversion now when we copy a taglist, but in that case we're
in a slow path anyway.
2011-10-30 09:26:52 +00:00
Tim-Philipp Müller
cdade325ae
taglist: add gst_tag_list_is_equal()
...
API: gst_tag_list_is_equal()
2011-10-30 01:44:00 +01:00
Tim-Philipp Müller
bc1a37e64f
structure: identical structures are definitely equal
2011-10-29 23:52:22 +01:00
Tim-Philipp Müller
948980bf11
taglist: fix string for GST_TAG_ARTIST_SORTNAME
...
For historical reasons it was mapped to a musicbrainz prefix,
but it's not really musicbrainz-specific at all.
2011-10-29 20:06:54 +01:00