platform/upstream/gstreamer.git
14 years agogsturi: Optimisation : Cast when we're sure of the type.
Edward Hervey [Thu, 22 Oct 2009 11:13:56 +0000 (13:13 +0200)]
gsturi: Optimisation : Cast when we're sure of the type.

Also directly access GstElementFactory->uri_type instead of going
through a function that will (once again) check whether it's a
GstElementFactory

14 years agotests/fakesink: Add some debugging
Edward Hervey [Thu, 22 Oct 2009 10:33:37 +0000 (12:33 +0200)]
tests/fakesink: Add some debugging

14 years agotests/faeksink: Lower the number of threads to avoid timeouts
Edward Hervey [Thu, 22 Oct 2009 10:33:01 +0000 (12:33 +0200)]
tests/faeksink: Lower the number of threads to avoid timeouts

We just end up with way too much contention in glib otherwise.

14 years agogstregistry: Use hash table when finding a feature. Fixes #598895
Edward Hervey [Mon, 19 Oct 2009 07:06:16 +0000 (09:06 +0200)]
gstregistry: Use hash table when finding a feature. Fixes #598895

14 years agotee: implement custom acceptcaps function
Wim Taymans [Wed, 21 Oct 2009 20:26:01 +0000 (16:26 -0400)]
tee: implement custom acceptcaps function

Implement a custom acceptcaps function on the sinkpad. We can accept any caps as
long as it is accepted by all downstream peer elements.

14 years agomultiqueue: avoid lock for taking the counter
Wim Taymans [Wed, 21 Oct 2009 17:38:57 +0000 (13:38 -0400)]
multiqueue: avoid lock for taking the counter

The counter for incomming data is already protected with the STREAM_LOCK so we
don't need to add another lock around it.

14 years agoregistry: hash the plugin basename
Wim Taymans [Wed, 21 Oct 2009 03:28:54 +0000 (23:28 -0400)]
registry: hash the plugin basename

Maintain a hashtable of the plugin basename. We can then use this
hashtable to speedup the search for an existing plugin and avoid
a whole lot of strcmp calls.

14 years agoregistry: speed up _strlen
Wim Taymans [Wed, 21 Oct 2009 03:27:41 +0000 (23:27 -0400)]
registry: speed up _strlen

Make the _strlen function a little tighter

14 years agoregistry: name is never NULL
Wim Taymans [Wed, 21 Oct 2009 01:43:58 +0000 (21:43 -0400)]
registry: name is never NULL

When looking up a feature by name, we never call this internal
function with NULL so we don't have to check for it.

14 years agoregistry: refactor plugin lookup
Wim Taymans [Wed, 21 Oct 2009 01:39:11 +0000 (21:39 -0400)]
registry: refactor plugin lookup

We keep lookup plugins by their basename. Avoid creating a basename
from a filename if we can.

14 years agoregistry: do quick check for . files
Wim Taymans [Wed, 21 Oct 2009 01:01:55 +0000 (21:01 -0400)]
registry: do quick check for . files

Do a quick check for . files before calling the strcmp functions

14 years agoRemove executable bits on xml unit test.
Michael Smith [Tue, 20 Oct 2009 19:21:09 +0000 (12:21 -0700)]
Remove executable bits on xml unit test.

14 years agodocs: Fix docs for gst_caps_set_simple()
Benjamin Otte [Mon, 19 Oct 2009 14:47:10 +0000 (16:47 +0200)]
docs: Fix docs for gst_caps_set_simple()

14 years agodocs: Modify docs string slightly.
Jan Schmidt [Mon, 19 Oct 2009 12:02:30 +0000 (13:02 +0100)]
docs: Modify docs string slightly.

Apparently starting the last line of a docs string with 'returns' both
confuses and enrages gtk-doc. Use a slightly different wording instead.

14 years agopluginloader: When a plugin is blacklisted, output a GST_ERROR line.
Jan Schmidt [Mon, 19 Oct 2009 11:29:35 +0000 (12:29 +0100)]
pluginloader: When a plugin is blacklisted, output a GST_ERROR line.

