platform/upstream/gstreamer.git
14 years agoexamples: remove xml example build system bits and purge from tree
Tim-Philipp Müller [Sat, 26 Jun 2010 09:16:36 +0000 (10:16 +0100)]
examples: remove xml example build system bits and purge from tree

Fixes make distcheck.

14 years agoxml: keep dummy gst_xml_get_type() function for g-i even if rest of GstXML is removed
Tim-Philipp Müller [Sat, 26 Jun 2010 08:59:31 +0000 (09:59 +0100)]
xml: keep dummy gst_xml_get_type() function for g-i even if rest of GstXML is removed

Add a minimal gst_xml_get_type() function, so that gobject-introspection doesn't
break the compilation if we're compiling with GST_REMOVE_DEPRECATED defined or
--disable-loadsave having been passed to configure. Until someone figures out
a better way at least.

14 years agoDon't include <libxml/parser.h> from public headers if GST_DISABLE_DEPRECATED is...
Tim-Philipp Müller [Sat, 26 Jun 2010 00:01:49 +0000 (01:01 +0100)]
Don't include <libxml/parser.h> from public headers if GST_DISABLE_DEPRECATED is defined

Since everything GstXML related has been deprecated, we can now skip the
libxml includes from the public headers when GST_DISABLE_DEPRECATED is
defined.

See #463435.

14 years agoexamples: add missing stdlib.h include in typefind example
Tim-Philipp Müller [Fri, 25 Jun 2010 23:18:10 +0000 (00:18 +0100)]
examples: add missing stdlib.h include in typefind example

14 years agodot-dump: terminate truncated strings and escape special chars
Stefan Kost [Fri, 25 Jun 2010 18:23:22 +0000 (21:23 +0300)]
dot-dump: terminate truncated strings and escape special chars

Fixes syntax errors in generated dot files for caps with strings.

14 years agopad: more documentation regarding the new flags
Edward Hervey [Fri, 25 Jun 2010 16:52:02 +0000 (18:52 +0200)]
pad: more documentation regarding the new flags

14 years agopad: make the NOTHING link check flag be 0
Wim Taymans [Fri, 25 Jun 2010 16:18:55 +0000 (18:18 +0200)]
pad: make the NOTHING link check flag be 0

Make the pad link check of NOTHING be 0. This way we have a flag for each
feature and 0 when no flags are set.

14 years agotests: Remove GstXML tests
Sebastian Dröge [Fri, 25 Jun 2010 16:24:47 +0000 (18:24 +0200)]
tests: Remove GstXML tests

14 years agogstxml: Deprecate GstXml and related functions
Sebastian Dröge [Fri, 25 Jun 2010 16:13:57 +0000 (18:13 +0200)]
gstxml: Deprecate GstXml and related functions

Pipeline serialisation to and from XML is horribly broken for all
but the most simple use cases, and will likely never be fixed.
Make sure everyone playing around with these tools is aware of
this, to avoid frustration. See countless bug reports in bugzilla.

Fixes bug #622685.

14 years agocontroller: Fix build with GST_REMOVE_DEPRECATED
Sebastian Dröge [Fri, 25 Jun 2010 16:11:30 +0000 (18:11 +0200)]
controller: Fix build with GST_REMOVE_DEPRECATED

14 years agobenchmarks: Use gst_element_link_pads_full
Edward Hervey [Thu, 24 Jun 2010 10:19:20 +0000 (12:19 +0200)]
benchmarks: Use gst_element_link_pads_full

We're testing caps negotiation, not pad linking. Brings the startup
time down 100 fold.

14 years agotools: deprecate gst-xmllaunch and print fat warning if someone tries to use it
Tim-Philipp Müller [Thu, 24 Jun 2010 16:53:36 +0000 (17:53 +0100)]
tools: deprecate gst-xmllaunch and print fat warning if someone tries to use it

