platform/upstream/gstreamer.git
15 years agoutils: Fix GMP scaling unit test
Sebastian Dröge [Tue, 15 Sep 2009 07:41:28 +0000 (09:41 +0200)]
utils: Fix GMP scaling unit test

GMP only uses "unsigned long int", which is 32 bit
on 32 bit architectures and can't hold a guint64.
This resulted in false unit test failures on 32 bit architectures.

Fixes bug #595133.

15 years agoFix out-of-tree build
David Schleef [Mon, 14 Sep 2009 19:47:26 +0000 (12:47 -0700)]
Fix out-of-tree build

15 years agodocs: GST_MESSAGE_STREAM_STATUS is implemented nowadays.
Stefan Kost [Mon, 14 Sep 2009 11:07:55 +0000 (14:07 +0300)]
docs: GST_MESSAGE_STREAM_STATUS is implemented nowadays.

Docs were still mention it as "not yet implemented".

15 years agointrospection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH
Sebastian Dröge [Sat, 12 Sep 2009 11:52:00 +0000 (13:52 +0200)]
introspection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH

This way g-ir-scanner can find the gstreamer-0.10 pkg-config file.

15 years agointrospection: Don't typedef GstTagList to GstStructure for gobject-introspection
Sebastian Dröge [Sat, 12 Sep 2009 11:51:29 +0000 (13:51 +0200)]
introspection: Don't typedef GstTagList to GstStructure for gobject-introspection

15 years ago0.10.24.2 pre-release
Jan Schmidt [Fri, 11 Sep 2009 22:21:30 +0000 (23:21 +0100)]
0.10.24.2 pre-release

15 years agoDon't use C++ style comments
Jan Schmidt [Fri, 11 Sep 2009 21:42:51 +0000 (22:42 +0100)]
Don't use C++ style comments

15 years agomessage: Disable restriction that structure changes are sink pads
Jan Schmidt [Fri, 11 Sep 2009 21:22:34 +0000 (22:22 +0100)]
message: Disable restriction that structure changes are sink pads

The structure_change message was originally emitted on source pads and
then recently changed to be sink pads. This causes a failure in the
gst-python testsuite. Disable the restriction so that the published
behaviour is still allowed.

15 years agocheck: Fix version check tests
Jan Schmidt [Fri, 11 Sep 2009 17:24:18 +0000 (18:24 +0100)]
check: Fix version check tests

Accomodate the slightly changed semantics in the plugin version check
where a CVS version just before a release is acceptable.

15 years agobinaryregistry: don't crash in cleaning up on error.
Stefan Kost [Fri, 11 Sep 2009 18:20:57 +0000 (21:20 +0300)]
binaryregistry: don't crash in cleaning up on error.

Don't dereference NULL pointers.

15 years agodebug: use dummy code to avoid spurious semicolons
David Schleef [Mon, 20 Jul 2009 19:54:00 +0000 (12:54 -0700)]
debug: use dummy code to avoid spurious semicolons

Fixes bug #589173.

15 years agowhitespace fixes
Wim Taymans [Thu, 10 Sep 2009 09:53:09 +0000 (11:53 +0200)]
whitespace fixes

15 years agopluginfeature: improve version check
Wim Taymans [Thu, 10 Sep 2009 09:41:56 +0000 (11:41 +0200)]
pluginfeature: improve version check

Also parse the nano of the version and assume that X.Y.Z-1.1 >= X.Y.Z
With this change we can also check development versions against the version of
the upcomming release.

15 years agotaglist: Add FIXME for 0.11 to not typedef GstTagList to be a GstStructure
Sebastian Dröge [Thu, 10 Sep 2009 08:05:38 +0000 (10:05 +0200)]
taglist: Add FIXME for 0.11 to not typedef GstTagList to be a GstStructure

See bug #518934.

15 years agoFix typo in inline documentation
David Schleef [Wed, 9 Sep 2009 23:29:10 +0000 (16:29 -0700)]
Fix typo in inline documentation

