Sebastian Dröge
0bb8634b37
gstbase: Add gobject-introspection support
2009-09-05 10:28:46 +02:00
Sebastian Dröge
7c031ae4d0
gst: Add gobject-introspection support
...
Partially fixes bug #550616 .
2009-09-05 10:28:46 +02:00
Sebastian Dröge
048a25e322
Automatic update of common submodule
...
From 94f95e3 to 19fa4f3
2009-09-05 10:19:23 +02:00
Tim-Philipp Müller
b9657d7477
docs: fix docs for gst_byte_reader_{get|peek}_float*()
2009-09-04 19:50:39 +01:00
Wim Taymans
1b8a3e0e2d
event: whitespace fixes
2009-09-04 11:35:59 +02:00
Aurelien Grimaud
fe87509682
bin: Only unref EOS message after it is not used anymore
...
Fixes bug #594107 .
2009-09-04 09:52:39 +02:00
Wim Taymans
f64243e037
states: post structure change on sinkpads
...
Post the structure change messages on the sinkpads of the elements. This allows
us to catch unlinked pads earlier without ending up with inconsistent element
degrees.
2009-09-02 18:54:06 +02:00
Wim Taymans
1ab11faf48
bin: avoid false 'loop detected' warnings
...
When we detect a pad unlink in progress, we will not be updating the degree of
the parent element. This can cause false loop detected warnings because the
degree counter is invalid. Handle this case by marking the iterator as 'dirty'
when we detect a pad unlink and avoid emiting the warning in this case. We have
to continue our state change as good as we can, we will eventually resync when
the pad unlink completed.
2009-09-02 18:13:22 +02:00
Wim Taymans
bcb9eab392
basesrc: whitespace fixes
2009-09-01 16:52:32 +02:00
Wim Taymans
5ebd818ea3
buffer: whitespace fixes
2009-09-01 16:52:32 +02:00
Jan Schmidt
ca482c75ce
dist: Don't list the streams subdir twice in examples Makefile
...
Listing the 'streams' subdir twice in DIST_SUBDIRS breaks distcheck.
2009-09-01 12:08:17 +01:00
Jan Schmidt
64fb67f700
gstbin: Don't propagate a NULL cached index to added elements
...
When an element is added to the bin, only set the index if we have a
cached index, rather than setting a NULL index on elements that might
have a default index object of their own.
2009-09-01 12:08:17 +01:00
Jan Schmidt
5f8f21cfe5
docs: Add a note about regenerating the changelog in the release script
2009-09-01 12:08:17 +01:00
Tim-Philipp Müller
0d50805678
element: don't take object lock for g_critical() and flesh out warning message some more
2009-09-01 10:05:21 +01:00
Sebastian Dröge
3a5cceeb6b
iterator: Add unit test for the single iterator
2009-09-01 10:21:31 +02:00
Sebastian Dröge
690f980690
iterator: Only visit the element a single time in the single iterator
2009-09-01 10:20:59 +02:00
Sebastian Dröge
66e5d4ee4b
iterator: Fix single iterator for NULL objects and non-GTypeInstance objects
...
Fixes bug #593719 .
2009-09-01 07:28:43 +02:00
Stefan Kost
86edbb954c
debug: more detail in wrong-state-on-dispose error.
...
Also tell in which state the element actualy is and if it is eventualy
state-locked.
2009-09-01 00:06:27 +03:00
Wim Taymans
f90a9a8092
iterator: fix docs for _new_single().
2009-08-31 20:38:07 +02:00
Tim-Philipp Müller
5dc534c642
docs: it's its
...
The panda says no!
2009-08-31 17:00:17 +01:00
Mark Nauwelaerts
1b6da398fb
registry: fill in elementfactory when registering element
...
elementfactory field is filled in by gst_element_base_class_init,
but it needs some info set on the element's type, so have it
available prior to class structure creation spinning up.
This affects elements that have a well-known/public type (e.g. pipeline)
and can be created by other means than gst_element_factory_make
(which will also fill in the element's factory).
2009-08-31 15:34:54 +02:00
Wim Taymans
b0c1ebbd08
utils: use 128bits division on x86_64
2009-08-31 11:45:17 +02:00
Руслан Ижбулатов
4ad052fed7
systemclock: fix compilation of win32 code
...
Fixes #593460 .
2009-08-29 11:32:21 +01:00
Wim Taymans
d4012be469
bin: cache index
...
Cache the last index that was set with _set_index() and return this in the
_get_index() call.
Set the cached index on newly added elements.
Fixes #566881
2009-08-28 18:41:42 +02:00
Wim Taymans
a3f9908266
element: better type checks
...
Add GST_CLOCK typecheck for _set_clock().
Allow setting NULL indexes on element (clear the current index)
Some whitespace fixes.
2009-08-28 18:36:45 +02:00
Wim Taymans
a9095a2d73
element; whitespace fixes
2009-08-28 18:14:23 +02:00
Wim Taymans
43354dd197
defs: add gst_iterator_new_single to defs
2009-08-28 18:06:45 +02:00
Wim Taymans
b6728ca46e
adapter: whitespace fixes
2009-08-28 18:04:54 +02:00
Thijs Vermeir
0dd051eeb3
Check suggested caps for proxy alloc
...
Because we are trying to resolve a suggestion here we don't need
to check on caps for proxy_alloc but we need to check on the
suggested caps instead.
2009-08-28 18:04:50 +02:00
Wim Taymans
eaf7582b8f
queue: whitespace fixes
2009-08-28 17:49:11 +02:00
Wim Taymans
e54e5eb9bb
systemclock: use preformance counters on windows
...
Based on clock implementation by Håvard Graff <havard.graff@tandberg.com>
Try to get the time on windows using the performance counters. These have a much
higher resolution and accuracy than the regular getcurrenttime(). Be careful to
fall back to regular getcurrenttime() or posix clocks when performance counters
are not available.
2009-08-28 17:02:30 +02:00
Wim Taymans
7c054f5f53
systemclock: fix indentation
2009-08-28 16:07:16 +02:00
Wim Taymans
378b1e30e7
utils: use shift instead of division
...
We can use a shift for scaling the denominator instead of a divide since the
denom is always positive. This avoids having the compiler generate code for the
different rounding rules when scaling negative values.
2009-08-28 15:32:26 +02:00
Wim Taymans
6cf8948663
utils: make inlining explicit
2009-08-28 13:45:38 +02:00
Wim Taymans
d8911f269f
utils: optimize for x86_64 with some inline asm
...
64bit x86 has native 64x64->128 bit multiply that we can use with some inline
assembler to speed up large multiplications.
Use bsr to find the number of leading zeros more efficiently.
2009-08-28 12:43:43 +02:00
Wim Taymans
0ef7a5af52
utils: factor out the leading zero count code
2009-08-28 12:33:37 +02:00
Wim Taymans
2b8d7a54cc
utils: pass correction factor around
...
Pass the correction factor around to get rid of the enum, some code
and some branches.
2009-08-28 12:30:41 +02:00
Wim Taymans
75e8e9eb42
utils: whitespace fixes
2009-08-28 12:21:28 +02:00
Wim Taymans
2b66b29355
utils: move common correction code in a macro
2009-08-28 12:19:34 +02:00
Wim Taymans
378594e520
basesink: whitespace fixes
2009-08-27 12:26:40 +02:00
Sebastian Dröge
a1ae8a3a3e
iterator: Allow to use NULL as object for the single iterator
2009-08-26 16:51:32 +02:00
Sebastian Dröge
b2cab40745
iterator: API: Add gst_iterator_new_single()
...
This allows "iteration" over a single object of some type,
which happens often for the GstPadIterIntLinksFunction for example.
2009-08-26 16:39:19 +02:00
Wim Taymans
76d9349956
basesrc: return result of _set_caps()
2009-08-24 17:57:16 +02:00
Wim Taymans
989d9861e3
basesink: whitespace fixes
2009-08-24 17:56:32 +02:00
David Schleef
6df1127daa
It's __GNUC__, not _GNUC_
...
This appears to be an 8 year old bug.
2009-08-22 15:49:12 -07:00
Tim-Philipp Müller
78ef5ff4c7
docs: add link to cgit tarball download of gst-template in PWG
...
So people who can't use git for some reason still can get hold
of the code. See #591069 .
2009-08-21 10:02:17 +01:00
Tim-Philipp Müller
a01e5b8dca
pluginfeature: add guard to gst_plugin_feature_type_name_filter
...
So we don't just crash if there's a refcounting bug somewhere else.
2009-08-20 11:55:44 +01:00
Sebastian Dröge
9f0e832c6c
docs: Don't talk about the deprecated libgnome and GNOME-VFS
...
Instead talk about GIO and change the option parsing example to
not initialize libgnome but only GTK.
Fixes bug #592233 .
2009-08-19 16:24:39 +02:00
Sebastian Dröge
b0b971ff32
examples: Link rtpool-test to libpthread for using the POSIX threads
...
Also the other streams example can run without pthreads therefore
enable it even if pthreads are not available.
Fixes bug #592314 .
2009-08-19 15:25:41 +02:00
Sebastian Dröge
1e39f6ea0e
tools: Use iterate_internal_links instead of deprecated get_internal_links
2009-08-18 14:57:25 +02:00