14 years agotools/gst-inspect: Check we're not handling NULL pointers.
Edward Hervey [Mon, 19 Oct 2009 11:30:10 +0000 (13:30 +0200)]
tools/gst-inspect: Check we're not handling NULL pointers.

14 years agotools/gst-inspect: Remove dead assignment
Edward Hervey [Mon, 19 Oct 2009 11:29:40 +0000 (13:29 +0200)]
tools/gst-inspect: Remove dead assignment

14 years agotrace: Do not poison gst_trace_add_entry()
Peter Kjellerstedt [Wed, 14 Oct 2009 08:54:32 +0000 (10:54 +0200)]
trace: Do not poison gst_trace_add_entry()

Since gst_trace_add_entry() is a macro, gcc will barf when it is
defined in case it has been poisoned due to trace support being
disabled.

14 years agocontroller: just cast in internal API where we have checked parameters already
Stefan Kost [Sun, 18 Oct 2009 20:18:58 +0000 (23:18 +0300)]
controller: just cast in internal API where we have checked parameters already

14 years agocontroller: use g_slice for controlled property structures
Stefan Kost [Sun, 18 Oct 2009 20:15:07 +0000 (23:15 +0300)]
controller: use g_slice for controlled property structures

Use g_slide instead of nomal g_new, Also don't init struct with 0 as we need to
init it anyway with the real values.
Also join the 3 flags checks into one.

14 years agolibs/base/typefindhelper: Remove useless typechecking in tight loop
Edward Hervey [Sun, 18 Oct 2009 15:17:17 +0000 (17:17 +0200)]
libs/base/typefindhelper: Remove useless typechecking in tight loop

The list against which we run the comparefunc will only contain
GstPluginFeature, therefore remove the 6 expensive type checks we do
for every single comparision.

14 years agocaps: fix typo in docs
Wim Taymans [Fri, 16 Oct 2009 10:39:54 +0000 (12:39 +0200)]
caps: fix typo in docs

14 years agowin32: Add new API symbol
Edward Hervey [Fri, 16 Oct 2009 07:43:08 +0000 (09:43 +0200)]
win32: Add new API symbol

14 years agoAutomatic update of common submodule
Stefan Kost [Fri, 16 Oct 2009 07:13:53 +0000 (10:13 +0300)]
Automatic update of common submodule

From 85d1530 to 0702fe1

14 years agoImprove caps setters API
Benjamin Otte [Wed, 7 Oct 2009 13:32:18 +0000 (15:32 +0200)]
Improve caps setters API

This patch adds gst_caps_set_value() and allows gst_caps_set_simple() to
work on non-simple caps. See the API documentation for the functions
about what they do.

The intention of these changes is to ease working with caps in caps
transform functions. An example for this would be ffmpegcolorspace,
where the caps transform function could be changed to look roughly like
this (pseudocode ahead):
  result = gst_caps_copy (template_caps);
  value = gst_structure_get_value (gst_caps_get_structure (caps, 0),
    "widh");
  gst_caps_set_value (result, value);
  /* same for height, framerate and par */
  return caps;
which is much cleaner and easier to understand than the current code.

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

14 years agoAdd XML_LIBS when building tests that use xml-specific functions
Benjamin Otte [Fri, 2 Oct 2009 08:15:55 +0000 (10:15 +0200)]
Add XML_LIBS when building tests that use xml-specific functions

14 years agopo: Don't create backup .po files
Jan Schmidt [Thu, 15 Oct 2009 15:35:59 +0000 (16:35 +0100)]
po: Don't create backup .po files

As well as preventing creation of useless backup files, it works
around a bug in gettext 0.17 on OS/X

14 years agobasesrc: fix race in PLAYING->PAUSED->PLAYING
Wim Taymans [Thu, 15 Oct 2009 14:30:36 +0000 (16:30 +0200)]
basesrc: fix race in PLAYING->PAUSED->PLAYING