15 years agoUpdate common
Tim-Philipp Müller [Wed, 9 Sep 2009 16:57:54 +0000 (17:57 +0100)]
Update common

15 years agoutils: Add a comment to the scaling functions to explain why the rounding is correct
Sebastian Dröge [Wed, 9 Sep 2009 16:38:29 +0000 (18:38 +0200)]
utils: Add a comment to the scaling functions to explain why the rounding is correct

15 years agoghostpad: don't unref NULL caps
Wim Taymans [Wed, 9 Sep 2009 14:45:17 +0000 (16:45 +0200)]
ghostpad: don't unref NULL caps

Caps can be NULL so don't call unref on it unconditionally, instead use an
existing exit pad for the function.

15 years agoutils: Use gcc's __uint128_t for 64bit unsigned integer scaling
Sebastian Dröge [Wed, 9 Sep 2009 12:53:16 +0000 (14:53 +0200)]
utils: Use gcc's __uint128_t for 64bit unsigned integer scaling

This is available in newer gcc releases and it should only exist
on platforms that provide some native 128bit integer arithmetic
instructions.

The x86-64 assembly for this is still kept for non-gcc compilers
that don't provide __uint128_t magic.

15 years agodesign: add ideas for buffer management
Stefan Kost [Wed, 9 Sep 2009 06:38:54 +0000 (09:38 +0300)]
design: add ideas for buffer management

Right now we're operating suboptimal when talking to kernel interfaces. Write
doesn some ideas.

15 years agofix whitespace
Wim Taymans [Mon, 7 Sep 2009 16:27:08 +0000 (18:27 +0200)]
fix whitespace

15 years agoadapter: fix whitespace
Wim Taymans [Thu, 3 Sep 2009 17:06:28 +0000 (19:06 +0200)]
adapter: fix whitespace

15 years agodocs: Fix typo in gst_value_union()
Benjamin Otte [Mon, 7 Sep 2009 14:14:57 +0000 (16:14 +0200)]
docs: Fix typo in gst_value_union()

15 years agobitreader, bytereader: add some FIXME 0.11 comments and fix indenting
Tim-Philipp Müller [Sun, 6 Sep 2009 18:43:47 +0000 (19:43 +0100)]
bitreader, bytereader: add some FIXME 0.11 comments and fix indenting

15 years agobytereader: add unchecked and inline versions of the float getters/peekers
Tim-Philipp Müller [Fri, 4 Sep 2009 16:15:35 +0000 (17:15 +0100)]
bytereader: add unchecked and inline versions of the float getters/peekers

API: gst_byte_reader_get_float*_unchecked()

15 years agobytereader: add inline versions of the most common getters and setters
Tim-Philipp Müller [Fri, 4 Sep 2009 15:52:06 +0000 (16:52 +0100)]
bytereader: add inline versions of the most common getters and setters

15 years agobytereader: add inlined _unchecked() variants for some functions
Tim-Philipp Müller [Wed, 2 Sep 2009 10:20:04 +0000 (11:20 +0100)]
bytereader: add inlined _unchecked() variants for some functions

API: gst_byte_reader_skip_unchecked()
API: gst_byte_reader_peek_*_unchecked()
API: gst_byte_reader_get_*_unchecked()
API: gst_byte_reader_{peek,get,dup}_data_unchecked()

15 years agointrospection: Strip Gst prefix from all types/functions
Sebastian Dröge [Sat, 5 Sep 2009 10:30:07 +0000 (12:30 +0200)]
introspection: Strip Gst prefix from all types/functions

15 years agointrospection: Fix for out-of-tree builds
Sebastian Dröge [Sat, 5 Sep 2009 10:22:37 +0000 (12:22 +0200)]
introspection: Fix for out-of-tree builds

15 years agointrospection: Fix out-of-tree build
Sebastian Dröge [Sat, 5 Sep 2009 10:04:59 +0000 (12:04 +0200)]
introspection: Fix out-of-tree build

