Sebastian Dröge
a7b96d0503
caps: Fix compiler warning
2012-01-26 14:57:14 +01:00
Sebastian Dröge
28f5b86637
caps: Use correct size for caps allocation
2012-01-26 14:55:30 +01:00
Sebastian Dröge
b4066a6c95
caps: Make GstCaps public struct more opaque by moving the private pointer into the implementation
2012-01-26 14:45:30 +01:00
Sebastian Dröge
5d1d7d95b2
caps: Store a pointer to GstCaps in GstStaticCaps
...
...instead of using hackish subclass of GstCaps, which also
had some thread-safety problems.
2012-01-26 14:37:02 +01:00
Wim Taymans
dc4d96d54c
event: remove the sticky event index
...
We don't use the sticky event index anymore, ordering of the events are how they
were sent initially.
Add some more padding between the event numbers so that we can insert new events
later.
2012-01-26 13:24:44 +01:00
Tim-Philipp Müller
ca697b61f3
docs: remove collectpads from docs, fix build
2012-01-26 10:48:51 +00:00
Tim-Philipp Müller
78ccf77fa3
bufferpool: use GstValueArray instead of GValueArray for storing options in the config
...
Since GValueArray is deprecated. It's all only internal anywhere here,
but if we use GstValueArray the option strings get serialized nicely
in the debug logs at least.
2012-01-26 10:44:11 +00:00
Tim-Philipp Müller
70d3e5b13f
tools: gst-inspect: suppress deprecation warnings for G_TYPE_VALUE_ARRAY
...
For now anyway.
2012-01-26 10:44:11 +00:00
Sebastian Dröge
b9e199798e
collectpads2: Unit test is valgrind clean now
2012-01-26 11:42:29 +01:00
Sebastian Dröge
ded86f716d
collectpads2: Fix unit test to actually work again
2012-01-26 11:40:53 +01:00
Sebastian Dröge
0ff349fb38
collectpads2: Port collectpads unit test to collectpads2
...
Currently fails but really shouldn't.
2012-01-26 11:39:22 +01:00
Wim Taymans
3844f80266
pad: add probe id to the info
2012-01-26 11:04:01 +01:00
Sebastian Dröge
b6d11d844e
collectpads: Remove old collectpads
...
Still have to rename collectpads2 to collectpads before the 1.0 release.
2012-01-26 10:48:56 +01:00
Sebastian Dröge
de576f8163
collectpads2: Don't forward CAPS event automatically
2012-01-26 10:45:45 +01:00
Sebastian Dröge
6b9280b18c
collectpads2: Fix handling of the event function and document it
...
The event function is supposed to forward/drop the event in any case
now and takes ownership of the event.
2012-01-26 10:45:45 +01:00
Jason DeRose
b8f5d7a39f
gst_pad_template_new() now returns a floating reference
2012-01-25 18:51:44 +01:00
Peteris Krisjanis
a8e9ed82d9
gst_pipeline_new now returns a floating reference.
2012-01-25 18:51:42 +01:00
Peteris Krisjanis
f09b23ee07
gst: gst_parse_bin_from_description returns a new reference
2012-01-25 16:46:40 +01:00
Tim-Philipp Müller
1d3d1a6e03
query: use GArray for internal arrays instead of the now-deprecated GValueArray
2012-01-25 15:15:57 +00:00
Peteris Krisjanis
02f721f7ea
gst: Changed introspection transfer flag to (transfer floating)
...
for gst_pad_new, gst_ghost_pad_new and gst_bin_new constuctors. Fixes
segfaults due of transfer full and floating ref problem.
2012-01-25 15:05:21 +01:00
Thomas Vander Stichele
c3a9671125
Automatic update of common submodule
...
From c463bc0 to 7fda524
2012-01-25 13:46:13 +01:00
Wim Taymans
9c9848e952
memory: add flags to the mapinfo
2012-01-25 11:54:23 +01:00
Wim Taymans
203dd6fbe1
memory: make guint8 * for easy usage
2012-01-25 11:54:23 +01:00
Wim Taymans
93074b899c
memory: add method to create mapped memory
...
Add a method to create a GstMemory with the desired mapping. Makes a copy of the
memory if it is currently in use.
2012-01-25 11:54:23 +01:00
Wim Taymans
a521252845
Add new GstMapInfo
...
Use a structure to hold info about the mapping. The application then keeps track
of this state and we can use it to unmap the memory again later.
2012-01-25 11:54:23 +01:00
Edward Hervey
ea7c1225c1
controlbindings: name is not a const
...
It gets modified during the life of the object. Fixes build.
2012-01-25 11:50:49 +01:00
Sebastian Dröge
35ea12eeea
Merge branch 'master' into 0.11
2012-01-25 11:43:13 +01:00
Sebastian Dröge
8d21d0c95d
Automatic update of common submodule
...
From 2a59016 to c463bc0
2012-01-25 11:37:40 +01:00
Stefan Sauer
660d9c071a
controller: cleanup the control-binding construction
...
This is now bindings firendly as _new is just a classic c convenience and all
the work is done in a constructor. As a side effect _new never fails.
Fix the tests.
2012-01-24 21:57:44 +01:00
Vincent Penquerc'h
fc1fab8a15
gstvalue: handle NULL dest in bitmask/bitmask intersection
2012-01-24 14:40:33 +00:00
Vincent Penquerc'h
982ff80c38
tests: add basic tests for new stepped ranges
...
https://bugzilla.gnome.org/show_bug.cgi?id=665294
2012-01-24 12:11:44 +00:00
Vincent Penquerc'h
39533f4364
gstvalue: add stepped ranges
...
int and int64 ranges can now have an optional step (defaulting to 1).
Members of the range are those values within the min and max bounds
which are a multiple of this step.
https://bugzilla.gnome.org/show_bug.cgi?id=665294
2012-01-24 12:11:44 +00:00
Vincent Penquerc'h
7319b52a2e
gstutils: add a 64 bit version of GCD calculation
...
https://bugzilla.gnome.org/show_bug.cgi?id=665294
2012-01-24 12:11:44 +00:00
Vincent Penquerc'h
b6abb9794c
gstvalue: enforce identical basic types in lists, arrays
...
https://bugzilla.gnome.org/show_bug.cgi?id=322587
2012-01-24 12:11:44 +00:00
Tim-Philipp Müller
c22bd7393a
benchmarks: add missing include
2012-01-23 10:32:01 +00:00
Stefan Sauer
4453c2cebe
object: register all properties in one go
2012-01-23 11:03:43 +01:00
Stefan Sauer
55eea8f780
docs: update controller api design
2012-01-23 11:03:43 +01:00
Stefan Sauer
b23977cb93
controller: allow different controlbindings
...
Make controlbinding an abstract baseclass. Move implementation to control-
binding-direct and add a control-binding-argb. Add an example.
2012-01-23 11:03:43 +01:00
Tim-Philipp Müller
2c8c44976f
Replace deprecated GStaticMutex with GMutex
...
https://bugzilla.gnome.org/show_bug.cgi?id=662207
2012-01-22 22:44:59 +00:00
Tim-Philipp Müller
8c832a5e45
tools: fix typo in gst-inspect debug message
2012-01-22 15:23:13 +00:00
Tim-Philipp Müller
1654b7f1d7
Use GLib's type for GError instead of our own
...
We introduced our own when GLib didn't want to add a GType
for GError. But now that there is one, we can use GLib's
unconditionally and remove our version.
2012-01-22 15:16:14 +00:00
Tim-Philipp Müller
58a4d806d1
multiqueue: fix size of atomic counter
2012-01-22 01:27:42 +00:00
Tim-Philipp Müller
13d91d1f6c
Use recent GLib API unconditionally now that we depend on the latest GLib
2012-01-22 01:25:22 +00:00
Tim-Philipp Müller
612abd89dd
trace: don't use deprecated GStaticMutex API in (still) public header
2012-01-22 00:42:34 +00:00
Tim-Philipp Müller
e1dbab9bea
scripts: set GI_TYPELIB_PATH in gst-uninstalled
...
So pygi finds/uses the local g-i files.
2012-01-21 13:17:57 +00:00
Vincent Penquerc'h
28d5e81503
libcheck: make the definition of fail not fail with non GCC compilers
2012-01-20 18:06:04 +00:00
Stefan Sauer
dd9f0481ea
controller: improve control binding handling
...
Change _set_control_binding to _add_control_binding and take ownership. Add a
_remove_control_binding function.
2012-01-20 14:42:31 +01:00
Stefan Sauer
c227d51fa9
controller: remove convenience api for control sources
...
This is needed to support multiple kinds of control-bindings.
2012-01-20 11:31:23 +01:00
Wim Taymans
c6ac51e729
basesrc: handle NULL from getcaps
...
If the getcaps functions returns NULL, return FALSE from the CAPS query.
2012-01-19 15:17:58 +01:00
Wim Taymans
acf0d50bf1
basesink: handle lists correctly
2012-01-19 15:17:33 +01:00