When we quickly switch from PLAYING to PAUSED and back to PLAYING it's possible
in some cases that the task refuses to start, This is because when we go to
PAUSED, we unschedule the clock timeout, which could return UNSCHEDULED when
we're back to PLAYING, causing the task to PAUSE again with a wrong-state.

This patch checks if we are running when we return with an UNSCHEDULED return
value and if we are, try to create a new buffer.

Fixes #597550

14 years agodocs: clarify preset api docs
Stefan Kost [Thu, 15 Oct 2009 09:16:05 +0000 (12:16 +0300)]
docs: clarify preset api docs

14 years agodocs: fix controller sections docs
Stefan Kost [Wed, 14 Oct 2009 14:57:40 +0000 (17:57 +0300)]
docs: fix controller sections docs

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 14 Oct 2009 08:40:50 +0000 (10:40 +0200)]
Automatic update of common submodule

From 6380d4b to 85d1530

14 years agoiterator: Fix a documentation typo
Peter Kjellerstedt [Wed, 14 Oct 2009 08:16:31 +0000 (10:16 +0200)]
iterator: Fix a documentation typo

14 years agobuild: ...and add missing endif
Sebastian Dröge [Wed, 14 Oct 2009 06:57:52 +0000 (08:57 +0200)]
build: ...and add missing endif

14 years agobuild: Also don't run make check-exports if debugging is disabled
Sebastian Dröge [Wed, 14 Oct 2009 06:57:04 +0000 (08:57 +0200)]
build: Also don't run make check-exports if debugging is disabled

14 years agobuild: Only run make check-exports if no public API was disabled
Peter Kjellerstedt [Wed, 14 Oct 2009 06:50:31 +0000 (08:50 +0200)]
build: Only run make check-exports if no public API was disabled

Fixes bug #598297.

14 years agogstobject: Replace recursive gst_object_has_ancestor() with an iterative version
Sebastian Dröge [Wed, 14 Oct 2009 06:30:07 +0000 (08:30 +0200)]
gstobject: Replace recursive gst_object_has_ancestor() with an iterative version

This is slightly more efficient because the compiler can't do tail
recursion here and has to keep all stack frames.

Not that efficiency is that important here but I already had
the iterative version somewhere else and both are easy to read.

14 years agogstobject: Add simple unit test for gst_object_has_ancestor()
Sebastian Dröge [Wed, 14 Oct 2009 06:29:32 +0000 (08:29 +0200)]
gstobject: Add simple unit test for gst_object_has_ancestor()

14 years agonetclientclock: fix timestamp comparission, Fixes #597407
Tommi Myöhänen [Tue, 13 Oct 2009 16:12:50 +0000 (19:12 +0300)]
netclientclock: fix timestamp comparission, Fixes #597407

14 years agocheck: Disable the test_fail_abstract_new() test entirely on OS/X
Jan Schmidt [Mon, 12 Oct 2009 20:51:55 +0000 (21:51 +0100)]
check: Disable the test_fail_abstract_new() test entirely on OS/X

Fixes a compiler warning from the function being compiled but not
used.

14 years agodebug: Mark the GST_POLL symbol as extern to avoid multiply-defined error
Jan Schmidt [Mon, 12 Oct 2009 13:57:35 +0000 (14:57 +0100)]
debug: Mark the GST_POLL symbol as extern to avoid multiply-defined error

14 years agoUpdate common to 6380d4b370f078f0cca7240428ea9f6639571ff5
Jan Schmidt [Mon, 12 Oct 2009 13:47:30 +0000 (14:47 +0100)]
Update common to 6380d4b370f078f0cca7240428ea9f6639571ff5

14 years agogstpoll: Make the new GST_POLL debug completely private
Jan Schmidt [Mon, 12 Oct 2009 13:24:04 +0000 (14:24 +0100)]
gstpoll: Make the new GST_POLL debug completely private

Make the GST_POLL debug category symbol private to libgstreamer, as
there should be no external users of it.