15 years agointrospection: Fix build if gir-repository is not installed
Sebastian Dröge [Sat, 5 Sep 2009 09:51:55 +0000 (11:51 +0200)]
introspection: Fix build if gir-repository is not installed

15 years agonet: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 07:36:21 +0000 (09:36 +0200)]
net: Add gobject-introspection support

15 years agodataprotocol: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 07:34:30 +0000 (09:34 +0200)]
dataprotocol: Add gobject-introspection support

Because of a bug in gobject-introspection this is disabled for now.

15 years agocontroller: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 07:28:48 +0000 (09:28 +0200)]
controller: Add gobject-introspection support

15 years agocheck: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 07:27:04 +0000 (09:27 +0200)]
check: Add gobject-introspection support

15 years agogstbase: Add gobject-introspection support
Sebastian Dröge [Sat, 5 Sep 2009 07:23:19 +0000 (09:23 +0200)]
gstbase: Add gobject-introspection support

15 years agogst: Add gobject-introspection support
Sebastian Dröge [Fri, 4 Sep 2009 18:56:43 +0000 (20:56 +0200)]
gst: Add gobject-introspection support

Partially fixes bug #550616.

15 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 5 Sep 2009 08:19:23 +0000 (10:19 +0200)]
Automatic update of common submodule

From 94f95e3 to 19fa4f3

15 years agodocs: fix docs for gst_byte_reader_{get|peek}_float*()
Tim-Philipp Müller [Fri, 4 Sep 2009 18:37:15 +0000 (19:37 +0100)]
docs: fix docs for gst_byte_reader_{get|peek}_float*()

15 years agoevent: whitespace fixes
Wim Taymans [Fri, 4 Sep 2009 09:35:59 +0000 (11:35 +0200)]
event: whitespace fixes

15 years agobin: Only unref EOS message after it is not used anymore
Aurelien Grimaud [Fri, 4 Sep 2009 07:51:26 +0000 (09:51 +0200)]
bin: Only unref EOS message after it is not used anymore

Fixes bug #594107.

15 years agostates: post structure change on sinkpads
Wim Taymans [Wed, 2 Sep 2009 16:54:06 +0000 (18:54 +0200)]
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.

15 years agobin: avoid false 'loop detected' warnings
Wim Taymans [Wed, 2 Sep 2009 16:13:22 +0000 (18:13 +0200)]
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.

15 years agobasesrc: whitespace fixes
Wim Taymans [Tue, 1 Sep 2009 14:49:56 +0000 (16:49 +0200)]
basesrc: whitespace fixes

15 years agobuffer: whitespace fixes
Wim Taymans [Tue, 1 Sep 2009 14:49:22 +0000 (16:49 +0200)]
buffer: whitespace fixes

15 years agodist: Don't list the streams subdir twice in examples Makefile
Jan Schmidt [Tue, 1 Sep 2009 11:07:31 +0000 (12:07 +0100)]
dist: Don't list the streams subdir twice in examples Makefile

Listing the 'streams' subdir twice in DIST_SUBDIRS breaks distcheck.

15 years agogstbin: Don't propagate a NULL cached index to added elements
Jan Schmidt [Tue, 1 Sep 2009 11:05:51 +0000 (12:05 +0100)]
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.

15 years agodocs: Add a note about regenerating the changelog in the release script
Jan Schmidt [Sun, 19 Jul 2009 20:23:18 +0000 (21:23 +0100)]
docs: Add a note about regenerating the changelog in the release script

15 years agoelement: don't take object lock for g_critical() and flesh out warning message some...
Tim-Philipp Müller [Tue, 1 Sep 2009 09:03:35 +0000 (10:03 +0100)]
element: don't take object lock for g_critical() and flesh out warning message some more

15 years agoiterator: Add unit test for the single iterator
Sebastian Dröge [Tue, 1 Sep 2009 08:21:31 +0000 (10:21 +0200)]
iterator: Add unit test for the single iterator

