Edward Hervey
8f9d7f2bd1
Automatic update of common submodule
...
From 6380d4b to 85d1530
2009-10-14 10:40:50 +02:00
Peter Kjellerstedt
1314aa75d5
iterator: Fix a documentation typo
2009-10-14 10:16:31 +02:00
Sebastian Dröge
957c0e11b2
build: ...and add missing endif
2009-10-14 08:57:52 +02:00
Sebastian Dröge
4200639298
build: Also don't run make check-exports if debugging is disabled
2009-10-14 08:57:04 +02:00
Peter Kjellerstedt
1b569d8cb4
build: Only run make check-exports if no public API was disabled
...
Fixes bug #598297 .
2009-10-14 08:50:31 +02:00
Sebastian Dröge
b8454d623d
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.
2009-10-14 08:34:03 +02:00
Sebastian Dröge
4917bb4fc2
gstobject: Add simple unit test for gst_object_has_ancestor()
2009-10-14 08:34:03 +02:00
Tommi Myöhänen
87058ab28e
netclientclock: fix timestamp comparission, Fixes #597407
2009-10-13 19:12:50 +03:00
Jan Schmidt
ffb8518d01
check: Disable the test_fail_abstract_new() test entirely on OS/X
...
Fixes a compiler warning from the function being compiled but not
used.
2009-10-12 21:51:55 +01:00
Jan Schmidt
36ccb66fb5
debug: Mark the GST_POLL symbol as extern to avoid multiply-defined error
2009-10-12 14:57:35 +01:00
Jan Schmidt
9641a2b151
Update common to 6380d4b370f078f0cca7240428ea9f6639571ff5
2009-10-12 14:47:30 +01:00
Jan Schmidt
2ddf028503
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.
2009-10-12 14:24:53 +01:00
Jan Schmidt
2d4795cd17
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
2009-10-12 14:24:53 +01:00
Edward Hervey
53209f0220
libs/gst/check: Make writing threadsafe. Backported from libcheck trunk
2009-10-12 13:50:51 +02:00
Edward Hervey
bf3ab71a2b
libs/gst/check: Run gst-indent on libcheck.
2009-10-12 13:49:35 +02:00
Edward Hervey
7f68d7a6f8
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.
2009-10-12 12:21:49 +02:00
Edward Hervey
edce400c79
gstpoll: Only take into account active fds
...
This is needed so that select properly errors out on macosx (sigh)
2009-10-12 12:01:59 +02:00
Edward Hervey
dc3fb58a90
gstpoll: Add some debugging statements
2009-10-12 10:07:03 +02:00
Edward Hervey
3254f19c6f
gstpoll: Use the error fdset when using select/pselect.
...
This is needed to properly detect fds that are closed or that got
an error
2009-10-12 10:01:01 +02:00
Edward Hervey
95413683fa
gstpoll: Don't use poll on systems with broken poll
2009-10-12 09:53:58 +02:00
Edward Hervey
0fc16a8e74
gst: Add debugging category GST_POLL for gstpoll
2009-10-12 09:50:00 +02:00
Edward Hervey
b90360473b
configure.ac: Detect broken poll()
2009-10-12 09:47:59 +02:00
Stefan Kost
7fcd73875f
basesink: lets keep -1 for segmenst as they are guint64 and not GstClockTime
2009-10-09 17:44:28 +03:00
Stefan Kost
4efc01a61d
basesink: use GST_CLOCK_TIME_NONE and GST_CLOCK_TIME_IS_VALID more
2009-10-09 17:15:52 +03:00
Jan Schmidt
e3ce7d3e35
pluginloader: Fix valgrind warnings by zeroing padding bytes.
2009-10-08 23:10:40 +01:00
Jan Schmidt
5dbe63c07a
check: Hopefully fix an 'may be used uninitialized' warning on OS/X
2009-10-08 17:19:38 +01:00
Jan Schmidt
09ae85670c
registrychunks: Fix a debug format string harder to satisfy OS/X's gcc.
2009-10-08 16:21:45 +01:00
Jan Schmidt
a58702de89
registrychunks: Fix format string for debug error message.
2009-10-08 16:05:08 +01:00
Jan Schmidt
63934021ab
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.
2009-10-08 15:21:48 +01:00
Jan Schmidt
aeb3f1f1ff
plugin docs: Add GST_PLUGIN_SCANNER env var to the inspect environment
2009-10-08 11:17:14 +01:00
Jan Schmidt
73dd6314b0
Automatic update of common submodule
...
From 37f898b to a3e3ce4
2009-10-08 10:59:15 +01:00
Jan Schmidt
5c46b8774b
gitignores: Ignore the bytewriter check binary
2009-10-08 10:39:28 +01:00
Jan Schmidt
f514ef0efc
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.
2009-10-08 10:36:56 +01:00
Jan Schmidt
509e1fdf0e
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.
2009-10-08 10:29:08 +01:00
Tim-Philipp Müller
8b8d8bb112
gstinfo: add back fix that shouldn't have been reverted
2009-10-08 09:36:38 +01:00
Stefan Kost
9f9353a84a
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.
2009-10-08 10:54:42 +03:00
Stefan Kost
963932b1f1
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.
2009-10-08 10:54:35 +03:00
Edward Hervey
4cfe11d42c
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.
2009-10-08 08:55:59 +02:00
Edward Hervey
9b17059deb
gst/check/consistencychecker: Check type of miniobject in probe
2009-10-08 08:55:23 +02:00
Edward Hervey
a8e03abd17
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.
2009-10-08 08:53:54 +02:00
Edward Hervey
015c5dda8f
gstobject: Remove dead assignment.
...
object is no longer used after that line
2009-10-08 08:53:26 +02:00
Edward Hervey
219c3c5236
gstindex: Make sure writer is non-NULL.
...
Fixes the NULL dereference a few lines lower (where it gets the object type).
2009-10-08 08:52:18 +02:00
Edward Hervey
fff8656af3
benchmarks: Clean up gstbufferstress.
2009-10-08 08:20:13 +02:00
Jan Schmidt
8a8408846a
benchmarks: Fix the complexity and mass-elements benchmarks
2009-10-08 02:42:16 +01:00
Jan Schmidt
077ca39def
checks: Fix string leaks in the new childproxy test
2009-10-08 02:20:51 +01:00
Jan Schmidt
69bce376b0
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.
2009-10-08 02:06:34 +01:00
Jan Schmidt
83252f42c9
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.
2009-10-08 02:06:33 +01:00
Michael Smith
0c3a8165b6
filesink: Use _wfopen on win32 to open files with non-ascii filenames correctly.
2009-10-07 16:03:30 -07:00
Tim-Philipp Müller
07d953b791
docs: fix Since: tags in docs for newly-added API
2009-10-07 23:34:44 +01:00
Stefan Kost
cb7a8e8b61
info: revert two of the changes
...
It only needed for the non constant string.
2009-10-08 00:08:47 +03:00