14 years agochecks: Disable a fairly silly gstobject test on OS/X
Jan Schmidt [Mon, 12 Oct 2009 13:22:34 +0000 (14:22 +0100)]
checks: Disable a fairly silly gstobject test on OS/X

This test used to SIGBUS on OS/X but now SIGSEGV's instead on
Snow Leopard. It's not worth the effort to figure out which platform
should produce which error for what is fundamentally a pretty silly
test, so just disable it on OS/X

14 years agolibs/gst/check: Make writing threadsafe. Backported from libcheck trunk
Edward Hervey [Mon, 12 Oct 2009 11:50:51 +0000 (13:50 +0200)]
libs/gst/check: Make writing threadsafe. Backported from libcheck trunk

14 years agolibs/gst/check: Run gst-indent on libcheck.
Edward Hervey [Mon, 12 Oct 2009 11:49:35 +0000 (13:49 +0200)]
libs/gst/check: Run gst-indent on libcheck.

14 years agogstpluginloader: Don't wait forever on gst_poll_wait.
Edward Hervey [Mon, 12 Oct 2009 10:02:34 +0000 (12:02 +0200)]
gstpluginloader: Don't wait forever on gst_poll_wait.

This allows the macosx versions to properly error out when fds are closed.

This is only a temporary fix until the pluginloader is switched to not
use GstPoll but GIOChannels.

14 years agogstpoll: Only take into account active fds
Edward Hervey [Mon, 12 Oct 2009 10:01:59 +0000 (12:01 +0200)]
gstpoll: Only take into account active fds

This is needed so that select properly errors out on macosx (sigh)

14 years agogstpoll: Add some debugging statements
Edward Hervey [Mon, 12 Oct 2009 08:07:03 +0000 (10:07 +0200)]
gstpoll: Add some debugging statements

14 years agogstpoll: Use the error fdset when using select/pselect.
Edward Hervey [Mon, 12 Oct 2009 08:01:01 +0000 (10:01 +0200)]
gstpoll: Use the error fdset when using select/pselect.

This is needed to properly detect fds that are closed or that got
an error

14 years agogstpoll: Don't use poll on systems with broken poll
Edward Hervey [Mon, 12 Oct 2009 07:50:46 +0000 (09:50 +0200)]
gstpoll: Don't use poll on systems with broken poll

14 years agogst: Add debugging category GST_POLL for gstpoll
Edward Hervey [Mon, 12 Oct 2009 07:50:00 +0000 (09:50 +0200)]
gst: Add debugging category GST_POLL for gstpoll

14 years agoconfigure.ac: Detect broken poll()
Edward Hervey [Mon, 12 Oct 2009 07:47:59 +0000 (09:47 +0200)]
configure.ac: Detect broken poll()

14 years agobasesink: lets keep -1 for segmenst as they are guint64 and not GstClockTime
Stefan Kost [Fri, 9 Oct 2009 14:44:28 +0000 (17:44 +0300)]
basesink: lets keep -1 for segmenst as they are guint64 and not GstClockTime

14 years agobasesink: use GST_CLOCK_TIME_NONE and GST_CLOCK_TIME_IS_VALID more
Stefan Kost [Fri, 9 Oct 2009 14:11:27 +0000 (17:11 +0300)]
basesink: use GST_CLOCK_TIME_NONE and GST_CLOCK_TIME_IS_VALID more

14 years agopluginloader: Fix valgrind warnings by zeroing padding bytes.
Jan Schmidt [Thu, 8 Oct 2009 22:10:40 +0000 (23:10 +0100)]
pluginloader: Fix valgrind warnings by zeroing padding bytes.

14 years agocheck: Hopefully fix an 'may be used uninitialized' warning on OS/X
Jan Schmidt [Thu, 8 Oct 2009 16:19:38 +0000 (17:19 +0100)]
check: Hopefully fix an 'may be used uninitialized' warning on OS/X

14 years agoregistrychunks: Fix a debug format string harder to satisfy OS/X's gcc.
Jan Schmidt [Thu, 8 Oct 2009 15:21:45 +0000 (16:21 +0100)]
registrychunks: Fix a debug format string harder to satisfy OS/X's gcc.

