platform/upstream/gstreamer.git
17 years agogst/gstcaps.c: Add some refcount debugging.
Wim Taymans [Thu, 25 Jan 2007 17:41:39 +0000 (17:41 +0000)]
gst/gstcaps.c: Add some refcount debugging.

Original commit message from CVS:
* gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
Add some refcount debugging.
Make gst_static_caps_get threadsafe, which is needed when autoplugging
in multiple streaming threads.

17 years agoAPI: gst_adapter_copy() that can reduce the amount of memcpy when getting data from...
David Schleef [Thu, 25 Jan 2007 10:50:03 +0000 (10:50 +0000)]
API: gst_adapter_copy() that can reduce the amount of memcpy when getting data from the adapter. Fixes #388201.

Original commit message from CVS:
Patch by: David Schleef <ds at schleef dot org>
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstadapter.c: (gst_adapter_copy):
* libs/gst/base/gstadapter.h:
API: gst_adapter_copy() that can reduce the amount of memcpy when
getting data from the adapter. Fixes #388201.

17 years agogst/gstregistrybinary.c: In print statements, "%x" is for guint. Fixes build on macosx.
Edward Hervey [Thu, 25 Jan 2007 10:14:09 +0000 (10:14 +0000)]
gst/gstregistrybinary.c: In print statements, "%x" is for guint. Fixes build on macosx.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
In print statements, "%x" is for guint. Fixes build on macosx.

17 years agoplugins/elements/gstmultiqueue.c: Small fix.
Edward Hervey [Wed, 24 Jan 2007 11:32:00 +0000 (11:32 +0000)]
plugins/elements/gstmultiqueue.c: Small fix.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
(gst_multi_queue_loop):
Small fix.
(single_queue_overrun_cb), (single_queue_underrun_cb),
(single_queue_check_full), (gst_single_queue_new):
Implement single queue growth system.
This uses the extra-size properties, and will grow single queues by
that much if one goes full whereas there are others empty. This is
called extra-mode in the code.
When a single queue's levels go back below the initial max-size
limits, it is no longer in extra-mode. This is to ensure we don't
consume too much memory.
Fixes #399875

17 years agogst/gst.c: Make warning about late g_thread_init() calls a bit more explicit, so...
Tim-Philipp Müller [Tue, 23 Jan 2007 13:50:42 +0000 (13:50 +0000)]
gst/gst.c: Make warning about late g_thread_init() calls a bit more explicit, so that it's more obvious to applicatio...

Original commit message from CVS:
* gst/gst.c: (gst_init_get_option_group):
Make warning about late g_thread_init() calls a bit more explicit,
so that it's more obvious to application developers what they need
to do if a user files a bug against their application.

17 years agoplugins/elements/gstmultiqueue.c: Remove previous hack of unsetting the flushing...
Edward Hervey [Mon, 22 Jan 2007 16:00:39 +0000 (16:00 +0000)]
plugins/elements/gstmultiqueue.c: Remove previous hack of unsetting the flushing flag for the source pad instead of a...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
(gst_multi_queue_src_activate_push), (gst_single_queue_new):
Remove previous hack of unsetting the flushing flag for the source pad
instead of activating it. Instead, fix the source pad activate function
so that it no longer depends on having a parent set or not.

17 years agodocs/manual/basics-bus.xml: Fix example code, gst_element_unref() doesn't exist any...
Carlos Sanmartin Dominguez [Mon, 22 Jan 2007 14:30:27 +0000 (14:30 +0000)]
docs/manual/basics-bus.xml: Fix example code, gst_element_unref() doesn't exist any longer.

Original commit message from CVS:
Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
* docs/manual/basics-bus.xml:
Fix example code, gst_element_unref() doesn't exist any longer.

