Commit graph

13056 commits

Author SHA1 Message Date
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
Wim Taymans
ad659abe8e check: add macro to check for memory refcount 2012-01-05 13:09:29 +01:00
Wim Taymans
e97ecdebea improve docs a little 2012-01-05 12:39:17 +01:00
Sebastian Dröge
da81ada9d0 value: Add tests for the bitmask type 2012-01-05 10:24:14 +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
abb23ce709 Automatic update of common submodule
From a62f3d4 to 0807187
2012-01-04 19:50:01 +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
6b9d34b926 defs: update 2012-01-03 14:45:08 +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
Wim Taymans
5b3fcd2fe2 docs: fix build of docs examples
Update for registry method rename
2012-01-02 15:47:46 +01:00
Wim Taymans
9540014d2e baseparse: turn assert into a real error
Post a real error instead of just asserting.
2012-01-02 15:42:46 +01:00
Wim Taymans
63d95063a7 basesrc: handle latency event 2012-01-02 15:42:46 +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
5668654ed5 docs: update controller design doc 2012-01-01 20:59:22 +01:00
Stefan Sauer
33e381743b controller: rename some tests 2012-01-01 20:57:34 +01: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
3a08d90ec7 controller: remove nonsense parts from test object property descriptions 2012-01-01 20:43:51 +01:00
Stefan Sauer
3ebd639d34 interpolationcontrolsource: fix cubic interpolation for arrays 2012-01-01 18:54:23 +01:00
Stefan Sauer
3ba0ab5331 audio-example: also plot reverse-saw 2012-01-01 18:50:55 +01:00
Stefan Sauer
e87d563cac lfocontrolsource: cleanups and fix triangle calculations 2012-01-01 18:43:23 +01:00
Stefan Sauer
35b817ad48 audio-example: fix the example
We need to scale the frequency values.
2012-01-01 18:34:12 +01:00
Stefan Sauer
9a7e45596e lfocontrolsource: make chainable
Now the properties of this controlsource are in turn controlable. Add an example
to show the usage.
2012-01-01 16:08:01 +01:00
Stefan Sauer
757822a906 controller: add logging and fix array functions 2012-01-01 16:08:01 +01:00
Stefan Sauer
44de1ed5f1 controller: cleanup the tests 2012-01-01 16:08:01 +01:00
Stefan Sauer
9dea3e37b1 controller: add more debug logging 2012-01-01 16:08:01 +01:00
David Schleef
3664bfd367 convert Makefile spaces to tabs 2011-12-31 17:38:15 -08:00
Stefan Sauer
886a43988f controller: also test array functions
Improve the example to also collect value arrays and plot them.
2011-12-31 15:52:18 +01:00
Stefan Sauer
545c6c19a3 controller: remove obsolete FIXME comment 2011-12-31 15:26:26 +01:00
Stefan Sauer
dce3dcee35 controller: fix tests
Set a defined value to check for no-change.
2011-12-31 09:57:49 +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
65975daec9 tests: disable GstIndex unit test 2011-12-30 18:32:59 +00:00
Tim-Philipp Müller
c61b2ade7b index: rename GstAssocFlags to GstIndexAssociationFlags
Just in case we resurrect this later.
2011-12-30 18:32:59 +00:00
Tim-Philipp Müller
3f11fc0514 base: disable unused index API and make functions static
It's simply private helper API for now, until someone
fixes up GstBaseParse not to need it any more.
2011-12-30 18:32:58 +00:00
Tim-Philipp Müller
e0270aa901 win32: remove index API from .def file 2011-12-30 18:32:58 +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
Stefan Sauer
db807d9890 controller: add more tests to core controller suite
Extend the dummy control-source to allow testing the sync code path. Add test
for 1:1 and 2:1 value <-> control-source sync.
2011-12-30 17:53:23 +01:00
Stefan Sauer
b0b6bea3dc controller: add a test for bindings control sources multiple times 2011-12-30 17:53:23 +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