14 years agoregistrychunks: Fix format string for debug error message.
Jan Schmidt [Thu, 8 Oct 2009 15:05:08 +0000 (16:05 +0100)]
registrychunks: Fix format string for debug error message.

14 years agopluginloader: Move stdin and stdout out of harm's way
Jan Schmidt [Thu, 8 Oct 2009 14:21:48 +0000 (15:21 +0100)]
pluginloader: Move stdin and stdout out of harm's way

In the plugin loader subprocess, move stdin and stdout to new fd's
so that plugins printing things during plugin init or (*gasp*)
possibly reading from stdin don't interfere with the data sent to
and from the parent.

14 years agoplugin docs: Add GST_PLUGIN_SCANNER env var to the inspect environment
Jan Schmidt [Thu, 8 Oct 2009 10:17:14 +0000 (11:17 +0100)]
plugin docs: Add GST_PLUGIN_SCANNER env var to the inspect environment

14 years agoAutomatic update of common submodule
Jan Schmidt [Thu, 8 Oct 2009 09:59:15 +0000 (10:59 +0100)]
Automatic update of common submodule

From 37f898b to a3e3ce4

14 years agogitignores: Ignore the bytewriter check binary
Jan Schmidt [Thu, 8 Oct 2009 09:39:28 +0000 (10:39 +0100)]
gitignores: Ignore the bytewriter check binary

14 years agoregistry: Fix error handling in the registry loader
Jan Schmidt [Thu, 8 Oct 2009 09:36:56 +0000 (10:36 +0100)]
registry: Fix error handling in the registry loader

When the plugin-scanner load fails (because the helper can't be
spawned), make sure to load the plugin that failed in-process, so
that all plugins do get loaded.

14 years agocheck: Fix test run in tests/examples/manual
Jan Schmidt [Thu, 8 Oct 2009 09:26:27 +0000 (10:26 +0100)]
check: Fix test run in tests/examples/manual

Add the GST_PLUGIN_SCANNER env var to the check environment here too
so that it doesn't fail when no installed scanner is available.

14 years agogstinfo: add back fix that shouldn't have been reverted
Tim-Philipp Müller [Thu, 8 Oct 2009 08:34:47 +0000 (09:34 +0100)]
gstinfo: add back fix that shouldn't have been reverted

14 years agoqueue: more queue optimizations
Stefan Kost [Thu, 8 Oct 2009 07:47:44 +0000 (10:47 +0300)]
queue: more queue optimizations

Split gst_queue_locked_enqueue() into variant for buffer and event to get rid of
the if() and make the code more readable (constant boolean parameters are never
nice). Removes the if (item) checks as we dereference the pointer before anyway.

Also apply the same idea of reusing the previous knowledge in
gst_queue_locked_dequeue to remove more type checks.

14 years agomultiqueue: split gst_multi_queue_item_new
Stefan Kost [Thu, 8 Oct 2009 07:51:49 +0000 (10:51 +0300)]
multiqueue: split gst_multi_queue_item_new

Split gst_multi_queue_item_new into buffer and event variant to make save an if
and make code more readable.

14 years agoplugins/gstfilesrc: Make a fast-path for length == 0 buffer creation.
Edward Hervey [Thu, 8 Oct 2009 06:55:59 +0000 (08:55 +0200)]
plugins/gstfilesrc: Make a fast-path for length == 0 buffer creation.

If the requested length is 0, we don't need to read anything from the file.

14 years agogst/check/consistencychecker: Check type of miniobject in probe
Edward Hervey [Thu, 8 Oct 2009 06:55:23 +0000 (08:55 +0200)]
gst/check/consistencychecker: Check type of miniobject in probe

14 years agogst/base/basesink: Remove dead assignment.
Edward Hervey [Thu, 8 Oct 2009 06:53:54 +0000 (08:53 +0200)]
gst/base/basesink: Remove dead assignment.

The code was previously:
* checking if ret was != OK
* .. but if it was FLOW_STEP, swith it to OK
* .. and then not using ret