15 years agoiterator: Only visit the element a single time in the single iterator
Sebastian Dröge [Tue, 1 Sep 2009 08:20:59 +0000 (10:20 +0200)]
iterator: Only visit the element a single time in the single iterator

15 years agoiterator: Fix single iterator for NULL objects and non-GTypeInstance objects
Sebastian Dröge [Tue, 1 Sep 2009 05:27:25 +0000 (07:27 +0200)]
iterator: Fix single iterator for NULL objects and non-GTypeInstance objects

Fixes bug #593719.

15 years agodebug: more detail in wrong-state-on-dispose error.
Stefan Kost [Mon, 31 Aug 2009 21:00:57 +0000 (00:00 +0300)]
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.

15 years agoiterator: fix docs for _new_single().
Wim Taymans [Mon, 31 Aug 2009 18:38:07 +0000 (20:38 +0200)]
iterator: fix docs for _new_single().

15 years agodocs: it's its
Tim-Philipp Müller [Mon, 31 Aug 2009 15:56:22 +0000 (16:56 +0100)]
docs: it's its

The panda says no!

15 years agoregistry: fill in elementfactory when registering element
Mark Nauwelaerts [Sat, 29 Aug 2009 18:44:36 +0000 (20:44 +0200)]
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).

15 years agoutils: use 128bits division on x86_64
Wim Taymans [Mon, 31 Aug 2009 09:45:17 +0000 (11:45 +0200)]
utils: use 128bits division on x86_64

15 years agosystemclock: fix compilation of win32 code
Руслан Ижбулатов [Sat, 29 Aug 2009 00:44:51 +0000 (04:44 +0400)]
systemclock: fix compilation of win32 code

Fixes #593460.

15 years agobin: cache index
Wim Taymans [Fri, 28 Aug 2009 16:37:44 +0000 (18:37 +0200)]
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

15 years agoelement: better type checks
Wim Taymans [Fri, 28 Aug 2009 16:35:54 +0000 (18:35 +0200)]
element: better type checks

Add GST_CLOCK typecheck for _set_clock().
Allow setting NULL indexes on element (clear the current index)
Some whitespace fixes.

15 years agoelement; whitespace fixes
Wim Taymans [Fri, 28 Aug 2009 16:14:23 +0000 (18:14 +0200)]
element; whitespace fixes

15 years agodefs: add gst_iterator_new_single to defs
Wim Taymans [Fri, 28 Aug 2009 16:06:45 +0000 (18:06 +0200)]
defs: add gst_iterator_new_single to defs

15 years agoadapter: whitespace fixes
Wim Taymans [Fri, 28 Aug 2009 16:03:44 +0000 (18:03 +0200)]
adapter: whitespace fixes

15 years agoCheck suggested caps for proxy alloc
Thijs Vermeir [Fri, 28 Aug 2009 15:59:15 +0000 (17:59 +0200)]
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.

15 years agoqueue: whitespace fixes
Wim Taymans [Fri, 28 Aug 2009 15:49:11 +0000 (17:49 +0200)]
queue: whitespace fixes

15 years agosystemclock: use preformance counters on windows
Wim Taymans [Fri, 28 Aug 2009 15:02:30 +0000 (17:02 +0200)]
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.

15 years agosystemclock: fix indentation
Wim Taymans [Fri, 28 Aug 2009 14:07:16 +0000 (16:07 +0200)]
systemclock: fix indentation

15 years agoutils: use shift instead of division
Wim Taymans [Fri, 28 Aug 2009 13:32:26 +0000 (15:32 +0200)]
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.

15 years agoutils: make inlining explicit
Wim Taymans [Fri, 28 Aug 2009 11:45:38 +0000 (13:45 +0200)]
utils: make inlining explicit

15 years agoutils: optimize for x86_64 with some inline asm
Wim Taymans [Fri, 28 Aug 2009 10:43:43 +0000 (12:43 +0200)]
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.

