Sebastian Dröge
c81db31bfa
taglist: Don't leak copies of empty strings
2010-12-19 12:49:58 +01:00
Edward Hervey
bf41fb056a
base: documentation fixups and annotation
2010-12-17 19:19:40 +01:00
Edward Hervey
3efb73c121
gst: documentation fixups and annotation
...
Reported by enabling the --warn-all option of g-ir-scanner
2010-12-17 19:14:41 +01:00
Edward Hervey
6c37015a29
gstdatetime: Fix documentation
...
second => seconds
microsecond argument was dropped
2010-12-17 15:48:34 +01:00
Edward Hervey
5372e81c9a
basesrc: Use an atomic integer instead of a lock for checking tags presence
...
https://bugzilla.gnome.org/show_bug.cgi?id=636455
2010-12-17 10:59:25 +01:00
Sebastian Dröge
0a74684b41
basetransform: Handle downstream giving a buffer with new caps but invalid size
...
This can happen for example when downstream proposed new caps, later proposed
the previous caps again which in turn enables passthrough mode in upstream
elements and the wrong-sized buffer appears in an element where the caps
change never happened. Simply allocate a new buffer in this case.
See bug #635461 .
2010-12-16 10:58:33 +01:00
Stefan Kost
eb56687a6d
info: use the publicly visible address to fix the tests
...
The -Bsymbolic change causes us to get a different address when internaly
looking up the function than what application would get when the use the symbol
that they see. This made removing the default loghandler to fail, as it is set
internally and removed externaly.
2010-12-15 23:19:54 +02:00
Stefan Kost
8eeb96a6ba
Automatic update of common submodule
...
From 20742ae to 169462a
2010-12-15 14:55:12 +02:00
Stefan Kost
800b5d980b
configure: use the -Bsymbolic-functions linker flag if supported
...
This feature turns intra library calls into direct function calls and thus makes
them a little faster. The downside is that this causes problems for e.g.
LD_PRELOAD based tools. Thus add a configure option to turn it off.
2010-12-15 12:22:39 +02:00
Wim Taymans
6da39bf508
basesink: improve last_stop calculation
...
Only update the last_stop value when we had a valid stop position for the
clipping or else the clipping code assumes the stop position extends to the end
of the segment, which makes the position reporting return weird values.
2010-12-14 19:00:14 +01:00
Wim Taymans
4fd63f0ce2
basesink: fix object type handling in queued preroll
...
Factor out the method to get the object type.
When preroll-queue-len > 0, use the right object type instead of ignoring
buffer-lists.
2010-12-14 15:54:41 +01:00
Stefan Kost
54ace28f06
Automatic update of common submodule
...
From 011bcc8 to 20742ae
2010-12-13 16:22:46 +02:00
Edward Hervey
c62c009d7e
libs: Fix GIR build for srcdir != builddir
2010-12-11 10:10:04 +01:00
Stefan Kost
1de8b60034
docs: fix wrong use of Since: keyword
2010-12-08 12:17:35 +02:00
Stefan Kost
4ef9bf1019
registry: maintain the typefind extension list order
2010-12-08 11:53:10 +02:00
Stefan Kost
4054ea491e
docs: add () to xref the function.
2010-12-08 11:53:10 +02:00
Tim-Philipp Müller
cc55b9772b
utils: remove some dead code, GST_DEBUG_COLOR is never defined
2010-12-07 19:35:55 +00:00
Tim-Philipp Müller
7b0e3356eb
utils: const-ify arguments to gst_object_default_error()
2010-12-07 19:35:24 +00:00
Tim-Philipp Müller
711f2d8abb
docs: gst_error_get_message() returns string in UTF-8, not current locale
...
We tell gettext to return everything in UTF-8 encoding.
2010-12-07 19:34:46 +00:00
Tim-Philipp Müller
686b16756d
docs: libgstbase: more gobject introspection annotations
...
Many of these are superfluous and were added for clarity.
2010-12-07 18:37:04 +00:00
Tim-Philipp Müller
3256c708be
docs: gst: more gobject introspection annotations
...
Many of these are superfluous, added for clarity.
2010-12-07 18:37:04 +00:00
Tim-Philipp Müller
0eaa25cbf5
pad: register gst_pad_get_fixed_caps_func() with the debug log system
2010-12-07 18:37:04 +00:00
Edward Hervey
d1eb8a14c5
libs: Add -I$(top_srcdir)/libs to g-ir-scanner commands
...
Without this, it will fail finding all headers.
2010-12-07 13:19:10 +01:00
Stefan Kost
6e97957b60
plugin: recommend "--gst-disable-registry-fork" as well
...
Disabling forking helps with debugging the cause of the crash in gdb.
2010-12-07 12:59:16 +02:00
Stefan Kost
5897b1993d
docs: some notes about our plugin docs workflow
2010-12-07 12:59:16 +02:00
Wim Taymans
8bf6b0c3fe
poll: return wakeup event in GPollFD
2010-12-06 11:20:35 +01:00
Mark Nauwelaerts
58868d4218
pad: add some debug to fast push path
...
... so we don't loose track at times it is needed the most.
2010-12-06 11:07:38 +01:00
Edward Hervey
27c0bc93b7
basesink: Don't forget to unref the cached ClockId
2010-12-05 15:58:48 +01:00
Edward Hervey
4525a405d5
gstcheck: Don't check pad refcount too early
...
Because of the new pad caching system, the peer pad might still
have a reference on a pad. We therefore delay the refcount checking
til 'after' we unlink the pad from any potential peer.
2010-12-05 14:46:28 +01:00
Edward Hervey
c044024e2c
gstbin: Make element names clearer in debug statements
...
Replaces confusing messages like:
"Name name is not unique in bin bin, not adding"
by
"Name 'name' is not unique in bin 'bin', not adding"
2010-12-05 14:15:02 +01:00
David Schleef
5cdcdaee07
registry: Fix permissions if umask is broken
...
Fixes : #564056 .
2010-12-04 21:08:21 -08:00
Tim-Philipp Müller
9ae630c73d
build: remove trailing whitespaces after backslash in Makefile.am
2010-12-04 14:23:59 +00:00
Koop Mast
d569bf420d
configure: fix test so it works with FreeBSD's /bin/sh
...
Use '=' instead of '=='. Fixes:
configure: working c++ compiler found: yes
test: xyes: unexpected operator
http://bugzilla-attachments.gnome.org/attachment.cgi?id=175692
2010-12-04 13:14:39 +00:00
David Schleef
66d2781877
Use g_snprintf() instead of snprintf()
2010-12-03 11:29:30 -08:00
Benjamin Gaignard
b813e7d8a6
Add build system for Android
2010-12-03 16:44:23 +01:00
Wim Taymans
bf979b0036
clock: init variables in _reinit()
...
Properly initialize variables in _reinit() too
2010-12-03 16:11:05 +01:00
Wim Taymans
ba7157dce6
clock: make sync clock wait lockfree
...
Make the common case lockfree.
2010-12-03 16:11:04 +01:00
Tim-Philipp Müller
f4e57cee5d
binaryregistry: use function introduced in GLib 2.22 unconditionally
2010-12-03 14:55:50 +00:00
Wim Taymans
77830123cf
poll: small cleanups
2010-12-03 15:50:38 +01:00
Wim Taymans
9bf56084cf
poll: make sure we remove the readfd messages
2010-12-03 15:50:38 +01:00
Wim Taymans
35d10af06d
poll: add method to get a GPollFD
2010-12-03 15:50:38 +01:00
Wim Taymans
22fa4470e2
poll: Refactor and make more lockfree
...
Refactor the wakeup of the poll thread.
Always make a control socket to make things easier.
Make more methods lockfree.
2010-12-03 15:50:38 +01:00
Wim Taymans
e266d4d397
poll: move lock to where it makes more sense
2010-12-03 15:50:38 +01:00
Wim Taymans
73ee14302f
poll: make timer polls lockfree
...
Make sure we don't take a mutex in the normal code path of the timer
poll.
2010-12-03 15:50:38 +01:00
Mark Nauwelaerts
e0f15e666a
multiqueue: return upon input when already eos
...
... rather than hanging incoming thread (as considered full in eos).
2010-12-03 13:35:49 +01:00
Mark Nauwelaerts
efe3c70450
caps: fix doc typo
2010-12-03 13:35:38 +01:00
Mark Nauwelaerts
9be4aa34a3
gst-inspect: remove some commented code
2010-12-03 13:35:36 +01:00
Stefan Kost
bd82021e86
gstobject: add stdio.h for snprint
2010-12-03 13:52:42 +02:00
Edward Hervey
fc7967a0b5
pipeline: Use an object as first argument to GST_WARNING_OBJECT
2010-12-03 12:03:43 +01:00
Edward Hervey
6aa8ca37ee
micro-optim: if (x) is cheaper than if (x > 0) for unsigned integers
2010-12-03 12:03:42 +01:00