Pipeline serialisation to and from XML is horribly broken for all
but the most simple use cases, and will likely never be fixed.
Make sure everyone playing around with these tools is aware of
this, to avoid frustration. See countless bug reports in bugzilla.

14 years agogst-launch: rename new --no-play command line option to --no-sigusr-handler
Tim-Philipp Müller [Thu, 24 Jun 2010 16:22:13 +0000 (17:22 +0100)]
gst-launch: rename new --no-play command line option to --no-sigusr-handler

--no-play seems a bit confusing.

Fixes #621867.

14 years agoAutomatic update of common submodule
Stefan Kost [Thu, 24 Jun 2010 12:07:11 +0000 (15:07 +0300)]
Automatic update of common submodule

From 73ff93a to a519571

14 years agobinaryregistry: ignore the plugin cache if the filter environment has changed
Tim-Philipp Müller [Wed, 23 Jun 2010 10:02:16 +0000 (11:02 +0100)]
binaryregistry: ignore the plugin cache if the filter environment has changed

Make sure that we properly update the registry and the cache file whenever
the filter environment changes or there's no more filter set.

14 years agopluginloading: add support for whitelisting based on plugin or source module name...
Tim-Philipp Müller [Thu, 27 May 2010 11:36:10 +0000 (12:36 +0100)]
pluginloading: add support for whitelisting based on plugin or source module name and path

This feature is primarily intended for use in plugin modules' unit tests.

Consider the following situation: gst-plugins-good is built against an
installed GStreamer core. An older version of gst-plugins-good is also
installed in that prefix, along with random other plugin modules. Now,
when doing 'make check' in the just-built gst-plugins-good tree, we
want to only load plugins from GStreamer core, gst-plugins-base, and
gst-plugins-good, but not random other modules (we don't want any unit
tests to fail just because some module in gst-plugins-bad has a broken
plugin_init, for example). Also, we want to only load gst-plugins-good
modules from the locally-built source tree, but not any of the older
gst-plugins-good modules installed. This is usually assured by loading
the ones in the source tree first (by adding that path first to the
right environment variables), but it gets tricky when plugins are
moved, removed, merged, or renamed, or the plugin filename changes.

Note that 'make check' should really work right without doing
'make install' or uninstalling the old gst-plugins-good package (or
any other gst-plugins-foo package) first.

Enter GST_PLUGIN_LOADING_WHITELIST. This environment variable may
contain source-package@path-prefix pairs separated by the platform
search path separator (G_SEARCHPATH_SEPARATOR_S). The source package
and path prefix are separated by the '@' character. The path prefix is
entirely optional, as is the '@' separator if no path is given.

It is also possible to filter based on plugin names instead of the name
of the source-package by specifying one or more plugin names separated
by commas before the optional path prefix.

In short, the following match patterns are possible:

   plugin1,plugin2@pathprefix or
   plugin1,plugin2@* or just
   plugin1,plugin2 or
   source-package@pathprefix or
   source-package@* or just
   source-package

So for our gst-plugins-good unit test example above, we  would set the
environment variable on *nix to something like this (will likely be a
relative path in practice):
gstreamer:gst-plugins-base:gst-plugins-good@/path/to/src/gst-plugins-good

Fixes #619815 and #619717.

14 years agogstghostpad: We don't need any checks when linking target pad
Edward Hervey [Wed, 23 Jun 2010 15:24:07 +0000 (17:24 +0200)]
gstghostpad: We don't need any checks when linking target pad

https://bugzilla.gnome.org/show_bug.cgi?id=622504

14 years agogstutils: New gst_element_link_pads_full method
Edward Hervey [Wed, 23 Jun 2010 15:00:17 +0000 (17:00 +0200)]
gstutils: New gst_element_link_pads_full method

Links the elements with the specified pad linking checks.

API:gst_element_link_pads_full

https://bugzilla.gnome.org/show_bug.cgi?id=622504

