Commit graph

13269 commits

Author SHA1 Message Date
Wim Taymans
16d9a9efbe memory: add memory type
Add memory type when registering memory allocators. Add getter for the memory
type.
2012-01-30 16:13:31 +01:00
Olivier Crête
dad60ef5c6 valve: Repush sticky events after disabling dropping 2012-01-30 12:58:43 +00:00
Wim Taymans
f8c6cd196e memory: add boxed GType for the allocator 2012-01-30 13:28:34 +01:00
Wim Taymans
af2fc026fc memory: make the allocator refcounted
Add refcounting to the GstAllocator object.
Remove const from functions because the allocator is refcounted now.
Rename the vmethods for consistency
Expose the constructor for GstAllocator and add a destroy notify for the
user_data. This should make it possible to create allocators that are not
registered and shared globally along with the possibility to destroy them
properly.
Update defs with new symbols.
2012-01-30 13:20:36 +01:00
Wim Taymans
d9577f2696 defs: update for gap event 2012-01-30 13:20:36 +01:00
Philippe Normand
bd9d196700 core: don't ship gsttrace.h private header
Include it explicitely in gst.c and no longer include it in gst.h.
That header was made private in 1969b94267.
2012-01-30 10:15:33 +01:00
Tim-Philipp Müller
51f6f5addf event: require a valid duration for the GAP event 2012-01-28 18:50:23 +00:00
Tim-Philipp Müller
e115c28ae4 gst: ref new enum type in gst_init() 2012-01-28 18:49:44 +00:00
Tim-Philipp Müller
783a9d61b9 docs: add some (out) annotations for stream config parser functions 2012-01-28 18:10:30 +00:00
Tim-Philipp Müller
068d9ecf5a event: add constructor and parse function for new GAP event
(Whatever you do, don't mention the filler event.)
2012-01-28 18:09:01 +00:00
Tim-Philipp Müller
0b5734557e docs: GST_EVENT_STREAM_CONFIG is implemented now 2012-01-28 18:09:00 +00:00
Tim-Philipp Müller
b203753ed6 docs: mention codec data / stream header change in porting docs 2012-01-28 18:09:00 +00:00
Olivier Crête
e234a10c63 Use macros to register boxed types thread safely 2012-01-28 16:42:38 +00:00
Olivier Crête
8f8335a7f4 check: Update gst_check_element_push_buffer to 0.11 style caps
Pass the desired caps explicitely
2012-01-28 16:42:38 +00:00
Sebastian Dröge
4e108ee92a gst-inspect: Fix memory leak 2012-01-27 19:00:03 +01:00
Sebastian Dröge
a602d5b3e4 gst-inspect: Don't unref plugin features multiple times
gst_plugin_feature_list_free() unrefs them too.
2012-01-27 18:54:24 +01:00
Tim-Philipp Müller
6ba3e11c90 docs: add new stream config functions to docs 2012-01-27 17:50:50 +00:00
Tim-Philipp Müller
d50ecdd9d5 tests: fix simple-launch-lines compilation
Don't use removed API.
2012-01-27 17:50:50 +00:00
Sebastian Dröge
705d17c8a8 segment: Add padding to the public struct 2012-01-27 18:47:13 +01:00
Tim-Philipp Müller
f1f11098fe gst: don't ref GType for private enum for which there's no GType any more 2012-01-27 17:45:39 +00:00
Tim-Philipp Müller
84fe5f3147 win32: update .def for new and removed API 2012-01-27 17:45:15 +00:00
Tim-Philipp Müller
75e17f0002 event: add construct and parse API for the new STREAM CONFIG event
codec data and stream headers don't belong into caps, since they
are not negotiated. We signal them using the STREAM CONFIG event
instead.
2012-01-27 17:42:07 +00:00
Wim Taymans
1969b94267 trace: remove from public headers 2012-01-27 18:27:16 +01:00
Andoni Morales Alastruey
ded0ea049e caps: fix documenation typo 2012-01-27 18:14:50 +01:00
Wim Taymans
321ee10bd6 trace: rework alloc tracing
Remove trace, we use debug log for that
Make alloc trace simpler, removing some methods.
Activate alloc trace with a GST_TRACE=3 environment variable.
Dump leaked objects atexit.
Provide an offset in the object where the GType can be found so that more
verbose info can be given for objects.
Remove -T option from gst-launch because tracing is now triggered with the
environment variable.
2012-01-27 17:54:43 +01:00
Vincent Penquerc'h
27ac781ba6 typefind: answer caps queries with our typefound caps
This avoids merely forwarding the event to the sink, and getting
something useless such as ANY.

https://bugzilla.gnome.org/show_bug.cgi?id=667571
2012-01-27 16:44:35 +01:00
Sebastian Dröge
bf0964b63a typefind: Do typefinding from a separate thread and not from the state change function 2012-01-27 16:19:33 +01:00
Wim Taymans
fe9e284463 queue2: fix memory leak
unmap the buffer memory on errors.
2012-01-27 15:33:48 +01:00
Wim Taymans
166f6e1cc5 trace: make alloc trace work for miniobject again 2012-01-27 15:33:48 +01:00
Sebastian Dröge
753a1125dd Merge branch 'master' into 0.11
Conflicts:
	libs/gst/base/gstcollectpads2.c
	libs/gst/base/gstcollectpads2.h
2012-01-27 15:09:35 +01:00
Sebastian Dröge
9945b2cd88 collectpads2: Move private fields from the public structs to private structs
Fixes bug #668764.
2012-01-27 15:03:46 +01:00
Stefan Sauer
7e77b105e0 controller: no fancy utf8 chars in the gi annotations 2012-01-27 13:07:27 +01:00
Wim Taymans
21455d35b1 tests: fix some more leaks 2012-01-27 12:52:01 +01:00
Sebastian Dröge
eba7fed1d3 queue2: Fix handling of the new stream-start event 2012-01-27 12:33:56 +01:00
Vincent Penquerc'h
68a091303f gstplugin: add a few consts to read only data 2012-01-27 11:32:12 +00:00
Stefan Sauer
fc886e03b6 controller: add gi annotations 2012-01-27 12:23:16 +01:00
Sebastian Dröge
c5b7e7903e utils: Fix unit test 2012-01-27 12:14:50 +01:00
Wim Taymans
9676e141ce tests: fix leaks 2012-01-27 12:10:09 +01:00
Wim Taymans
2ed36d91a6 memory: avoid memory leak
Unref the old memory in make_mapped.
Add some debug info
2012-01-27 11:41:33 +01:00
Wim Taymans
ae12e4f645 basetransform: avoid caps leak 2012-01-27 11:41:33 +01:00
Sebastian Dröge
23ff3a8f53 identity/fake{src,sink}: Include event type name in the debug output 2012-01-27 11:01:27 +01:00
Sebastian Dröge
ad28f9fb68 event: Mark the new GAP event as non-sticky 2012-01-27 10:56:52 +01:00
Sebastian Dröge
34b01da26c collectpads2: Drop the stream-start and stream-config events by default 2012-01-27 10:46:02 +01:00
Sebastian Dröge
f5545e3323 event rebase 2012-01-27 10:42:09 +01:00
Sebastian Dröge
0d4081fbbb basesrc: Send the stream-start event as first event ever 2012-01-27 10:41:07 +01:00
Sebastian Dröge
9318934cf0 event: Add constructor and docs for the new STREAM_START event 2012-01-27 10:30:43 +01:00
Wim Taymans
2a8c98fe23 pad: add user data to chain functions 2012-01-26 19:28:46 +01:00
Wim Taymans
e122bae3ad basetransform: fix typo 2012-01-26 19:28:46 +01:00
Vincent Penquerc'h
9152c01fcf taglist: restore date/time type to GstDateTime
The change to GDateTime was apparently accidental, and
breaks plugins trying to feed a GstDateTime to the taglist APi.
2012-01-26 18:23:46 +00:00
Peteris Krisjanis
42a6e487c8 gst: gst_parse_launch now returns a floating reference 2012-01-26 18:55:30 +01:00