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
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
Tim-Philipp Müller
5842e3fc38
elementfactory: move private functions for registry to private header
2011-10-29 19:59:05 +01:00
René Stadler
c7fba914a0
basetransform: fix invalid access to unreffed allocation query
2011-10-28 21:42:10 +02:00
Wim Taymans
66e4966aee
buffer: fix docs some more
2011-10-28 16:45:23 +02:00
Wim Taymans
5e8cf7fee7
Merge branch 'master' into 0.11
...
Conflicts:
libs/gst/base/gstbasetransform.c
2011-10-28 16:27:43 +02:00
Wim Taymans
6da5841d0a
tests: fix segment check
2011-10-28 16:23:49 +02:00
Wim Taymans
a70934e4ef
segment: remove GST_SEEK_TYPE_CUR
2011-10-28 16:23:49 +02:00
Wim Taymans
8b6431a4de
buffer: improve docs
2011-10-28 16:23:49 +02:00
Sebastian Dröge
5385f27594
bytewriter: Add padding
2011-10-28 13:02:26 +02:00
Sebastian Dröge
1cb711c1ae
bitreader: Add padding
2011-10-28 13:02:19 +02:00
Sebastian Dröge
e3d4875af5
bytereader: Add padding
2011-10-28 13:02:10 +02:00
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
011a8d3901
defs: update for new api
2011-10-28 12:27:43 +02:00
Wim Taymans
04d5233287
check: also debug the DTS
2011-10-28 12:26:28 +02:00
Wim Taymans
a495701900
adapter: use pts/dts on buffers
2011-10-28 12:26:28 +02:00
Wim Taymans
0941cc9fb8
compat: add timestamp compat defines
2011-10-28 12:26:27 +02:00
Wim Taymans
80fc568747
buffer: add pts/dts to buffers
2011-10-28 12:15:44 +02:00
Sjoerd Simons
1aa5b76a6f
basetransform: Also fush the cache when changing the upstream caps suggestion
2011-10-28 11:53:32 +02:00
Sjoerd Simons
383d637f85
basetransform: Add debug output when returning a cached transform
2011-10-28 11:50:23 +02:00
Wim Taymans
b8e1506b08
Merge branch 'master' into 0.11
2011-10-28 11:33:44 +02:00
Wim Taymans
f2102d386f
coolectpads2: port to 0.11
2011-10-28 11:30:57 +02:00
Wim Taymans
d110c4db31
Merge branch 'master' into 0.11
2011-10-28 11:13:55 +02:00
Sebastian Dröge
1eb3380973
collectpads2: Fix refcount handling if a buffer was dropped due to clipping
2011-10-28 10:54:19 +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
415f3dd808
collectpads2: Merge clipping API from old collectpads
2011-10-28 10:38:24 +02:00
Tim-Philipp Müller
ab2d45283e
basesink: make default query function name show up in gst-inspect
2011-10-28 09:28:14 +01:00
Mark Nauwelaerts
ce88f417b1
collectpads2: avoid hanging in case of sparse newsegment events
...
... in the extent that a non-waiting pad (so indicated by newsegment)
turns out to provide the best buffer, which is then forced to waiting
for book-keeping purposes, but that should only be temporary.
See bug #415754 .
2011-10-28 09:39:00 +02:00
Sebastian Dröge
2a13275985
collectpads2: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-10-28 09:38:35 +02:00
Sebastian Dröge
1b1b7931b0
collectpads2: Add to the documentation
2011-10-28 09:36:12 +02:00
Sebastian Dröge
5b12790c26
win32: Add new collectpads2 API
2011-10-28 09:36:12 +02:00
Sebastian Dröge
6f231f89d6
base: Add collectpads2
...
This handles muxing of sparse/subtitle streams and has
lots of cleanup. Still missing is special support for
live streams but this can be added later without breaking
API/ABI.
Based on the version from the videomixer plugin.
https://bugzilla.gnome.org/show_bug.cgi?id=415754
2011-10-28 09:36:06 +02:00
Wim Taymans
021f09d622
tests: fix compilation
2011-10-27 17:09:51 +02:00
Wim Taymans
967bacb742
defs: update
2011-10-27 17:09:34 +02:00
Wim Taymans
d9c8ab67a0
caps: add empty_simple variants
2011-10-27 17:09:04 +02:00
Wim Taymans
4a189f80a5
tests: fix compilation
2011-10-27 16:51:43 +02:00
Johan Boulé
3406549cf6
caps: use G_GNUC_NULL_TERMINATED for gst_caps_new_simple() and gst_caps_new_full()
...
If you get warnings, use gst_caps_new_empty().
https://bugzilla.gnome.org/show_bug.cgi?id=343346
2011-10-27 14:56:24 +01:00
Wim Taymans
852851edab
Merge branch 'master' into 0.11
...
Conflicts:
libs/gst/base/gstbasetransform.c
2011-10-27 15:27:19 +02:00
Tim-Philipp Müller
c00c8903ca
structure: use G_GNUC_NULL_TERMINATED for gst_structure_new()
...
If you get a warning, use gst_structure_empty_new().
https://bugzilla.gnome.org/show_bug.cgi?id=343346
2011-10-27 13:25:08 +01:00
Jan Schmidt
9a5109b86e
basetransform: Fix refcount leak
...
Don't leak peercaps and a ref to the basetransform when returning
the cached caps.
2011-10-27 23:08:14 +11:00
Stefan Sauer
03797b9a12
controller: fix wrong order of calls in the docs.
2011-10-27 10:38:10 +02:00
Stefan Sauer
b7ae6c46a3
event: clarify docs for step event
2011-10-26 12:24:29 +02:00