14 years agoGstPad: Add new pad linking method with configurable checks.
Edward Hervey [Wed, 23 Jun 2010 14:45:19 +0000 (16:45 +0200)]
GstPad: Add new pad linking method with configurable checks.

To be used for cases where we don't need all checks to be validated.

API: gst_pad_link_full
API: GstPadLinkCheck

https://bugzilla.gnome.org/show_bug.cgi?id=622504

14 years agotag: Adds GST_TAG_IMAGE_ORIENTATION tag
Thiago Santos [Tue, 15 Jun 2010 21:26:01 +0000 (18:26 -0300)]
tag: Adds GST_TAG_IMAGE_ORIENTATION tag

Adds a new tag to inform about the image orientation and how
to rotate and flip it before display.

Note that this tag is a string with a predefined set of
possible values.

API: GST_TAG_IMAGE_ORIENTATION

Fixes #619508

14 years agogstobject: deprecate gst_object_{set|get}_name_prefix()
Tim-Philipp Müller [Tue, 22 Jun 2010 17:53:15 +0000 (18:53 +0100)]
gstobject: deprecate gst_object_{set|get}_name_prefix()

The name prefix stuff has never been used for anything and it doesn't
look like we'll ever want to use it for anything.

Fixes #621006.

14 years agoAdd gobject-introspection annotations for GstPadIntLinkFunction
Johan Dahlin [Tue, 22 Jun 2010 13:20:53 +0000 (10:20 -0300)]
Add gobject-introspection annotations for GstPadIntLinkFunction

Fixes build with latest gobject-introspection from git.

https://bugzilla.gnome.org/show_bug.cgi?id=622025

14 years agoqueue2: fix merging of ranges
Wim Taymans [Mon, 21 Jun 2010 09:41:46 +0000 (11:41 +0200)]
queue2: fix merging of ranges

When we merge two ranges, don't updata the current range writing_pos with
whereever we were writing earlier in the merged range.  Spotted by bilboed.

14 years agoregistry: also skip .deps dirs when scanning for plugins
Tim-Philipp Müller [Sat, 19 Jun 2010 10:19:37 +0000 (11:19 +0100)]
registry: also skip .deps dirs when scanning for plugins

No need to descend into .deps dirs in uninstalled setups, we know
these don't contain any plugins.

14 years agotaglist: add gst_tag_list_peek_string_index to avoid a copy
Thiago Santos [Thu, 17 Jun 2010 14:39:04 +0000 (11:39 -0300)]
taglist: add gst_tag_list_peek_string_index to avoid a copy

Adds a variation of the _get_string_index function that doesn't copy
the string.

API: gst_tag_list_peek_string_index

https://bugzilla.gnome.org/show_bug.cgi?id=621896

14 years agotypefind: make sure buffers' metadata is writable before setting caps on them
Tim-Philipp Müller [Fri, 18 Jun 2010 11:00:53 +0000 (12:00 +0100)]
typefind: make sure buffers' metadata is writable before setting caps on them

Fixes warnings when using playbin2 with dvb:// streams, where typefind
comes after mpegtsparse.

14 years agodocs: update introspected plugin docs for gstdoc-scanobj changes
Tim-Philipp Müller [Thu, 17 Jun 2010 14:52:57 +0000 (15:52 +0100)]
docs: update introspected plugin docs for gstdoc-scanobj changes

Update common for latest gstdoc-scanobj and inspect xml files for
escaping and pad template order changes.

14 years agobasesink: Initialize jitter to prevent printing an uninitialized variable if waiting...
Sebastian Dröge [Thu, 17 Jun 2010 11:19:24 +0000 (13:19 +0200)]
basesink: Initialize jitter to prevent printing an uninitialized variable if waiting for the clock failed

14 years agopo: update for new strings
Tim-Philipp Müller [Thu, 17 Jun 2010 09:34:51 +0000 (10:34 +0100)]
po: update for new strings