15 years agoutils: factor out the leading zero count code
Wim Taymans [Fri, 28 Aug 2009 10:33:37 +0000 (12:33 +0200)]
utils: factor out the leading zero count code

15 years agoutils: pass correction factor around
Wim Taymans [Fri, 28 Aug 2009 10:30:41 +0000 (12:30 +0200)]
utils: pass correction factor around

Pass the correction factor around to get rid of the enum, some code
and some branches.

15 years agoutils: whitespace fixes
Wim Taymans [Fri, 28 Aug 2009 10:21:28 +0000 (12:21 +0200)]
utils: whitespace fixes

15 years agoutils: move common correction code in a macro
Wim Taymans [Fri, 28 Aug 2009 10:19:34 +0000 (12:19 +0200)]
utils: move common correction code in a macro

15 years agobasesink: whitespace fixes
Wim Taymans [Mon, 24 Aug 2009 16:01:07 +0000 (18:01 +0200)]
basesink: whitespace fixes

15 years agoiterator: Allow to use NULL as object for the single iterator
Sebastian Dröge [Wed, 26 Aug 2009 14:51:32 +0000 (16:51 +0200)]
iterator: Allow to use NULL as object for the single iterator

15 years agoiterator: API: Add gst_iterator_new_single()
Sebastian Dröge [Wed, 26 Aug 2009 14:39:19 +0000 (16:39 +0200)]
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.

15 years agobasesrc: return result of _set_caps()
Wim Taymans [Mon, 24 Aug 2009 15:57:16 +0000 (17:57 +0200)]
basesrc: return result of _set_caps()

15 years agobasesink: whitespace fixes
Wim Taymans [Mon, 24 Aug 2009 15:56:32 +0000 (17:56 +0200)]
basesink: whitespace fixes

15 years agoIt's __GNUC__, not _GNUC_
David Schleef [Sat, 22 Aug 2009 21:22:31 +0000 (14:22 -0700)]
It's __GNUC__, not _GNUC_

This appears to be an 8 year old bug.

15 years agodocs: add link to cgit tarball download of gst-template in PWG
Tim-Philipp Müller [Fri, 21 Aug 2009 08:59:58 +0000 (09:59 +0100)]
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.

15 years agopluginfeature: add guard to gst_plugin_feature_type_name_filter
Tim-Philipp Müller [Thu, 20 Aug 2009 10:54:40 +0000 (11:54 +0100)]
pluginfeature: add guard to gst_plugin_feature_type_name_filter

So we don't just crash if there's a refcounting bug somewhere else.

15 years agodocs: Don't talk about the deprecated libgnome and GNOME-VFS
Sebastian Dröge [Wed, 19 Aug 2009 14:24:39 +0000 (16:24 +0200)]
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.

15 years agoexamples: Link rtpool-test to libpthread for using the POSIX threads
Sebastian Dröge [Wed, 19 Aug 2009 13:25:41 +0000 (15:25 +0200)]
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.

15 years agotools: Use iterate_internal_links instead of deprecated get_internal_links
Sebastian Dröge [Tue, 18 Aug 2009 12:45:23 +0000 (14:45 +0200)]
tools: Use iterate_internal_links instead of deprecated get_internal_links

15 years agomultiqueue: Use iterate_internal_links instead of deprecated get_internal_links
Sebastian Dröge [Tue, 18 Aug 2009 12:45:02 +0000 (14:45 +0200)]
multiqueue: Use iterate_internal_links instead of deprecated get_internal_links

15 years agogstpad: Add some DISABLE_DEPRECATED markers in the header too
Sebastian Dröge [Tue, 18 Aug 2009 12:05:40 +0000 (14:05 +0200)]
gstpad: Add some DISABLE_DEPRECATED markers in the header too

The internal links function is deprecated since some time and
there already were GST_REMOVE_DEPRECATED markers in the source file,
now add them to the header too.

Fixes bug #592209.

15 years agodocs: Update the design docs for bin state changes according to last commit
Sebastian Dröge [Tue, 18 Aug 2009 09:38:38 +0000 (11:38 +0200)]
docs: Update the design docs for bin state changes according to last commit