17 years agogst/gstpad.c: Fix two docs typoes (#399094).
Mark Nauwelaerts [Sun, 21 Jan 2007 20:24:11 +0000 (20:24 +0000)]
gst/gstpad.c: Fix two docs typoes (#399094).

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/gstpad.c:
Fix two docs typoes (#399094).

17 years agodocs/faq/gst-uninstalled: Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that...
Edward Hervey [Fri, 19 Jan 2007 09:15:21 +0000 (09:15 +0000)]
docs/faq/gst-uninstalled: Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins depending on libgstbaseu...

Original commit message from CVS:
* docs/faq/gst-uninstalled:
Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
depending on libgstbaseutils can work in uninstalled environment.

17 years agogst/: Add more docs regarding tag merge-modes and when to send tags. Fix 'since'...
Stefan Kost [Thu, 18 Jan 2007 12:00:23 +0000 (12:00 +0000)]
gst/: Add more docs regarding tag merge-modes and when to send tags. Fix 'since' statement for new tag.

Original commit message from CVS:
* gst/gsttaglist.h:
* gst/gsttagsetter.c:
Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
statement for new tag.

17 years agoplugins/elements/gstmultiqueue.c: When dynamically creating single queues, activate...
Edward Hervey [Wed, 17 Jan 2007 14:33:39 +0000 (14:33 +0000)]
plugins/elements/gstmultiqueue.c: When dynamically creating single queues, activate sinkpad before adding it.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
When dynamically creating single queues, activate sinkpad before adding
it.
We should be doing the same thing for the source pad, but we can't
since it would call a method which needs the parent to be set in order
to work propertly. Instead of activating the source pad, we just unset
the flushing flag, which is the minimal requirement for adding a pad
to an element in a state greater than READY.

17 years agodocs/faq/gst-uninstalled: Add DYLD_LIBRARY_PATH declarations so we can also use this...
Edward Hervey [Wed, 17 Jan 2007 14:26:46 +0000 (14:26 +0000)]
docs/faq/gst-uninstalled: Add DYLD_LIBRARY_PATH declarations so we can also use this script on

Original commit message from CVS:
* docs/faq/gst-uninstalled:
Add DYLD_LIBRARY_PATH declarations so we can also use this script on
Mac OS X.

17 years agotests/check/: Add ABI structs for HPPA (see #393796).
Tim-Philipp Müller [Wed, 17 Jan 2007 12:31:01 +0000 (12:31 +0000)]
tests/check/: Add ABI structs for HPPA (see #393796).

Original commit message from CVS:
* tests/check/gst/gstabi.c:
* tests/check/gst/struct_hppa.h:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_hppa.h:
Add ABI structs for HPPA (see #393796).

17 years agolibs/gst/check/gstcheck.c: Actually write ABI structs to the file specified in the...
Tim-Philipp Müller [Tue, 16 Jan 2007 09:57:50 +0000 (09:57 +0000)]
libs/gst/check/gstcheck.c: Actually write ABI structs to the file specified in the GST_ABI environment variable, as t...

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_abi_list):
Actually write ABI structs to the file specified in the GST_ABI
environment variable, as the message we print claims we would.

17 years agotests/check/gst/gsttask.c: Fix header comment.
Stefan Kost [Mon, 15 Jan 2007 14:51:09 +0000 (14:51 +0000)]
tests/check/gst/gsttask.c: Fix header comment.

Original commit message from CVS:
* tests/check/gst/gsttask.c:
Fix header comment.

17 years agogst/gsttaglist.c: Change tag type from STRING to DOUBLE. Apply ChangeLog surgery...
Stefan Kost [Mon, 15 Jan 2007 14:39:51 +0000 (14:39 +0000)]
gst/gsttaglist.c: Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my previous two entries.

Original commit message from CVS:
* gst/gsttaglist.c: (_gst_tag_initialize):
Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
previous two entries.

17 years agoadd tag support for beat-per-minute
Stefan Kost [Mon, 15 Jan 2007 13:57:12 +0000 (13:57 +0000)]
add tag support for beat-per-minute

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
add tag support for beat-per-minute

17 years agogst/gstregistrybinary.*: use glib types, cleanup comments, impement interfaces and...
Stefan Kost [Mon, 15 Jan 2007 12:18:46 +0000 (12:18 +0000)]
gst/gstregistrybinary.*: use glib types, cleanup comments, impement interfaces and uri-types

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_save_string), (gst_registry_binary_make_data),
(gst_registry_binary_save_pad_template),
(gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
use glib types, cleanup comments, impement interfaces and uri-types

17 years agogst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow getrange() to return...
Andy Wingo [Sat, 13 Jan 2007 10:33:41 +0000 (10:33 +0000)]
gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow getrange() to return buffers with other caps, while we fi...

Original commit message from CVS:
2007-01-13  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
getrange() to return buffers with other caps, while we fix
demuxers and typefind, or otherwise change part-negotiation.txt.

17 years agolibs/gst/base/gstbasetransform.c (gst_base_transform_activate): Factor start/stop...
Andy Wingo [Fri, 12 Jan 2007 21:13:32 +0000 (21:13 +0000)]
libs/gst/base/gstbasetransform.c (gst_base_transform_activate): Factor start/stop into this private function instead ...

Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
Factor start/stop into this private function instead of partially
in activate functions and partially in the change_state function.
Fixes setup before the element has changed from READY->PAUSED, as
is the case in pull-mode pipelines.
(gst_base_transform_sink_activate_push)
(gst_base_transform_src_activate_pull): Refactor to use
gst_base_transform_activate().
(gst_base_transform_change_state): Removed, not needed any more.

* libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
Truncate before fixating.

17 years agolibs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull): Don't set_caps() if the...
Andy Wingo [Fri, 12 Jan 2007 18:06:29 +0000 (18:06 +0000)]
libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull): Don't set_caps() if the result of fixating is ANY, as it'...

Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
Don't set_caps() if the result of fixating is ANY, as it's not
supported, and not necessary in the case of a link with no
template caps on either side. Fixes tests/check/libs/basesrc in
some pull-mode tests.

17 years agolibs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate): (gst_base_transform_init...
Andy Wingo [Fri, 12 Jan 2007 15:56:00 +0000 (15:56 +0000)]
libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate): (gst_base_transform_init, gst_base_transform_sink_activa...

Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
(gst_base_transform_init, gst_base_transform_sink_activate_push)
(gst_base_transform_src_activate_pull):
Track the activation mode.
(gst_base_transform_setcaps): In pull mode, when activating the
src pad, after activating the sink pad, activate the sink pad's
peer, as discussed in part-negotiation.txt.

* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
vmethod, as in basesink.

* libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.

* libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
mode, first proxy the setcaps to the peer pad.
(gst_base_sink_pad_fixate): Add a fixate function that calls the
new fixate vmethod.
(gst_base_sink_default_activate_pull): Rename from
gst_base_sink_activate_pull.
(gst_base_sink_negotiate_pull): New function, performs negotiation
in pull mode before calling ::activate_pull().
(gst_base_sink_pad_activate_pull): Actually call the activate_pull
vmethod instead of the default implementation. I have no idea how
this worked before. Negotiate before calling activate_pull.

17 years agogst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked sink pads in pull...
Andy Wingo [Fri, 12 Jan 2007 15:48:00 +0000 (15:48 +0000)]
gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked sink pads in pull mode. In addition to being correc...

Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
sink pads in pull mode. In addition to being correct, fixes
filesrc ! decodebin ! identity ! fakesink.
(gst_pad_get_range, gst_pad_pull_range): Don't call
gst_pad_set_caps() if the caps changes; instead error out with
GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.

17 years agodocs/design/part-negotiation.txt: Update with more policy.
Andy Wingo [Fri, 12 Jan 2007 15:39:57 +0000 (15:39 +0000)]
docs/design/part-negotiation.txt: Update with more policy.

Original commit message from CVS:
2007-01-12  Andy Wingo  <wingo@pobox.com>

* docs/design/part-negotiation.txt: Update with more policy.

17 years agolibs/gst/check/: Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it...
Tim-Philipp Müller [Fri, 12 Jan 2007 12:48:25 +0000 (12:48 +0000)]
libs/gst/check/: Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it belongs.

Original commit message from CVS:
* libs/gst/check/gstbufferstraw.h:
* libs/gst/check/gstcheck.h:
Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
belongs.

17 years agotests/check/: Add minimal unit test for beforementioned GstTagSetter bug.
Tim-Philipp Müller [Fri, 12 Jan 2007 10:53:54 +0000 (10:53 +0000)]
tests/check/: Add minimal unit test for beforementioned GstTagSetter bug.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
(gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
(gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
(GST_START_TEST), (gst_tag_setter_suite):
Add minimal unit test for beforementioned GstTagSetter bug.

17 years agogst/gsttagsetter.c: gst_tag_list_merge() returns a new list, so it's not the best...
René Stadler [Fri, 12 Jan 2007 10:48:49 +0000 (10:48 +0000)]
gst/gsttagsetter.c: gst_tag_list_merge() returns a new list, so it's not the best idea to ingore its return value. Ef...

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
gst_tag_list_merge() returns a new list, so it's not the best idea
to ingore its return value. Effectively meant that tags could only
be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
Also add function guard to require a non-NULL taglist as input (has
always been so due to gst_tag_list_copy(), just making it explicit).

17 years agodocs/random/draft-missing-plugins.txt: Some additions: mention new API that is suppos...
Tim-Philipp Müller [Thu, 11 Jan 2007 15:03:07 +0000 (15:03 +0000)]
docs/random/draft-missing-plugins.txt: Some additions: mention new API that is supposed to be used at the various sta...

Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Some additions: mention new API that is supposed to be used at the
various stages; short blob about new gst-inspect introspection
option; mention potential future problem with plugins that have
a dynamic list of elements (such as ladspa, pitfdll, libvisual).

17 years agotools/gst-inspect.c: Add --print-plugin-auto-install-info option to gst-inspect,...
Tim-Philipp Müller [Thu, 11 Jan 2007 14:16:23 +0000 (14:16 +0000)]
tools/gst-inspect.c: Add --print-plugin-auto-install-info option to gst-inspect, so we can introspect plugin files an...

Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs),
(print_plugin_automatic_install_info_protocols),
(print_plugin_automatic_install_info), (main):
Add --print-plugin-auto-install-info option to gst-inspect, so we can
introspect plugin files and get machine-parsable output that corresponds
to the last bit of the missing-plugin installer string (small gotcha:
doesn't take into account ranks).

17 years agocommit binary registry (disabled by default, see #359653)
Stefan Kost [Thu, 11 Jan 2007 13:45:51 +0000 (13:45 +0000)]
commit binary registry (disabled by default, see #359653)

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gstregistry.c: (gst_registry_lookup_feature_locked),
(gst_registry_lookup_locked):
* gst/gstregistry.h:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_save_string),
(gst_registry_binary_save_pad_template),
(gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache):
commit binary registry (disabled by default, see #359653)

17 years agotests/check/gst/gstpad.c: Fix 'make check' too.
Tim-Philipp Müller [Thu, 11 Jan 2007 10:48:59 +0000 (10:48 +0000)]
tests/check/gst/gstpad.c: Fix 'make check' too.

Original commit message from CVS:
* tests/check/gst/gstpad.c: (test_get_allowed_caps):
Fix 'make check' too.

17 years agodocs/design/part-negotiation.txt: Fix a typo, add a couple notes.
Andy Wingo [Wed, 10 Jan 2007 21:24:08 +0000 (21:24 +0000)]
docs/design/part-negotiation.txt: Fix a typo, add a couple notes.

Original commit message from CVS:
2007-01-10  Andy Wingo  <wingo@pobox.com>

* docs/design/part-negotiation.txt: Fix a typo, add a couple
notes.

17 years agodocs/design/part-negotiation.txt: Update with, um, one way that pull-mode negotiation...
Andy Wingo [Wed, 10 Jan 2007 21:15:08 +0000 (21:15 +0000)]
docs/design/part-negotiation.txt: Update with, um, one way that pull-mode negotiation might work?

Original commit message from CVS:
2007-01-10  Andy Wingo  <wingo@pobox.com>

* docs/design/part-negotiation.txt: Update with, um, one way that
pull-mode negotiation might work?

* gst/gstpad.h:
* gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
that the pad must be a src pad; makes sense to call it the other
way in pull mode, and the logic is symmetric anyway.

17 years agoplugins/elements/gstfilesink.c: Include <stdio.h> for fseeko().
Tim-Philipp Müller [Wed, 10 Jan 2007 19:25:09 +0000 (19:25 +0000)]
plugins/elements/gstfilesink.c: Include <stdio.h> for fseeko().

Original commit message from CVS:
* plugins/elements/gstfilesink.c:
Include <stdio.h> for fseeko().

17 years agogst/gstevent.*: Reserve LATENCY event.
Wim Taymans [Wed, 10 Jan 2007 10:21:47 +0000 (10:21 +0000)]
gst/gstevent.*: Reserve LATENCY event.

Original commit message from CVS:
* gst/gstevent.c:
* gst/gstevent.h:
Reserve LATENCY event.

17 years agodocs/design/draft-latency.txt: Updates.
Wim Taymans [Tue, 9 Jan 2007 18:09:54 +0000 (18:09 +0000)]
docs/design/draft-latency.txt: Updates.

Original commit message from CVS:
* docs/design/draft-latency.txt:
Updates.

17 years agodocs/design/draft-latency.txt: Updates.
Wim Taymans [Tue, 9 Jan 2007 15:38:58 +0000 (15:38 +0000)]
docs/design/draft-latency.txt: Updates.

Original commit message from CVS:
* docs/design/draft-latency.txt:
Updates.
* gst/gstelement.h:
* gst/gststructure.c:
* gst/gsttrace.c:
Small typo fixes.

17 years agotests/check/.cvsignore: Ignore test-registry.xml as well.
Tim-Philipp Müller [Tue, 9 Jan 2007 14:38:11 +0000 (14:38 +0000)]
tests/check/.cvsignore: Ignore test-registry.xml as well.

Original commit message from CVS:
* tests/check/.cvsignore:
Ignore test-registry.xml as well.

17 years agolibs/gst/base/gstcollectpads.c: unref data at the end when we are done with the pad.
Wim Taymans [Tue, 9 Jan 2007 12:34:45 +0000 (12:34 +0000)]
libs/gst/base/gstcollectpads.c: unref data at the end when we are done with the pad.

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
unref data at the end when we are done with the pad.

17 years agoAPI: add gst_update_registry() (#391296).
Tim-Philipp Müller [Mon, 8 Jan 2007 20:30:12 +0000 (20:30 +0000)]
API: add gst_update_registry() (#391296).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c: (load_plugin_func), (scan_and_update_registry),
(init_post), (gst_deinit), (gst_update_registry):
* gst/gst.h:
API: add gst_update_registry() (#391296).
* tests/check/Makefile.am:
* tests/check/gst/gstregistry.c:
* tests/check/gst/.cvsignore:
Simple unit test for the above.

17 years agogst/gstregistry.c: Plugin extension on HP-UX is .sl, add that to the list of approved...
Tim-Philipp Müller [Mon, 8 Jan 2007 16:23:03 +0000 (16:23 +0000)]
gst/gstregistry.c: Plugin extension on HP-UX is .sl, add that to the list of approved plugin extensions (see #393796).

Original commit message from CVS:
* gst/gstregistry.c: (gst_registry_scan_path_level):
Plugin extension on HP-UX is .sl, add that to the list of approved
plugin extensions (see #393796).
* tests/check/gst/gstpad.c: (GST_START_TEST):
ulong => gulong. Fixes compilation with HP-UX compiler.
* tests/check/pipelines/parse-launch.c: (GST_START_TEST):
Fix compilation if valgrind headers are not available.

17 years agowin32/common/libgstreamer.def: Add new exported function.
Sébastien Moutte [Sun, 7 Jan 2007 10:21:33 +0000 (10:21 +0000)]
win32/common/libgstreamer.def: Add new exported function.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new exported function.
* win32/vs6/libgstbase.dsp:
Add gstdataqueue.c to the build.
* win32/vs6/libgstcoreelements.dsp:
Add gstmultiqueue.c to the build.

17 years agolibs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod, activate_pull(), providing...
Andy Wingo [Sat, 6 Jan 2007 17:18:03 +0000 (17:18 +0000)]
libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod, activate_pull(), providing for a way to specialize the pro...

Original commit message from CVS:
2007-01-06  Andy Wingo  <wingo@pobox.com>

* libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
activate_pull(), providing for a way to specialize the process of
spawning a thread to pull on the sink pad. There is a default
implementation.

* libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
(gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
(gst_base_sink_init): Renamed pad activation functions (inserting
"_pad" in their names). Refactor to use the new activate_pull
vmethod, as appropriate.
(gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
default activate_pull function to start a task pulling from the
sink pad, as before.

17 years agogst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps on the pads if necessa...
Andy Wingo [Sat, 6 Jan 2007 17:09:10 +0000 (17:09 +0000)]
gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps on the pads if necessary, as in push()/chain(). Update...

Original commit message from CVS:
2007-01-06  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
on the pads if necessary, as in push()/chain(). Update docs.
Shouldn't affect existing pull() usage as it is currently only
being used on buffers without caps.

17 years agogst/gst.c: Call g_thread_init() first thing in gst_init() / gst_check_init().
Tim-Philipp Müller [Fri, 5 Jan 2007 16:36:36 +0000 (16:36 +0000)]
gst/gst.c: Call g_thread_init() first thing in gst_init() / gst_check_init().

Original commit message from CVS:
* gst/gst.c: (gst_init_get_option_group), (gst_init_check),
(init_pre):
Call g_thread_init() first thing in gst_init() / gst_check_init().
When initialisation is done via gst_init_get_option_group() and
GOption parsing, issue a warning if the GLib thread system has not
been initialised yet by the time gst_init_get_option_group() is
called, as it's quite likely other GLib functions such as
g_option_context_new() have been called already then, and
g_thread_init() must be called before any other GLib function. The
application in question must be fixed in that case, since memory
corruption might happen otherwise.
We issue the warning because even if the GLib folks decide to work
around the problem on their end in future, this is still an issue
with all GLib versions >= 2.10.0, so we should warn until we depend
on a GLib version we know to be safe.
Update documentation as well.
Closes bug #391278.

17 years agotools/: Call g_thread_init() really really early, before any other GLib function...
Tim-Philipp Müller [Fri, 5 Jan 2007 15:55:16 +0000 (15:55 +0000)]
tools/: Call g_thread_init() really really early, before any other GLib function (see #342564 and recent discussion o...

Original commit message from CVS:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-typefind.c: (main):
* tools/gst-xmlinspect.c: (main):
Call g_thread_init() really really early, before any other GLib
function (see #342564 and recent discussion on gtk-devel-list).

17 years agogst/: On win32, all the __declspec stuff for symbol exporting is apparently only...
Vincent Torri [Fri, 5 Jan 2007 13:23:02 +0000 (13:23 +0000)]
gst/: On win32, all the __declspec stuff for symbol exporting is apparently only needed with MSVC, but doesn't work w...

Original commit message from CVS:
Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
* gst/gst_private.h:
* gst/gstconfig.h.in:
* gst/gstinfo.h:
On win32, all the __declspec stuff for symbol exporting is
apparently only needed with MSVC, but doesn't work with MingW.
Fixes compilation with MingW and #391909.

17 years agolibs/gst/base/gstbasesrc.c: Change some GST_ERROR_OBJECT that aren't really errors to
Tim-Philipp Müller [Fri, 5 Jan 2007 11:57:49 +0000 (11:57 +0000)]
libs/gst/base/gstbasesrc.c: Change some GST_ERROR_OBJECT that aren't really errors to

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
Change some GST_ERROR_OBJECT that aren't really errors to
GST_WARNING_OBJECT in order to reduce terminal spam.

17 years agotests/check/Makefile.am: disable test again, as there seem to be still race problems
Stefan Kost [Thu, 4 Jan 2007 13:54:25 +0000 (13:54 +0000)]
tests/check/Makefile.am: disable test again, as there seem to be still race problems

Original commit message from CVS:
* tests/check/Makefile.am:
disable test again, as there seem to be still race problems

17 years agotests/check/: enable queue test again, add tests for the leaky behaviour
Stefan Kost [Thu, 4 Jan 2007 13:37:08 +0000 (13:37 +0000)]
tests/check/: enable queue test again, add tests for the leaky behaviour

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST), (queue_suite):
enable queue test again, add tests for the leaky behaviour

17 years agoCompile adapter test/example only if the required headers are available (fixes #391915).
Tim-Philipp Müller [Tue, 2 Jan 2007 17:01:33 +0000 (17:01 +0000)]
Compile adapter test/example only if the required headers are available (fixes #391915).

Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
Compile adapter test/example only if the required headers are
available (fixes #391915).

17 years agotell us what's not implemented
Thomas Vander Stichele [Tue, 2 Jan 2007 09:31:45 +0000 (09:31 +0000)]
tell us what's not implemented

Original commit message from CVS:
tell us what's not implemented

17 years agobump to CVS
Thomas Vander Stichele [Tue, 2 Jan 2007 09:31:11 +0000 (09:31 +0000)]
bump to CVS

Original commit message from CVS:
bump to CVS

17 years agogst/gstplugin.c: Restore the previous signal handler for SIGSEGV instead of setting...
David Schleef [Tue, 2 Jan 2007 06:14:06 +0000 (06:14 +0000)]
gst/gstplugin.c: Restore the previous signal handler for SIGSEGV instead of setting to default, since we may have sto...

Original commit message from CVS:
* gst/gstplugin.c:
Restore the previous signal handler for SIGSEGV instead of
setting to default, since we may have stolen it away from
someone.  (i.e., Mono)

18 years agodocs/random/draft-missing-plugins.txt: Some small additions and clarifications.
Tim-Philipp Müller [Tue, 26 Dec 2006 15:55:24 +0000 (15:55 +0000)]
docs/random/draft-missing-plugins.txt: Some small additions and clarifications.

Original commit message from CVS:
* docs/random/draft-missing-plugins.txt:
Some small additions and clarifications.

18 years agogst/gstregistryxml.c: Make sure we don't pass non-UTF-8 strings to g_markup_escape...
Tim-Philipp Müller [Tue, 26 Dec 2006 15:06:52 +0000 (15:06 +0000)]
gst/gstregistryxml.c: Make sure we don't pass non-UTF-8 strings to g_markup_escape(), since that can lead to random m...

Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_save_escaped):
Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
since that can lead to random memory corruptions and crashes
(may or may not be related to #383244, #386711, and #386711).

18 years agotests/check/: sync .cvsignome and CLEANFILES
Stefan Kost [Thu, 21 Dec 2006 15:54:06 +0000 (15:54 +0000)]
tests/check/: sync .cvsignome and CLEANFILES

Original commit message from CVS:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
sync .cvsignome and CLEANFILES

18 years agotests/check/Makefile.am: fix distcheck
Stefan Kost [Thu, 21 Dec 2006 15:32:00 +0000 (15:32 +0000)]
tests/check/Makefile.am: fix distcheck

Original commit message from CVS:
* tests/check/Makefile.am:
fix distcheck

18 years agodocs/design/part-states.txt: two tiny additional comments
Stefan Kost [Thu, 21 Dec 2006 15:00:08 +0000 (15:00 +0000)]
docs/design/part-states.txt: two tiny additional comments

Original commit message from CVS:
* docs/design/part-states.txt:
two tiny additional comments
* gst/gststructure.c:
doc fixing
* tests/check/Makefile.am:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST):
disable test for now, unless it gets fixed

18 years agotests/check/elements/queue.c: fix race in underrun test
Stefan Kost [Thu, 21 Dec 2006 14:24:54 +0000 (14:24 +0000)]
tests/check/elements/queue.c: fix race in underrun test

Original commit message from CVS:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST):
fix race in underrun test

18 years agotests/check/elements/.cvsignore: ignore more
Stefan Kost [Thu, 21 Dec 2006 09:58:25 +0000 (09:58 +0000)]
tests/check/elements/.cvsignore: ignore more

Original commit message from CVS:
* tests/check/elements/.cvsignore:
ignore more
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(GST_START_TEST):
try to narrow test failure

18 years agoplugins/elements/gstfakesrc.c: Use g_random_int_range(), since it produces better...
David Schleef [Thu, 21 Dec 2006 09:37:56 +0000 (09:37 +0000)]
plugins/elements/gstfakesrc.c: Use g_random_int_range(), since it produces better random numbers in a range than almo...

Original commit message from CVS:
* plugins/elements/gstfakesrc.c:
Use g_random_int_range(), since it produces better random
numbers in a range than almost-correct floating point code.

18 years agolibs/gst/check/gstcheck.c: do not automatically (de)activate pads
Stefan Kost [Thu, 21 Dec 2006 08:12:28 +0000 (08:12 +0000)]
libs/gst/check/gstcheck.c: do not automatically (de)activate pads

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
(gst_check_teardown_sink_pad):
do not automatically (de)activate pads
* tests/check/Makefile.am:
* tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
(setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
add new, yet simple tests for queue
* tests/check/elements/fakesrc.c: (cleanup_fakesrc):
* tests/check/elements/fdsrc.c: (cleanup_fdsrc):
* tests/check/elements/filesrc.c: (cleanup_filesrc),
(GST_START_TEST):
* tests/check/elements/identity.c: (cleanup_identity):
consistent pad (de)activation

18 years agolibs/gst/base/gstcollectpads.c: Fix two doc typos (#387866).
Sebastian Dröge [Wed, 20 Dec 2006 19:06:02 +0000 (19:06 +0000)]
libs/gst/base/gstcollectpads.c: Fix two doc typos (#387866).

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo ubuntu com>
* libs/gst/base/gstcollectpads.c:
Fix two doc typos (#387866).

18 years agodocs/manual/advanced-dparams.xml: Fix typo (g_object_control_properties() doesn't...
Tim-Philipp Müller [Tue, 19 Dec 2006 15:06:42 +0000 (15:06 +0000)]
docs/manual/advanced-dparams.xml: Fix typo (g_object_control_properties() doesn't exist).

Original commit message from CVS:
* docs/manual/advanced-dparams.xml:
Fix typo (g_object_control_properties() doesn't exist).

18 years agogst/gstsegment.c: Fine tune the cases where the segment start/stop values are really...
Edward Hervey [Tue, 19 Dec 2006 12:38:00 +0000 (12:38 +0000)]
gst/gstsegment.c: Fine tune the cases where the segment start/stop values are really updated.

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek):
Fine tune the cases where the segment start/stop values are really
updated.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
Add tests for the return values of gst_segment_set_seek().

18 years agogst/gst.c: Docs typo fix.
Tim-Philipp Müller [Tue, 19 Dec 2006 11:04:49 +0000 (11:04 +0000)]
gst/gst.c: Docs typo fix.

Original commit message from CVS:
* gst/gst.c:
Docs typo fix.
* plugins/elements/gstqueue.c: (gst_queue_class_init),
(gst_queue_init):
Fix incorrect documentation and flesh it out a bit more.
Set default values for the max properties on the GParamSpec as well,
so it shows up correctly in gst-inspect.

18 years agoplugins/elements/gstqueue.c: Correct docs of queue, add more detail and crosslink...
Stefan Kost [Mon, 18 Dec 2006 16:01:32 +0000 (16:01 +0000)]
plugins/elements/gstqueue.c: Correct docs of queue, add more detail and crosslink it more.

Original commit message from CVS:
* plugins/elements/gstqueue.c: (queue_leaky_get_type):
Correct docs of queue, add more detail and crosslink it more.

18 years agoplugins/elements/gstidentity.c: Print additional debug info when the stream isn't...
Tim-Philipp Müller [Sat, 16 Dec 2006 19:33:26 +0000 (19:33 +0000)]
plugins/elements/gstidentity.c: Print additional debug info when the stream isn't perfectly timestamped; don't try to...

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Print additional debug info when the stream isn't perfectly
timestamped; don't try to use invalid durations.

18 years agodocs/design/Makefile.am: Dist new design docs.
Tim-Philipp Müller [Sat, 16 Dec 2006 16:14:01 +0000 (16:14 +0000)]
docs/design/Makefile.am: Dist new design docs.

Original commit message from CVS:
* docs/design/Makefile.am:
Dist new design docs.

18 years agolibs/gst/base/gstcollectpads.*: Add refcounting to the collectpads data so we can...
Sjoerd Simons [Sat, 16 Dec 2006 15:17:54 +0000 (15:17 +0000)]
libs/gst/base/gstcollectpads.*: Add refcounting to the collectpads data so we can track when it's safe to free the da...

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
(gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
(gst_collect_pads_stop), (gst_collect_pads_event),
(gst_collect_pads_chain):
* libs/gst/base/gstcollectpads.h:
Add refcounting to the collectpads data so we can track when it's safe
to free the data. Fixes #383382.

18 years agolibs/gst/base/gstcollectpads.c: Automatically activate/deactivate pads when they...
Wim Taymans [Fri, 15 Dec 2006 17:09:59 +0000 (17:09 +0000)]
libs/gst/base/gstcollectpads.c: Automatically activate/deactivate pads when they are added to a started/stoped collec...

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
(gst_collect_pads_remove_pad):
Automatically activate/deactivate pads when they are added to a
started/stoped collectpads.

18 years agogst/: Set pads to FLUSHING when they are created. Check, warn and fix when a demuxer...
Wim Taymans [Fri, 15 Dec 2006 16:01:58 +0000 (16:01 +0000)]
gst/: Set pads to FLUSHING when they are created. Check, warn and fix when a demuxer adds an inactive pad to itself w...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_add_pad):
* gst/gstghostpad.c: (gst_ghost_pad_new_full):
* gst/gstpad.c: (gst_pad_init):
Set pads to FLUSHING when they are created. Check, warn and fix when a
demuxer adds an inactive pad to itself when running. Fixes #339326.

18 years agogst/gstelement.c: Expose default element send_event and query handling as vmethods...
Wim Taymans [Fri, 15 Dec 2006 15:49:29 +0000 (15:49 +0000)]
gst/gstelement.c: Expose default element send_event and query handling as vmethods that subclasses can chain up to.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_default_send_event), (gst_element_send_event),
(gst_element_default_query), (gst_element_query):
Expose default element send_event and query handling as vmethods that
subclasses can chain up to.

18 years agogst/gstelement.c: Small documentation fixes.
Wim Taymans [Fri, 15 Dec 2006 15:39:28 +0000 (15:39 +0000)]
gst/gstelement.c: Small documentation fixes.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_state_func):
Small documentation fixes.

18 years agodocs/design/draft-latency.txt: Checked in draft for handling latency in pipelines.
Wim Taymans [Fri, 15 Dec 2006 15:26:46 +0000 (15:26 +0000)]
docs/design/draft-latency.txt: Checked in draft for handling latency in pipelines.

Original commit message from CVS:
* docs/design/draft-latency.txt:
Checked in draft for handling latency in pipelines.

18 years agoadding .doap file
Thomas Vander Stichele [Fri, 15 Dec 2006 00:16:57 +0000 (00:16 +0000)]
adding .doap file

Original commit message from CVS:
* Makefile.am:
* gstreamer.doap:
* gstreamer.spec.in:
adding .doap file

18 years agogst/gst.c: init_pre() and init_post() might be called via our GOptionGroup or from...
Tim-Philipp Müller [Thu, 14 Dec 2006 14:06:38 +0000 (14:06 +0000)]
gst/gst.c: init_pre() and init_post() might be called via our GOptionGroup or from gst_init(), and we should skip bot...

Original commit message from CVS:
* gst/gst.c: (init_pre), (init_post):
init_pre() and init_post() might be called via our GOptionGroup or
from gst_init(), and we should skip both of them if we've already
been initialised, otherwise we will init some things twice or add
two default log functions.

18 years agodocs/manual/basics-bus.xml: No, gst_main_loop does not exist. Its g_main_loop.
Edward Hervey [Wed, 13 Dec 2006 12:46:28 +0000 (12:46 +0000)]
docs/manual/basics-bus.xml: No, gst_main_loop does not exist. Its g_main_loop.

Original commit message from CVS:
* docs/manual/basics-bus.xml:
No, gst_main_loop does not exist. Its g_main_loop.
Discovered by somebody who abused the copy-paste technique of coding :)

18 years agogst/gstghostpad.c: Log ghostpad debug stuff to the GST_PADS category as well rather...
Tim-Philipp Müller [Wed, 13 Dec 2006 11:05:20 +0000 (11:05 +0000)]
gst/gstghostpad.c: Log ghostpad debug stuff to the GST_PADS category as well rather than just to the default category.

Original commit message from CVS:
* gst/gstghostpad.c:
Log ghostpad debug stuff to the GST_PADS category as well rather
than just to the default category.

18 years agoAdd some basic system details such as OS and architecture to the debug output if...
Tim-Philipp Müller [Tue, 12 Dec 2006 13:53:04 +0000 (13:53 +0000)]
Add some basic system details such as OS and architecture to the debug output if possible, courtesy of uname().

Original commit message from CVS:
* configure.ac:
* gst/gst.c: (init_pre):
Add some basic system details such as OS and architecture
to the debug output if possible, courtesy of uname().

18 years agodocs/gst/running.xml: Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR environment...
Tim-Philipp Müller [Mon, 11 Dec 2006 13:40:32 +0000 (13:40 +0000)]
docs/gst/running.xml: Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR environment variables.

Original commit message from CVS:
* docs/gst/running.xml:
Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
environment variables.

18 years agotests/check/gst/gstbin.c: It is acceptable to have a refcount of 2 or 3 at this point...
Jan Schmidt [Sat, 9 Dec 2006 20:23:10 +0000 (20:23 +0000)]
tests/check/gst/gstbin.c: It is acceptable to have a refcount of 2 or 3 at this point in the test, because the pipeli...

Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST):
It is acceptable to have a refcount of 2 or 3 at this point in the
test, because the pipeline might be just posting its state_change
message. The next line then waits for that message to appear using
bus_poll, so that should be fine too.

18 years agogst/gst.c: Ignore EINTR when reading from the child registry pipe.
Jan Schmidt [Sat, 9 Dec 2006 18:48:57 +0000 (18:48 +0000)]
gst/gst.c: Ignore EINTR when reading from the child registry pipe.

Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
Ignore EINTR when reading from the child registry pipe.
Explicitly ignore the return value from close, since it makes no
difference.
* gst/gstminiobject.c: (gst_mini_object_ref),
(gst_mini_object_unref):
When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
* gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
When removing cached plugins, remove their features too, so they're
not visible after they've disappeared.
* gst/gstutils.c: (prepare_link_maybe_ghosting):
In the unlikely case that we are linking pads with no parents, don't
crash trying to get the non-existent parent bin.
* gst/parse/grammar.y:
Output debug in the PIPELINE category

18 years agogst/gstclock.c: Reject invalid clock times for interval of periodic ids.
René Stadler [Fri, 8 Dec 2006 16:12:44 +0000 (16:12 +0000)]
gst/gstclock.c: Reject invalid clock times for interval of periodic ids.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/gstclock.c: (gst_clock_new_periodic_id):
Reject invalid clock times for interval of periodic ids.
Fixes ##383506.

18 years agoFix refcounting of gst_plugin_feature_load to match the docs.
Jan Schmidt [Thu, 7 Dec 2006 12:11:14 +0000 (12:11 +0000)]
Fix refcounting of gst_plugin_feature_load to match the docs.

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_create):
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
* gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
* tools/gst-inspect.c: (print_element_info):
Fix refcounting of gst_plugin_feature_load to match the docs.
Fixes: #380129
18 years agolibs/gst/base/gstbasesink.c: Improve debugging of events.
Wim Taymans [Thu, 7 Dec 2006 10:59:05 +0000 (10:59 +0000)]
libs/gst/base/gstbasesink.c: Improve debugging of events.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event),
(gst_base_sink_get_position):
Improve debugging of events.

18 years agogst/gstclock.c: Make period ids add the interval to the origial requested time instea...
René Stadler [Thu, 7 Dec 2006 10:51:36 +0000 (10:51 +0000)]
gst/gstclock.c: Make period ids add the interval to the origial requested time instead of the possibly updated time w...

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/gstclock.c: (gst_clock_id_wait):
Make period ids add the interval to the origial requested time instead
of the possibly updated time which can be wrong when there are multiple
waiters for the same id. Fixes #382592.
* gst/gstsystemclock.c: (gst_system_clock_async_thread),
(gst_system_clock_id_wait_jitter_unlocked),
(gst_system_clock_id_wait_jitter):
Fix restart in the async notify thread when an async entry is added to
the front of the list. Fixes #381492.
* tests/check/gst/gstsystemclock.c: (store_callback),
(notify_callback), (GST_START_TEST), (gst_systemclock_suite):
Added test for multiple async waits.
Added test for async wait order.

18 years agogst/gstbin.c: Add some more docs about the POSITION query.
Wim Taymans [Thu, 7 Dec 2006 10:02:19 +0000 (10:02 +0000)]
gst/gstbin.c: Add some more docs about the POSITION query.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_query):
Add some more docs about the POSITION query.

18 years agoconfigure.ac: Bump version nano - back to CVS.
Jan Schmidt [Thu, 7 Dec 2006 02:37:18 +0000 (02:37 +0000)]
configure.ac: Bump version nano - back to CVS.

Original commit message from CVS:
* configure.ac:
Bump version nano - back to CVS.

18 years agoconfigure.ac: releasing 0.10.11, "Love never runs on time" RELEASE-0_10_11
Jan Schmidt [Thu, 7 Dec 2006 02:33:54 +0000 (02:33 +0000)]
configure.ac: releasing 0.10.11, "Love never runs on time"

Original commit message from CVS:
=== release 0.10.11 ===

2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.11, "Love never runs on time"

18 years agowin32/: Fix compilation on win32 under VS8
Sergey Scobich [Fri, 1 Dec 2006 10:23:26 +0000 (10:23 +0000)]
win32/: Fix compilation on win32 under VS8

Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
* win32/vs8/libgstbase.vcproj:
* win32/vs8/libgstcoreelements.vcproj:
* win32/vs8/libgstreamer.vcproj:
Fix compilation on win32 under VS8
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
Partially fixes #381175

18 years agoUpdate .po files
Jan Schmidt [Thu, 30 Nov 2006 22:55:08 +0000 (22:55 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agogst/gstvalue.c: If someone is foolish enough to compare 2 fractions with denominator...
Jan Schmidt [Wed, 29 Nov 2006 16:39:32 +0000 (16:39 +0000)]
gst/gstvalue.c: If someone is foolish enough to compare 2 fractions with denominator = 0, return UNORDERED rather tha...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_fraction):
If someone is foolish enough to compare 2 fractions with denominator =
0, return UNORDERED rather than aborting.

18 years agolibs/gst/base/: New GstDataQueue object for threadsafe queueing. Most useful for...
Edward Hervey [Tue, 28 Nov 2006 12:07:06 +0000 (12:07 +0000)]
libs/gst/base/: New GstDataQueue object for threadsafe queueing. Most useful for elements that need some queueing fun...

Original commit message from CVS:
* libs/gst/base/Makefile.am:
* libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
(gst_data_queue_base_init), (gst_data_queue_class_init),
(gst_data_queue_init), (gst_data_queue_new),
(gst_data_queue_cleanup), (gst_data_queue_finalize),
(gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
(gst_data_queue_locked_is_full), (gst_data_queue_flush),
(gst_data_queue_is_empty), (gst_data_queue_is_full),
(gst_data_queue_set_flushing), (gst_data_queue_push),
(gst_data_queue_pop), (gst_data_queue_drop_head),
(gst_data_queue_set_property), (gst_data_queue_get_property):
* libs/gst/base/gstdataqueue.h:
New GstDataQueue object for threadsafe queueing. Most useful for
elements that need some queueing functionnality.
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
Insert documentation for GstDataQueue
* plugins/elements/Makefile.am:
* plugins/elements/gstelements.c:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
(gst_multi_queue_class_init), (gst_multi_queue_init),
(gst_multi_queue_finalize), (gst_multi_queue_set_property),
(gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
(gst_multi_queue_release_pad), (gst_single_queue_push_one),
(gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_chain),
(gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
(gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
(gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
(gst_multi_queue_src_event), (gst_multi_queue_src_query),
(wake_up_next_non_linked), (compute_next_non_linked),
(single_queue_overrun_cb), (single_queue_underrun_cb),
(single_queue_check_full), (gst_single_queue_new):
* plugins/elements/gstmultiqueue.h:
New multiqueue element, using GstDataQueue. Used for queuing multiple
streams.
Closes #344639 and #347785

18 years agodocs/pwg/advanced-types.xml: add more missing type details
Stefan Kost [Wed, 22 Nov 2006 12:29:41 +0000 (12:29 +0000)]
docs/pwg/advanced-types.xml: add more missing type details

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
add more missing type details
* tools/gst-run.c: (main):
remove unused variable

18 years agodocs/libs/: add types of base classes to enable gobject specific stuff in the docs
Stefan Kost [Tue, 21 Nov 2006 08:30:20 +0000 (08:30 +0000)]
docs/libs/: add types of base classes to enable gobject specific stuff in the docs

Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gstreamer-libs.types:
add types of base classes to enable gobject specific stuff in the docs
* docs/random/ensonic/embedded.txt:
more ideas about isolating platform specific things

18 years agolibs/gst/check/gstcheck.h: Fix compilation and running against 0.9.4. Fixes #377332.
Sebastian Droege [Mon, 20 Nov 2006 11:11:20 +0000 (11:11 +0000)]
libs/gst/check/gstcheck.h: Fix compilation and running against 0.9.4. Fixes #377332.

Original commit message from CVS:
Patch by: Sebastian Droege <slomo at ubuntu dot com>
* libs/gst/check/gstcheck.h:
Fix compilation and running against 0.9.4. Fixes #377332.

18 years agogst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().
Wim Taymans [Mon, 20 Nov 2006 10:27:49 +0000 (10:27 +0000)]
gst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time):
Fix boundary checking in to_running_time() and to_stream_time().
Fixes #377183.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
stream and running time can now be calculated for the complete
clipped segment.

18 years agogst/gstpad.c: Can't access event structure after giving away ownership of the event.
Tim-Philipp Müller [Wed, 15 Nov 2006 17:38:13 +0000 (17:38 +0000)]
gst/gstpad.c: Can't access event structure after giving away ownership of the event.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event):
Can't access event structure after giving away ownership of
the event.