14 years agomanual: fix another typo and some inaccuracies
Tim-Philipp Müller [Thu, 17 Jun 2010 08:33:43 +0000 (09:33 +0100)]
manual: fix another typo and some inaccuracies

Fix a wrong statement and flesh out section on messages and queries
a bit.

14 years agomanual: Fix another typo
Alexander Saprykin [Thu, 17 Jun 2010 07:05:58 +0000 (09:05 +0200)]
manual: Fix another typo

14 years agomanual: Fix typo
Alexander Saprykin [Thu, 17 Jun 2010 07:05:28 +0000 (09:05 +0200)]
manual: Fix typo

14 years agoelementfactory: Add an allow-none annotation
Johan Dahlin [Wed, 16 Jun 2010 16:11:06 +0000 (13:11 -0300)]
elementfactory: Add an allow-none annotation

https://bugzilla.gnome.org/show_bug.cgi?id=621773

14 years agominiobject: Add introspection annotations
Johan Dahlin [Wed, 16 Jun 2010 16:10:26 +0000 (13:10 -0300)]
miniobject: Add introspection annotations

These are required to know how to unref/ref and
convert to/from a GValue.

https://bugzilla.gnome.org/show_bug.cgi?id=621773

14 years agoevent: Add out annotations
Johan Dahlin [Wed, 16 Jun 2010 16:10:13 +0000 (13:10 -0300)]
event: Add out annotations

https://bugzilla.gnome.org/show_bug.cgi?id=621773

14 years agoquery: Add out annotations
Johan Dahlin [Wed, 16 Jun 2010 16:10:06 +0000 (13:10 -0300)]
query: Add out annotations

https://bugzilla.gnome.org/show_bug.cgi?id=621773

14 years agomessage: Add out annotations
Johan Dahlin [Wed, 16 Jun 2010 16:09:57 +0000 (13:09 -0300)]
message: Add out annotations

https://bugzilla.gnome.org/show_bug.cgi?id=621773

14 years agofdsink: make sync property work correctly
Wim Taymans [Wed, 16 Jun 2010 11:00:30 +0000 (13:00 +0200)]
fdsink: make sync property work correctly

Don't override the default get_times vmethod so that we can use the sync
property.
Set the default sync property to FALSE. It used to be set to TRUE but because
the get_times was NULL, it always behaved like FALSE.

Fixes #621530

14 years agoelement: Improve gst_element_get_name() docs
Benjamin Gaignard [Tue, 15 Jun 2010 16:48:53 +0000 (18:48 +0200)]
element: Improve gst_element_get_name() docs

Fixes bug #621660.

14 years agoAutomatic update of common submodule
Edward Hervey [Tue, 15 Jun 2010 14:49:04 +0000 (16:49 +0200)]
Automatic update of common submodule

From 9339ccc to 35617c2

14 years agoAutomatic update of common submodule
Stefan Kost [Tue, 15 Jun 2010 13:53:35 +0000 (16:53 +0300)]
Automatic update of common submodule

From 5adb1ca to 9339ccc

14 years agoAutomatic update of common submodule
Stefan Kost [Tue, 15 Jun 2010 13:34:37 +0000 (16:34 +0300)]
Automatic update of common submodule

From 57c89b7 to 5adb1ca

14 years agoAutomatic update of common submodule
Stefan Kost [Tue, 15 Jun 2010 12:31:12 +0000 (15:31 +0300)]
Automatic update of common submodule

From c804988 to 57c89b7

14 years agoRevert "GstPad: Add GST_PAD_NEGOTIABLE GstPadFlag"
Edward Hervey [Tue, 15 Jun 2010 09:48:26 +0000 (11:48 +0200)]
Revert "GstPad: Add GST_PAD_NEGOTIABLE GstPadFlag"

This reverts commit dc38e75d88bd8921895821f7afed01cab30e46c9.