Instead we just make it more compact by checking if it's OK or STEP.

14 years agogstobject: Remove dead assignment.
Edward Hervey [Thu, 8 Oct 2009 06:53:26 +0000 (08:53 +0200)]
gstobject: Remove dead assignment.

object is no longer used after that line

14 years agogstindex: Make sure writer is non-NULL.
Edward Hervey [Thu, 8 Oct 2009 06:52:18 +0000 (08:52 +0200)]
gstindex: Make sure writer is non-NULL.

Fixes the NULL dereference a few lines lower (where it gets the object type).

14 years agobenchmarks: Clean up gstbufferstress.
Edward Hervey [Tue, 29 Sep 2009 06:13:40 +0000 (08:13 +0200)]
benchmarks: Clean up gstbufferstress.

14 years agobenchmarks: Fix the complexity and mass-elements benchmarks
Jan Schmidt [Thu, 8 Oct 2009 01:42:16 +0000 (02:42 +0100)]
benchmarks: Fix the complexity and mass-elements benchmarks

14 years agochecks: Fix string leaks in the new childproxy test
Jan Schmidt [Thu, 8 Oct 2009 01:20:51 +0000 (02:20 +0100)]
checks: Fix string leaks in the new childproxy test

14 years agoplugin: Ignore an empty dependency list.
Jan Schmidt [Thu, 8 Oct 2009 01:03:08 +0000 (02:03 +0100)]
plugin: Ignore an empty dependency list.

If a plugin registers an empty dependency set, just ignore it rather
than serialising and checking an empty set.

14 years agoregistrychunks: Fix off-by-one error. Improve debug.
Jan Schmidt [Thu, 8 Oct 2009 01:01:54 +0000 (02:01 +0100)]
registrychunks: Fix off-by-one error. Improve debug.

Fix an off-by-one error in the size guard for unpack_element, and
improve various debug statements in the failure paths.

Also, swap some g_new0 to g_malloc0 for the fun of it.

14 years agofilesink: Use _wfopen on win32 to open files with non-ascii filenames correctly.
Michael Smith [Wed, 7 Oct 2009 23:02:58 +0000 (16:02 -0700)]
filesink: Use _wfopen on win32 to open files with non-ascii filenames correctly.

14 years agodocs: fix Since: tags in docs for newly-added API
Tim-Philipp Müller [Wed, 7 Oct 2009 22:31:20 +0000 (23:31 +0100)]
docs: fix Since: tags in docs for newly-added API

14 years agoinfo: revert two of the changes
Stefan Kost [Wed, 7 Oct 2009 21:08:47 +0000 (00:08 +0300)]
info: revert two of the changes

It only needed for the non constant string.

14 years agoinfo: use a "%s" format string when printing the memory dump line
Stefan Kost [Wed, 7 Oct 2009 20:36:45 +0000 (23:36 +0300)]
info: use a "%s" format string when printing the memory dump line

We know that the content is save, but the compiler does not.

14 years agoparse: don't format the string twice
Rob Clark [Wed, 7 Oct 2009 20:23:08 +0000 (23:23 +0300)]
parse: don't format the string twice

We were formatting the string once and then passing the string as a format
string to the log functions.

14 years agopad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941
Stefan Kost [Wed, 7 Oct 2009 08:43:54 +0000 (11:43 +0300)]
pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941

In most places in core and baseclasses we just need the caps to do caps-
intersections. In that case ref'ed caps are enough (no need to copy).
This patch also switches the code to use the new functions.
API: gst_pad_get_caps_refed(), gst_pad_peer_get_caps_refed()

14 years agotests: add ghostpad test for setting target again after pad is linked
Stefan Kost [Sat, 26 Sep 2009 20:43:37 +0000 (23:43 +0300)]
tests: add ghostpad test for setting target again after pad is linked

14 years agotests: remove empty lines from wrong indent run
Stefan Kost [Sat, 26 Sep 2009 20:42:22 +0000 (23:42 +0300)]
tests: remove empty lines from wrong indent run