15 years agogstbin: Don't try to change children's state if they're already in the state we want
Antoine Tremblay [Tue, 18 Aug 2009 09:36:36 +0000 (11:36 +0200)]
gstbin: Don't try to change children's state if they're already in the state we want

Fixes bug #368536.

15 years agoghostpad: Always get the proxypad's ghostpad via the ghostpad in the src caps change...
Sebastian Dröge [Tue, 18 Aug 2009 09:33:17 +0000 (11:33 +0200)]
ghostpad: Always get the proxypad's ghostpad via the ghostpad in the src caps change notify handler

Before the signal handler would get the ghostpad passed as second
argument but it could've already been unreffed and destroyed.
This would then lead to crashes and all that.

Now we get the ghostpad from the proxy pad, which we get from the
target pad as it's peer.

Fixes bug #591318.

15 years agofilesink: Add property to allow to append to an already existing file
Laurent Glayal [Tue, 18 Aug 2009 06:45:08 +0000 (08:45 +0200)]
filesink: Add property to allow to append to an already existing file

Fixes bug #591441.

15 years agoconfigure: Remove duplicated check for clock_gettime
Sebastian Dröge [Fri, 14 Aug 2009 09:53:14 +0000 (11:53 +0200)]
configure: Remove duplicated check for clock_gettime

15 years agogstutils: Add special random unit test for 64 scaling functions
Sebastian Dröge [Fri, 14 Aug 2009 09:12:50 +0000 (11:12 +0200)]
gstutils: Add special random unit test for 64 scaling functions

This tests 100000 random multiplications/divisions of all scaling
function variants and compares the result with the result that is
generated by GMP on the same input.

For this check for GSL and GMP during configure but only use
it for this single unit test.

Testing functions were provided by Kipp Cannon <kcannon@ligo.caltech.edu>

15 years agogstutils: Add new scaling functions to the docs
Sebastian Dröge [Thu, 13 Aug 2009 14:31:01 +0000 (16:31 +0200)]
gstutils: Add new scaling functions to the docs

15 years agogstutils: Add (very) minimal unit test for the new rounding scaling functions
Sebastian Dröge [Thu, 13 Aug 2009 14:20:46 +0000 (16:20 +0200)]
gstutils: Add (very) minimal unit test for the new rounding scaling functions

15 years agogstutils: API: Add rounding to nearest and next integer versions of the 64 bit intege...
Kipp Cannon [Thu, 13 Aug 2009 14:10:31 +0000 (16:10 +0200)]
gstutils: API: Add rounding to nearest and next integer versions of the 64 bit integer scaling functions

The new functions are
gst_util_uint64_scale_int_round()
gst_util_uint64_scale_int_ceil()
gst_util_uint64_scale_round()
gst_util_uint64_scale_ceil()

Fixes bug #590919.

15 years agogstutils: Revert parts of last change to optimize the scaling functions again
Kipp Cannon [Wed, 12 Aug 2009 09:10:05 +0000 (11:10 +0200)]
gstutils: Revert parts of last change to optimize the scaling functions again

Partially fixes bug #590919.

15 years agogstutils: Fix violations of strict-aliasing rules in gst_util_uint64_scale()
Sebastian Dröge [Tue, 11 Aug 2009 07:16:38 +0000 (09:16 +0200)]
gstutils: Fix violations of strict-aliasing rules in gst_util_uint64_scale()

15 years agogstutils: Refactor gst_util_uint64_scale()
Kipp Cannon [Tue, 11 Aug 2009 07:10:47 +0000 (09:10 +0200)]
gstutils: Refactor gst_util_uint64_scale()

This will later make it possible to provide rounding versions
of it without much code duplication.

Partially fixes bug #590919.

15 years agobufferlist: update doc string
Jonas Holmberg [Tue, 11 Aug 2009 13:20:18 +0000 (15:20 +0200)]
bufferlist: update doc string