boom

14 years agoRevert "gstpad: Return pad template in get_caps if pad is not negotiable"
Edward Hervey [Tue, 15 Jun 2010 09:48:17 +0000 (11:48 +0200)]
Revert "gstpad: Return pad template in get_caps if pad is not negotiable"

This reverts commit 7460321a600438966d7152ab2b4318be48eadce0.

crack

14 years agoRevert "pad: fix comment"
Edward Hervey [Tue, 15 Jun 2010 09:48:07 +0000 (11:48 +0200)]
Revert "pad: fix comment"

This reverts commit 8e92cb4a7d56cdfa4674315c64b58c1b1b9d8208.

whatever...

14 years agoRevert "element: only clear negotiable when going to NULL"
Edward Hervey [Tue, 15 Jun 2010 09:47:57 +0000 (11:47 +0200)]
Revert "element: only clear negotiable when going to NULL"

This reverts commit 8f5ec1f737c3b37538b2307aef160d9d21f1c422.

bleeeeh

14 years agoinfo: add dummy TRACE log level macros for when debugging is disabled
Tim-Philipp Müller [Tue, 15 Jun 2010 09:46:08 +0000 (10:46 +0100)]
info: add dummy TRACE log level macros for when debugging is disabled

Forgot those when adding the original API, just like the API markers
in the commit message:

API: GST_TRACE
API: GST_TRACE_OBJECT
API: GST_CAT_TRACE
API: GST_CAT_TRACE_OBJECT
API: GST_LEVEL_TRACE

Fixes compilation with --disable-gst-debug

14 years agogst-launch: print more errors to stderr and suppress more output in quiet mode
Tim-Philipp Müller [Tue, 15 Jun 2010 00:15:54 +0000 (01:15 +0100)]
gst-launch: print more errors to stderr and suppress more output in quiet mode

If --quiet is given, don't print anything but errors. Also, make
sure errors are always printed to stderr and not to stdout.

Fixes #621595.

14 years agoelement: only clear negotiable when going to NULL
Wim Taymans [Mon, 14 Jun 2010 16:07:23 +0000 (18:07 +0200)]
element: only clear negotiable when going to NULL

Don't clear the negotiable flag when going to READY because then it will never
be set to TRUE again.

14 years agopad: fix comment
Wim Taymans [Mon, 14 Jun 2010 15:33:16 +0000 (17:33 +0200)]
pad: fix comment

14 years agogstpad: Return pad template in get_caps if pad is not negotiable
Edward Hervey [Mon, 17 May 2010 13:06:37 +0000 (15:06 +0200)]
gstpad: Return pad template in get_caps if pad is not negotiable

https://bugzilla.gnome.org/show_bug.cgi?id=618644

14 years agoGstPad: Add GST_PAD_NEGOTIABLE GstPadFlag
Edward Hervey [Mon, 17 May 2010 13:04:48 +0000 (15:04 +0200)]
GstPad: Add GST_PAD_NEGOTIABLE GstPadFlag

A pad is 'negotiable' when its container element is in a state greater
than GST_STATE_READY

API:gst_pad_is_negotiable
API:gst_pad_set_negotiable
API:GST_PAD_NEGOTIABLE

https://bugzilla.gnome.org/show_bug.cgi?id=618644

14 years agofakesink: use method to set sync property
Wim Taymans [Mon, 14 Jun 2010 14:51:39 +0000 (16:51 +0200)]
fakesink: use method to set sync property

Use the basesink method to configure the sync property instead of poking the
parent structure.

14 years agofilesink: use the default get_times function
Wim Taymans [Mon, 14 Jun 2010 14:50:41 +0000 (16:50 +0200)]
filesink: use the default get_times function

Use the default get_times function of basesink so that we honour the sync
property instead of never synchronizing to the clock.

Fixes #621530