14 years agocheck: Fix compilation of the bytewriter test
Jan Schmidt [Wed, 7 Oct 2009 19:38:49 +0000 (20:38 +0100)]
check: Fix compilation of the bytewriter test

14 years agowin32: add new byte writer and reader API to .def file
Tim-Philipp Müller [Wed, 7 Oct 2009 17:07:26 +0000 (18:07 +0100)]
win32: add new byte writer and reader API to .def file

API: gst_byte_writer_*()

14 years agoelementfactory: fix spelling in comment
Michael Smith [Thu, 20 Aug 2009 21:24:19 +0000 (14:24 -0700)]
elementfactory: fix spelling in comment

14 years agomultiqueue: flush queue upon fatal flowreturn and release upstream thread
Mark Nauwelaerts [Wed, 7 Oct 2009 16:40:46 +0000 (18:40 +0200)]
multiqueue: flush queue upon fatal flowreturn and release upstream thread

14 years agodataqueue: fix API documentation typo
Mark Nauwelaerts [Tue, 22 Sep 2009 13:44:31 +0000 (15:44 +0200)]
dataqueue: fix API documentation typo

14 years agobytewriter: Add to the docs
Sebastian Dröge [Wed, 7 Oct 2009 16:37:28 +0000 (18:37 +0200)]
bytewriter: Add to the docs

14 years agobytewriter: Add unit test
Sebastian Dröge [Mon, 5 Oct 2009 09:24:35 +0000 (11:24 +0200)]
bytewriter: Add unit test

14 years agobytewriter: Add a generic byte writer
Sebastian Dröge [Sat, 3 Oct 2009 11:30:54 +0000 (13:30 +0200)]
bytewriter: Add a generic byte writer

Fixes bug #590669.

14 years agobitreader/bytereader: API: Add gst_(bit|byte)_reader_get_size()
Sebastian Dröge [Sat, 3 Oct 2009 13:57:07 +0000 (15:57 +0200)]
bitreader/bytereader: API: Add gst_(bit|byte)_reader_get_size()

... and GST_(BYTE|BIT)_READER() casts.

14 years agobytereader,bitreader: Remove FIXME 0.11 to remove non-inlined functions
Sebastian Dröge [Sat, 3 Oct 2009 10:34:54 +0000 (12:34 +0200)]
bytereader,bitreader: Remove FIXME 0.11 to remove non-inlined functions

The normal functions are always useful to have for bindings, especially
runtime-created bindings like Seed or new GObject-Introspection based
Python bindings.

14 years agocheck: Attempt to fix type-punning warning in the gstiterator test
Jan Schmidt [Wed, 7 Oct 2009 15:36:31 +0000 (16:36 +0100)]
check: Attempt to fix type-punning warning in the gstiterator test

14 years agocheck: Make sure to init the dataprotocol lib.
Jan Schmidt [Wed, 7 Oct 2009 15:00:12 +0000 (16:00 +0100)]
check: Make sure to init the dataprotocol lib.

Call the gst_dp_init() function to ensure that the debug
category is initialised, to avoid g_criticals when running with
GST_DEBUG=5

14 years agocheck: Use GST_DEBUG instead of g_message in the gdp test
Jan Schmidt [Wed, 7 Oct 2009 14:47:45 +0000 (15:47 +0100)]
check: Use GST_DEBUG instead of g_message in the gdp test

14 years agocheck: Add GST_PLUGIN_SCANNER env var to the check environment
Jan Schmidt [Wed, 7 Oct 2009 14:14:46 +0000 (15:14 +0100)]
check: Add GST_PLUGIN_SCANNER env var to the check environment

14 years agoregistry: improve plugin loader failure message for uninstalled setups
Tim-Philipp Müller [Wed, 7 Oct 2009 13:34:17 +0000 (14:34 +0100)]
registry: improve plugin loader failure message for uninstalled setups

Everyone running an uninstalled git setup is going to wonder about
this failure next time they update, so let's mention the solution
in the error message.