Jason DeRose [Wed, 25 Jan 2012 17:36:42 +0000 (18:36 +0100)]
gst_pad_template_new() now returns a floating reference
Peteris Krisjanis [Wed, 25 Jan 2012 17:41:03 +0000 (19:41 +0200)]
gst_pipeline_new now returns a floating reference.
Peteris Krisjanis [Wed, 25 Jan 2012 15:27:40 +0000 (17:27 +0200)]
gst: gst_parse_bin_from_description returns a new reference
Tim-Philipp Müller [Wed, 25 Jan 2012 15:14:17 +0000 (15:14 +0000)]
query: use GArray for internal arrays instead of the now-deprecated GValueArray
Peteris Krisjanis [Wed, 25 Jan 2012 14:01:02 +0000 (16:01 +0200)]
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.
Thomas Vander Stichele [Wed, 25 Jan 2012 12:46:13 +0000 (13:46 +0100)]
Automatic update of common submodule
From c463bc0 to 7fda524
Wim Taymans [Tue, 24 Jan 2012 13:37:25 +0000 (14:37 +0100)]
memory: add flags to the mapinfo
Wim Taymans [Fri, 20 Jan 2012 15:10:26 +0000 (16:10 +0100)]
memory: make guint8 * for easy usage
Wim Taymans [Fri, 20 Jan 2012 13:56:49 +0000 (14:56 +0100)]
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.
Wim Taymans [Fri, 20 Jan 2012 13:23:57 +0000 (14:23 +0100)]
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.
Edward Hervey [Wed, 25 Jan 2012 10:49:50 +0000 (11:49 +0100)]
controlbindings: name is not a const
It gets modified during the life of the object. Fixes build.
Sebastian Dröge [Wed, 25 Jan 2012 10:43:13 +0000 (11:43 +0100)]
Merge branch 'master' into 0.11
Sebastian Dröge [Wed, 25 Jan 2012 10:37:40 +0000 (11:37 +0100)]
Automatic update of common submodule
From 2a59016 to c463bc0
Stefan Sauer [Tue, 24 Jan 2012 20:53:14 +0000 (21:53 +0100)]
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.
Vincent Penquerc'h [Tue, 24 Jan 2012 14:40:33 +0000 (14:40 +0000)]
gstvalue: handle NULL dest in bitmask/bitmask intersection
Vincent Penquerc'h [Thu, 1 Dec 2011 12:43:03 +0000 (12:43 +0000)]
tests: add basic tests for new stepped ranges
https://bugzilla.gnome.org/show_bug.cgi?id=665294
Vincent Penquerc'h [Wed, 30 Nov 2011 14:45:12 +0000 (14:45 +0000)]
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
Vincent Penquerc'h [Wed, 30 Nov 2011 17:58:07 +0000 (17:58 +0000)]
gstutils: add a 64 bit version of GCD calculation
https://bugzilla.gnome.org/show_bug.cgi?id=665294
Vincent Penquerc'h [Fri, 4 Nov 2011 18:26:15 +0000 (18:26 +0000)]
gstvalue: enforce identical basic types in lists, arrays
https://bugzilla.gnome.org/show_bug.cgi?id=322587
Tim-Philipp Müller [Mon, 23 Jan 2012 10:32:01 +0000 (10:32 +0000)]
benchmarks: add missing include
Stefan Sauer [Mon, 23 Jan 2012 10:03:09 +0000 (11:03 +0100)]
object: register all properties in one go
Stefan Sauer [Mon, 23 Jan 2012 10:02:45 +0000 (11:02 +0100)]
docs: update controller api design
Stefan Sauer [Sat, 21 Jan 2012 19:03:52 +0000 (20:03 +0100)]
controller: allow different controlbindings
Make controlbinding an abstract baseclass. Move implementation to control-
binding-direct and add a control-binding-argb. Add an example.
Tim-Philipp Müller [Sun, 22 Jan 2012 22:44:59 +0000 (22:44 +0000)]
Replace deprecated GStaticMutex with GMutex
https://bugzilla.gnome.org/show_bug.cgi?id=662207
Tim-Philipp Müller [Sun, 22 Jan 2012 15:23:13 +0000 (15:23 +0000)]
tools: fix typo in gst-inspect debug message
Tim-Philipp Müller [Sun, 22 Jan 2012 01:39:49 +0000 (01:39 +0000)]
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.
Tim-Philipp Müller [Sun, 22 Jan 2012 01:27:42 +0000 (01:27 +0000)]
multiqueue: fix size of atomic counter
Tim-Philipp Müller [Sun, 22 Jan 2012 01:25:22 +0000 (01:25 +0000)]
Use recent GLib API unconditionally now that we depend on the latest GLib
Tim-Philipp Müller [Sun, 22 Jan 2012 00:42:34 +0000 (00:42 +0000)]
trace: don't use deprecated GStaticMutex API in (still) public header
Tim-Philipp Müller [Sat, 21 Jan 2012 12:56:50 +0000 (12:56 +0000)]
scripts: set GI_TYPELIB_PATH in gst-uninstalled
So pygi finds/uses the local g-i files.
Vincent Penquerc'h [Fri, 20 Jan 2012 18:06:04 +0000 (18:06 +0000)]
libcheck: make the definition of fail not fail with non GCC compilers
Stefan Sauer [Fri, 20 Jan 2012 13:42:31 +0000 (14:42 +0100)]
controller: improve control binding handling
Change _set_control_binding to _add_control_binding and take ownership. Add a
_remove_control_binding function.
Stefan Sauer [Fri, 20 Jan 2012 07:27:57 +0000 (08:27 +0100)]
controller: remove convenience api for control sources
This is needed to support multiple kinds of control-bindings.
Wim Taymans [Thu, 19 Jan 2012 14:17:58 +0000 (15:17 +0100)]
basesrc: handle NULL from getcaps
If the getcaps functions returns NULL, return FALSE from the CAPS query.
Wim Taymans [Thu, 19 Jan 2012 14:17:33 +0000 (15:17 +0100)]
basesink: handle lists correctly
Colin Walters [Tue, 17 Jan 2012 21:23:33 +0000 (16:23 -0500)]
build: add --disable-fatal-warnings configure option
It's reasonable to build from git, but not want to turn all compiler
warnings into fatal errors. For example, GNOME's jhbuild helps people
get newer versions of software than came from their distribution, but
they may not necessarily want to hack on it.
Mark Nauwelaerts [Thu, 19 Jan 2012 11:57:48 +0000 (12:57 +0100)]
tests: clockstress: perform sanity check on thread number argument
Wim Taymans [Thu, 19 Jan 2012 08:12:05 +0000 (09:12 +0100)]
memory improvements
Make the memory object simply manage the data pointer and the maxsize and move
the offset and size handling to common functionality.
Use the READONLY flag to set a readonly lock.
Remove the data and size fields from the unmap method. We need an explicit
resize operation instead of using the unmap function.
Make internal helper lock and unlock functions.
Update unit test and users of the old API.
Tim-Philipp Müller [Thu, 19 Jan 2012 11:43:53 +0000 (11:43 +0000)]
docs: fix typo in bus docs
Matej Knopp [Fri, 13 Jan 2012 22:45:17 +0000 (17:45 -0500)]
.gitignore: add visual studio IDE files and OS X .DS_Store files
https://bugzilla.gnome.org/show_bug.cgi?id=667899
Wim Taymans [Thu, 19 Jan 2012 08:27:04 +0000 (09:27 +0100)]
Update for new gthread API
Sebastian Dröge [Wed, 18 Jan 2012 15:52:55 +0000 (16:52 +0100)]
configure.ac: GIO check is now in gst-glib2.m4
Sebastian Dröge [Wed, 18 Jan 2012 15:45:51 +0000 (16:45 +0100)]
Automatic update of common submodule
From 0807187 to 2a59016
Sebastian Dröge [Wed, 18 Jan 2012 15:14:51 +0000 (16:14 +0100)]
configure.ac: Require GLib 2.31.10 and improve GIO check
Sebastian Dröge [Wed, 18 Jan 2012 11:07:46 +0000 (12:07 +0100)]
basetransform: Always call ::propose_allocation vfunc
And only forward the allocation query if we're working in
passthrough mode if no ::propose_allocation is implemented.
In place buffer transformations will change the buffer
content and require explicit handling of all metas.
Sebastian Dröge [Wed, 18 Jan 2012 10:37:57 +0000 (11:37 +0100)]
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.
Tim-Philipp Müller [Wed, 18 Jan 2012 01:31:56 +0000 (01:31 +0000)]
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.
Tim-Philipp Müller [Wed, 18 Jan 2012 01:18:33 +0000 (01:18 +0000)]
win32: update .def files for api changes
Tim-Philipp Müller [Tue, 17 Jan 2012 23:57:44 +0000 (23:57 +0000)]
configure: remove --disable-net option and always build libgstnet
It should work everywhere now, and -base and -good depend on
the GstNetMeta API.
Tim-Philipp Müller [Tue, 17 Jan 2012 23:52:07 +0000 (23:52 +0000)]
configure: remove some socket cruft
Tim-Philipp Müller [Wed, 5 May 2010 15:33:51 +0000 (16:33 +0100)]
net: port to use gio's networking API
Some warts still, but it's a start.
Sebastian Dröge [Tue, 17 Jan 2012 15:50:13 +0000 (16:50 +0100)]
net: Add GIO to the gi-scanner packages
Sebastian Dröge [Mon, 16 Jan 2012 12:34:28 +0000 (13:34 +0100)]
netaddressmeta: Use GSocketAddress instead of our own wrapper type
Wim Taymans [Mon, 16 Jan 2012 14:57:35 +0000 (15:57 +0100)]
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.
Wim Taymans [Mon, 16 Jan 2012 11:24:48 +0000 (12:24 +0100)]
tests: improve memory test
Wim Taymans [Mon, 16 Jan 2012 11:24:20 +0000 (12:24 +0100)]
buffer: improve docs
Mark Nauwelaerts [Wed, 11 Jan 2012 09:59:53 +0000 (10:59 +0100)]
adapter: ensure automagic _unmap in some more cases
Vincent Penquerc'h [Tue, 15 Nov 2011 17:42:56 +0000 (17:42 +0000)]
adapter: automatically unmap on clearing
When _clear gets called between _map and _unmap, buffers
will be unreffed. If the adapter was mapped, memory leaks
may occur.
While calling _clear between _map and _unmap does not seem
like such a great idea, this is possible in the audio
encoder base class, as _clear may be called in _finish_frame.
Since the audio encoder relies on flushing to keep track of
timestamps, delaying flushing till after handle_frame seems
dangerous.
So, we unmap on clear, as the next unmap will do nothing.
This makes _clear safe to call between _map and _unmap,
while avoiding leaking the mapped buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=664133
Mark Nauwelaerts [Fri, 13 Jan 2012 13:20:33 +0000 (14:20 +0100)]
basesrc: prevent unlikely caps leak
Vincent Penquerc'h [Fri, 13 Jan 2012 10:43:12 +0000 (10:43 +0000)]
gst-inspect: plug factory leak on error
Tim-Philipp Müller [Fri, 13 Jan 2012 00:22:03 +0000 (00:22 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
tools/gst-inspect.c
Tim-Philipp Müller [Thu, 12 Jan 2012 20:46:27 +0000 (20:46 +0000)]
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
Antoine Tremblay [Thu, 12 Jan 2012 19:53:11 +0000 (19:53 +0000)]
baseparse: clear adapter in reset so baseparse is reusable
GstBaseParse was not clearing its adapter on reset causing
problems when a pipeline went for example from PLAYING to NULL
state and then back to PLAYING again. The data from the last
stream would be used in the parser.
https://bugzilla.gnome.org/show_bug.cgi?id=667444
Vincent Penquerc'h [Thu, 12 Jan 2012 15:50:53 +0000 (15:50 +0000)]
gstinspect: fix features and list leaks
Edward Hervey [Thu, 12 Jan 2012 10:03:10 +0000 (11:03 +0100)]
win32: add new API to .def file
Vincent Penquerc'h [Wed, 11 Jan 2012 12:19:20 +0000 (12:19 +0000)]
gststructure: clarify _get docs about the returned reference
https://bugzilla.gnome.org/show_bug.cgi?id=667689
Sebastian Dröge [Tue, 10 Jan 2012 12:00:07 +0000 (13:00 +0100)]
Merge branch 'master' into 0.11
Edward Hervey [Fri, 6 Jan 2012 15:39:04 +0000 (16:39 +0100)]
typefind: Send caps again after activation
Avoids ending up in cases where typefind gets activated in pull-mode
and caps never get sent.
https://bugzilla.gnome.org/show_bug.cgi?id=667337
Christian Fredrik Kalager Schaller [Mon, 9 Jan 2012 15:59:09 +0000 (15:59 +0000)]
Add latest specfile changes
Christian Fredrik Kalager Schaller [Mon, 9 Jan 2012 15:58:45 +0000 (15:58 +0000)]
Also add headerfile
Christian Fredrik Kalager Schaller [Mon, 9 Jan 2012 15:57:51 +0000 (15:57 +0000)]
Fix dotfile API to be exported since macros can't be GI bound
Tim-Philipp Müller [Mon, 9 Jan 2012 13:19:04 +0000 (13:19 +0000)]
tests: ignore new memory test binary
Matej Knopp [Mon, 9 Jan 2012 08:14:41 +0000 (03:14 -0500)]
Fix printf format build warnings
Tim-Philipp Müller [Mon, 9 Jan 2012 13:10:10 +0000 (13:10 +0000)]
po: update translations for new strings
Edward Hervey [Fri, 6 Jan 2012 14:01:24 +0000 (15:01 +0100)]
gstvalue: Allow NULL dest when subtracting bitmask
Happens when checking for subsets of caps
Wim Taymans [Fri, 6 Jan 2012 12:32:55 +0000 (13:32 +0100)]
buffer: ensure writable memory in memset
Wim Taymans [Fri, 6 Jan 2012 12:10:18 +0000 (13:10 +0100)]
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.
Wim Taymans [Fri, 6 Jan 2012 12:06:32 +0000 (13:06 +0100)]
queue2: unmap with the right data pointer
Use the original data pointer to unmap the buffer memory.
Wim Taymans [Fri, 6 Jan 2012 09:39:46 +0000 (10:39 +0100)]
docs: improve memory docs
Wim Taymans [Fri, 6 Jan 2012 06:02:36 +0000 (07:02 +0100)]
memory: handle -1 size in unmap
handle -1 in unmap correctly when the offset is modified.
Wim Taymans [Fri, 6 Jan 2012 05:43:08 +0000 (06:43 +0100)]
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.
Havard Graff [Tue, 29 Nov 2011 13:22:44 +0000 (14:22 +0100)]
basesink: don't compensate for render-delay twice
https://bugzilla.gnome.org/show_bug.cgi?id=667298
Wim Taymans [Thu, 5 Jan 2012 17:15:20 +0000 (18:15 +0100)]
memory: add more checks
Add check for mapping and resizing
Wim Taymans [Thu, 5 Jan 2012 16:28:28 +0000 (17:28 +0100)]
memory: take offset into account
Take the offset into account whem mapping and unmapping the buffer.
Wim Taymans [Thu, 5 Jan 2012 16:02:48 +0000 (17:02 +0100)]
docs: clarify resize and current mappings
Wim Taymans [Thu, 5 Jan 2012 15:41:58 +0000 (16:41 +0100)]
memory: clarify nested mappings, add unit test
Tim-Philipp Müller [Thu, 5 Jan 2012 12:30:00 +0000 (12:30 +0000)]
win32: add new API to .def file
Wim Taymans [Thu, 5 Jan 2012 12:22:42 +0000 (13:22 +0100)]
tests: add more memory unit tests
Check for unmap with invalid size
Wim Taymans [Thu, 5 Jan 2012 12:11:05 +0000 (13:11 +0100)]
tests: add unit test for GstMemory
Add a GstMemory unit test
Add some more asserts in GstMemory to catch invalid cases.
Wim Taymans [Thu, 5 Jan 2012 12:09:29 +0000 (13:09 +0100)]
check: add macro to check for memory refcount
Wim Taymans [Thu, 5 Jan 2012 11:39:17 +0000 (12:39 +0100)]
improve docs a little
Sebastian Dröge [Fri, 16 Dec 2011 12:11:36 +0000 (13:11 +0100)]
value: Add tests for the bitmask type
Sebastian Dröge [Fri, 16 Dec 2011 11:39:15 +0000 (12:39 +0100)]
structure: Add "bitmask" as alias for (GstBitmask) when (de-)serializing values
Sebastian Dröge [Fri, 16 Dec 2011 11:32:26 +0000 (12:32 +0100)]
value: Add 64-bit bitmask type
Idar Tollefsen [Sun, 1 Jan 2012 15:32:27 +0000 (16:32 +0100)]
build: don't output configure options via autogen if $NOCONFIGURE is set
https://bugzilla.gnome.org/show_bug.cgi?id=667296
Tim-Philipp Müller [Thu, 5 Jan 2012 00:30:30 +0000 (00:30 +0000)]
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
Idar Tollefsen [Sun, 1 Jan 2012 15:46:04 +0000 (16:46 +0100)]
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
Idar Tollefsen [Sun, 1 Jan 2012 15:47:14 +0000 (16:47 +0100)]
plugins: explicitly cast initialization values to the correct type
https://bugzilla.gnome.org/show_bug.cgi?id=667288
Idar Tollefsen [Sun, 1 Jan 2012 19:17:41 +0000 (20:17 +0100)]
poll: include correct poll.h based on autoconf test
https://bugzilla.gnome.org/show_bug.cgi?id=667286
Tim-Philipp Müller [Wed, 4 Jan 2012 23:46:19 +0000 (23:46 +0000)]
configure: check for sys/poll.h
https://bugzilla.gnome.org/show_bug.cgi?id=667286