Commit graph

6444 commits

Author SHA1 Message Date
Sebastian Dröge 0d2adf5a18 pad: Don't forward the allocation query by default
This has to be handled explicitely by elements to
make sure that they support all the metas passed
in the allocation query.
Metas have to supported explicitely, otherwise the
query will fail. All elements in a chain need to
support a specific meta to allow its usage.
2012-01-18 11:39:29 +01:00
Tim-Philipp Müller 10d901291e gst: suppress some more deprecated thread api until we fix it up
Which should be soon, since we already depend on an unstable glib for -base.
2012-01-18 01:31:56 +00:00
Wim Taymans c96d5a330c memory: make writability check into a method
Use a method to check for writability instead of a macro so that we can change
the implementation more easily.
2012-01-16 15:57:35 +01:00
Wim Taymans 0ca5115722 buffer: improve docs 2012-01-16 12:24:20 +01:00
Tim-Philipp Müller 66d19b65fb Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	tools/gst-inspect.c
2012-01-13 00:22:03 +00:00
Tim-Philipp Müller c721d53773 Remove GST_TYPE_DATE, our own GDate type
Which we had to add because GLib didn't have it
back in the day. Port everything to plain old
G_TYPE_DATE, which is also a boxed type. Ideally
we'd just use GDateTime for everything, but it
doesn't support not setting some of the fields
unfortuntely (which would be very useful for
tag handling in general, if we could express
2012-01 for example).

https://bugzilla.gnome.org/show_bug.cgi?id=666351
2012-01-12 20:50:53 +00:00
Vincent Penquerc'h 98c99630ad gststructure: clarify _get docs about the returned reference
https://bugzilla.gnome.org/show_bug.cgi?id=667689
2012-01-11 12:23:25 +00:00
Sebastian Dröge 148bf27ce3 Merge branch 'master' into 0.11 2012-01-10 13:00:07 +01:00
Christian Fredrik Kalager Schaller 2fb5f4a9ef Also add headerfile 2012-01-09 15:59:42 +00:00
Christian Fredrik Kalager Schaller 9fd4970089 Fix dotfile API to be exported since macros can't be GI bound 2012-01-09 15:59:42 +00:00
Matej Knopp 9092fb87f0 Fix printf format build warnings 2012-01-09 13:15:34 +00:00
Edward Hervey 77506a82b0 gstvalue: Allow NULL dest when subtracting bitmask
Happens when checking for subsets of caps
2012-01-06 15:01:24 +01:00
Wim Taymans ad9450e1c0 buffer: ensure writable memory in memset 2012-01-06 13:32:55 +01:00
Wim Taymans 80f4716a61 memory: check semantics of nested mappings
Count how many mappings are currently active and also with what access pattern.
Update the design doc with restrictions on the access patterns for nested
mappings.
Check if nested mappings obey the access mode restrictions of the design doc.
Add various unit tests to check the desired behaviour.
2012-01-06 13:10:18 +01:00
Wim Taymans 220b324d24 docs: improve memory docs 2012-01-06 10:39:46 +01:00
Wim Taymans 960c580ae2 memory: handle -1 size in unmap
handle -1 in unmap correctly when the offset is modified.
2012-01-06 07:02:36 +01:00
Wim Taymans e4a58ec71e memory: improve semantics of unmap
Make an unmap call with a different data pointer than the map call update the
offset field. This allows for both offset and size adjustements in the unmap
call.
2012-01-06 06:43:08 +01:00
Wim Taymans d483ff2db5 memory: add more checks
Add check for mapping and resizing
2012-01-05 18:15:20 +01:00
Wim Taymans 6e0024e76e memory: take offset into account
Take the offset into account whem mapping and unmapping the buffer.
2012-01-05 17:28:28 +01:00
Wim Taymans 8658b2fd68 tests: add unit test for GstMemory
Add a GstMemory unit test
Add some more asserts in GstMemory to catch invalid cases.
2012-01-05 13:11:05 +01:00
Sebastian Dröge 33f53d46ab structure: Add "bitmask" as alias for (GstBitmask) when (de-)serializing values 2012-01-05 10:24:14 +01:00
Sebastian Dröge 4294b88e35 value: Add 64-bit bitmask type 2012-01-05 10:24:14 +01:00
Tim-Philipp Müller 1aec7a3d72 gst: include locale.h before any other i18n headers
This is also how we do it in -base.

https://bugzilla.gnome.org/show_bug.cgi?id=667290
2012-01-05 00:32:42 +00:00
Idar Tollefsen c8c961ac81 gstconfig.h: adds and uses SunPro visibility attribute for proper function exports
Define GST_EXPORT for SunPro.