14 years agobasetransform: reevaluate proxy_alloc when reconfigured
Wim Taymans [Mon, 14 Jun 2010 14:20:18 +0000 (16:20 +0200)]
basetransform: reevaluate proxy_alloc when reconfigured

When we reconfigure the transform element, make sure we reevaluate the proxying
of buffer_alloc the next time around.

Fixes #621332

14 years agocaps: Don't use invalid fraction range in the unit test
Sebastian Dröge [Mon, 14 Jun 2010 13:39:57 +0000 (15:39 +0200)]
caps: Don't use invalid fraction range in the unit test

14 years agogstvalue: Add some more assertions and checks for valid input parameters
Sebastian Dröge [Mon, 14 Jun 2010 13:30:08 +0000 (15:30 +0200)]
gstvalue: Add some more assertions and checks for valid input parameters

14 years agoadapter: optimize progressive masked_scan
Mark Nauwelaerts [Thu, 27 May 2010 13:13:18 +0000 (15:13 +0200)]
adapter: optimize progressive masked_scan

Retain the last scanned buffer entry and offset, so we can resume buffer
scanning there in case of a typical progressive scan.
Also potentially optimize _copy subsequently occurring in that area.

14 years agoadapter: add extended masked_scan_uint32_peek that also provides matching value
Mark Nauwelaerts [Thu, 27 May 2010 10:15:22 +0000 (12:15 +0200)]
adapter: add extended masked_scan_uint32_peek that also provides matching value

Also add to .def and docs.

Fixes #619828.

API: gst_adapter_masked_scan_uint32_peek

14 years agowin32: fix .def file
Edward Hervey [Mon, 14 Jun 2010 11:38:41 +0000 (13:38 +0200)]
win32: fix .def file

14 years agodocs: add Since: tag for new gst_caps_steal_structure
Tim-Philipp Müller [Mon, 14 Jun 2010 11:25:33 +0000 (12:25 +0100)]
docs: add Since: tag for new gst_caps_steal_structure

14 years agodocs: fix example to use a category name that actually exists
Tim-Philipp Müller [Fri, 11 Jun 2010 14:36:10 +0000 (15:36 +0100)]
docs: fix example to use a category name that actually exists

14 years agogstcaps: New gst_caps_steal_structure() method
Edward Hervey [Mon, 14 Jun 2010 09:39:40 +0000 (11:39 +0200)]
gstcaps: New gst_caps_steal_structure() method

This allows removing structures from caps without them being freed. Helpful when
plugins need to move around structures without having to do an expensive structure
copy.

API:gst_caps_steal_structure

https://bugzilla.gnome.org/show_bug.cgi?id=621527

14 years agoconfigure: Don't add G_THREADS_MANDATORY to GST_ALL_CFLAGS
Sebastian Dröge [Mon, 14 Jun 2010 11:10:07 +0000 (13:10 +0200)]
configure: Don't add G_THREADS_MANDATORY to GST_ALL_CFLAGS

It's already included in GLIB_EXTRA_CFLAGS

14 years agoconfigure: use GLIB_EXTRA_CFLAGS
Sebastian Dröge [Mon, 14 Jun 2010 11:07:33 +0000 (13:07 +0200)]
configure: use GLIB_EXTRA_CFLAGS

14 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 14 Jun 2010 11:02:08 +0000 (13:02 +0200)]
Automatic update of common submodule

From 7a0fdf5 to c804988

14 years agocapsfilter: fix printf format
Wim Taymans [Mon, 14 Jun 2010 11:01:55 +0000 (13:01 +0200)]
capsfilter: fix printf format

14 years agocapsfilter: implement custom accept_caps method
Wim Taymans [Mon, 14 Jun 2010 10:39:47 +0000 (12:39 +0200)]
capsfilter: implement custom accept_caps method

Implement a custom acceptcaps function. We can simply check if there is an
intersection with the new caps. This makes the accept caps function much faster.

See #621190

14 years agobasetransform: add accept_caps vmethod
Wim Taymans [Mon, 14 Jun 2010 10:36:54 +0000 (12:36 +0200)]
basetransform: add accept_caps vmethod

Allow subclasses to override the acceptcaps function because in some cases a
custom implementation can be much much faster than the default one.

See #621190

14 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 14 Jun 2010 09:30:20 +0000 (11:30 +0200)]
Automatic update of common submodule

From 6da3bab to 7a0fdf5

14 years agocapsfilter: Remove transform_size
Olivier Crête [Fri, 11 Jun 2010 22:49:02 +0000 (18:49 -0400)]
capsfilter: Remove transform_size

GstBaseTransform now assumes that the size is the same if there is not
transform_size.

https://bugzilla.gnome.org/show_bug.cgi?id=621334

14 years agobasetransform: Assume size is the same if no transform_size/get_unit_size
Olivier Crête [Fri, 11 Jun 2010 22:46:30 +0000 (18:46 -0400)]
basetransform: Assume size is the same if no transform_size/get_unit_size

Subclasses that don't implemen transform_size should be assumed to produce output
buffers of the same size.

https://bugzilla.gnome.org/show_bug.cgi?id=621334

14 years agogstvalue: Don't initialize arrays from variables
Sebastian Dröge [Mon, 14 Jun 2010 06:18:00 +0000 (08:18 +0200)]
gstvalue: Don't initialize arrays from variables

14 years agoelement: Store result of strtol in an unused variable to really fix a compiler warning...
Sebastian Dröge [Mon, 14 Jun 2010 06:11:35 +0000 (08:11 +0200)]
element: Store result of strtol in an unused variable to really fix a compiler warning...

14 years agoelement: Cast return value to void to prevent compiler warning
Sebastian Dröge [Sun, 13 Jun 2010 18:52:36 +0000 (20:52 +0200)]
element: Cast return value to void to prevent compiler warning

14 years agortpool-test: Prevent NULL pointer dereference
Sebastian Dröge [Sun, 13 Jun 2010 16:12:47 +0000 (18:12 +0200)]
rtpool-test: Prevent NULL pointer dereference

14 years agobasesink: Make sure we have a valid object to render in _render_object()
Sebastian Dröge [Sun, 13 Jun 2010 16:05:41 +0000 (18:05 +0200)]
basesink: Make sure we have a valid object to render in _render_object()

14 years agogstvalue: Add some assertion guards against invalid parameters to public API
Sebastian Dröge [Sun, 13 Jun 2010 16:00:22 +0000 (18:00 +0200)]
gstvalue: Add some assertion guards against invalid parameters to public API

14 years agoRemove some dead assignments
Sebastian Dröge [Sun, 13 Jun 2010 15:08:48 +0000 (17:08 +0200)]
Remove some dead assignments

14 years agobufferstress: Check if the number of threads and buffers makes sense
Sebastian Dröge [Sun, 13 Jun 2010 15:06:44 +0000 (17:06 +0200)]
bufferstress: Check if the number of threads and buffers makes sense

14 years agoread-metadata: Stop if setting the pipeline state back to NULL fails
Sebastian Dröge [Sun, 13 Jun 2010 15:03:53 +0000 (17:03 +0200)]
read-metadata: Stop if setting the pipeline state back to NULL fails

14 years agocomplexity: Remove dead assignments and unused variables
Sebastian Dröge [Sun, 13 Jun 2010 14:59:40 +0000 (16:59 +0200)]
complexity: Remove dead assignments and unused variables

14 years agoqueue2: Don't ignore failure to open the temporary file location
Sebastian Dröge [Sun, 13 Jun 2010 14:31:21 +0000 (16:31 +0200)]
queue2: Don't ignore failure to open the temporary file location

And immediately leave the state change function on failures.