https://bugzilla.gnome.org/show_bug.cgi?id=667289
2012-01-05 00:08:19 +00:00
Idar Tollefsen f0e121c197 poll: include correct poll.h based on autoconf test
https://bugzilla.gnome.org/show_bug.cgi?id=667286
2012-01-04 23:47:46 +00:00
Wim Taymans f9e7dad47a buffer: only reserve 6 extra flags
Only reserve 6 extra flags instead of 10 so that more media specific flags
are available.
2012-01-04 10:04:11 +01:00
Wim Taymans bc1974e962 GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2012-01-03 15:25:31 +01:00
Wim Taymans e0c610f635 compat: restore UNEXPECTED 2012-01-03 15:05:47 +01:00
Wim Taymans 6ac2371910 docs: fix some docs 2012-01-03 15:03:38 +01:00
Wim Taymans 9c312fce48 taglist: avoid exposing the lists in tags 2012-01-03 14:43:05 +01:00
Wim Taymans 713696d0c0 taglist: add missing functions
Add missing and essential functions now that we can't directly use GstStructure
methods on the taglist anymore.
2012-01-03 13:42:12 +01:00
Wim Taymans 07952da04d value: add macro to check if a gvalue holds a sample 2012-01-03 10:42:31 +01:00
Tim-Philipp Müller 8ff3102116 registry: get rid of gst_default_registry_*() convenience macros
They're not really worth it: hardly save any typing, and aren't
great for bindings or gobject-introspection.
2012-01-02 02:32:49 +00:00
Tim-Philipp Müller ed80a5cd4b registry: rename gst_registry_get_default() to gst_registry_get()
It's not really a default if there is only one that can't be changed.

Should we return a ref like e.g. g_volume_monitor_get() does?
2012-01-02 02:22:51 +00:00
Tim-Philipp Müller 2836cbee94 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst/gsttaglist.c
	plugins/elements/gstoutputselector.c
2012-01-02 02:21:40 +00:00
Tim-Philipp Müller cb23beda4f tags: add GST_TAG_LANGUAGE_NAME
API: GST_TAG_LANGUAGE_NAME
2012-01-02 00:17:17 +00:00
Stefan Sauer 62a0d9dc39 controller: support control mapping for enums
Add a mapping for enum types (supporting sparse enums). Add a test.
2012-01-01 20:55:20 +01:00
Stefan Sauer 9dea3e37b1 controller: add more debug logging 2012-01-01 16:08:01 +01:00
Stefan Sauer 545c6c19a3 controller: remove obsolete FIXME comment 2011-12-31 15:26:26 +01:00
Stefan Sauer fcef8d8046 control-sources: turn into GstObjects
This is a preparation for chaining them.
2011-12-31 09:57:49 +01:00
Tim-Philipp Müller 7f1103544d registry: remove padding and signal vfuncs
And fix signal GTypes and marshaller. No one will ever
need to subclass our registry, so just remove the padding
and the signal vfuncs.
2011-12-30 19:37:31 +00:00
Tim-Philipp Müller 3e1c2f7f05 element: add LARGE padding to class structure
Four slots for expansion is not a lot.
2011-12-30 18:32:58 +00:00
Tim-Philipp Müller be04f3945c index: remove GstIndex and GstIndexFactory for now
There are many good use cases for GstIndex and we want
to add it back again in some form, but possibly not with
the current API, which is very powerful (maybe too powerful),
but also a bit confusing. At the very least we'd need to
make the API bindings-friendly.
2011-12-30 18:32:57 +00:00
Stefan Sauer 7d6e165007 gst: unref the two cotnroller types in _deinit() 2011-12-30 17:57:41 +01:00
Tim-Philipp Müller 8f7df5abac math-compat: move static variable for NAN into #ifndef NAN block
And use G_GNUC_UNUSED instead of __attribute_used__
2011-12-30 12:59:46 +00:00
Stefan Sauer eba636cc83 controller: use NAN instead of FP_NAN (which is the class)
Also add a fallback define to math-compat.h.
Fixes #666887
2011-12-30 13:33:48 +01:00
Edward Hervey e136cc334f Merge remote-tracking branch 'origin/master' into 0.11 2011-12-29 16:49:39 +01:00
Wim Taymans aca4fabfad gst: deinit meta flags too 2011-12-28 14:51:50 +01:00
Edward Hervey a51c408161 gst: Initialize new GstMetaFlags in init_post() 2011-12-28 12:25:59 +01:00
Edward Hervey 2f82c74e68 gstquery: Small doc fixups 2011-12-28 12:02:55 +01:00