14 years agopad: Fix iterator aggregation of all pads in the internal links fallback
Sebastian Dröge [Sun, 13 Jun 2010 14:27:39 +0000 (16:27 +0200)]
pad: Fix iterator aggregation of all pads in the internal links fallback

g_list_prepend() returns the new head of the list and not
using this will create a memory leak and a single-element list.

14 years agoiterator: Add new FIXME for 0.11 and update gst_iterator_find_custom docs
Sebastian Dröge [Sun, 13 Jun 2010 13:25:24 +0000 (15:25 +0200)]
iterator: Add new FIXME for 0.11 and update gst_iterator_find_custom docs

The compare function should only unref the element if it's
not the matching element.

Also the FIXME in _fold() is not relevant because the ref/unref
happens in the fold function.

14 years agoiterator: If the iterator resync in find_custom() just retry
Sebastian Dröge [Sun, 13 Jun 2010 09:24:10 +0000 (11:24 +0200)]
iterator: If the iterator resync in find_custom() just retry

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 12 Jun 2010 06:25:24 +0000 (08:25 +0200)]
Automatic update of common submodule

From 733fca9 to 6da3bab

14 years agovalue: Add test for deserializing fourccs
Sebastian Dröge [Sat, 12 Jun 2010 06:04:47 +0000 (08:04 +0200)]
value: Add test for deserializing fourccs

14 years agovalue: Fixed serialization for short fourccs.
Martin Bisson [Fri, 11 Jun 2010 22:56:13 +0000 (22:56 +0000)]
value: Fixed serialization for short fourccs.

"Y16 " and "Y8  " were not displayed properly because the space
character is not alnum.  A unit test is also included.

Fixes bug #621282.

14 years agogst-inspect: print ranks with offsets from names
David Schleef [Fri, 11 Jun 2010 23:12:33 +0000 (16:12 -0700)]
gst-inspect: print ranks with offsets from names

14 years agoAutomatic update of common submodule
David Schleef [Wed, 9 Jun 2010 19:39:54 +0000 (12:39 -0700)]
Automatic update of common submodule

From fad145b to 733fca9

14 years agoAutomatic update of common submodule
David Schleef [Wed, 9 Jun 2010 19:30:49 +0000 (12:30 -0700)]
Automatic update of common submodule

From 47683c1 to fad145b

14 years agodebugutils: fix comment typo even more
Stefan Kost [Wed, 9 Jun 2010 09:17:03 +0000 (12:17 +0300)]
debugutils: fix comment typo even more

14 years agodocs: update docs (format and search path).
Stefan Kost [Wed, 9 Jun 2010 09:06:52 +0000 (12:06 +0300)]
docs: update docs (format and search path).

Remove obsolete xml registry cache extension. Tell that content and location is
internal detail. Docuemnt the plugin search order.

14 years agocomments: add a few comments to the sparsely documented plugin loader
Stefan Kost [Wed, 9 Jun 2010 09:06:16 +0000 (12:06 +0300)]
comments: add a few comments to the sparsely documented plugin loader

14 years agodebugutils: fix comment typo
Zaheer Abbas Merali [Tue, 8 Jun 2010 09:41:11 +0000 (11:41 +0200)]
debugutils: fix comment typo

14 years agocaps: use gst_caps_append_structure_unchecked() macro once more
Stefan Kost [Tue, 8 Jun 2010 09:12:42 +0000 (12:12 +0300)]
caps: use gst_caps_append_structure_unchecked() macro once more

14 years agocaps: use a safer name for temporary var. to not shadow one from outer scope
Stefan Kost [Tue, 8 Jun 2010 09:10:36 +0000 (12:10 +0300)]
caps: use a safer name for temporary var. to not shadow one from outer scope

14 years agovalue: use glib types in more places
Stefan Kost [Mon, 7 Jun 2010 09:20:41 +0000 (12:20 +0300)]
value: use glib types in more places

Do a bunch of char -> gchar, int -> gint, double -> gdouble changes.