platform/upstream/gstreamer.git
16 years agolibs/gst/base/gstbasesink.c: Forward LATENCY events upstreams so that elements know...
Wim Taymans [Wed, 8 Oct 2008 14:21:13 +0000 (14:21 +0000)]
libs/gst/base/gstbasesink.c: Forward LATENCY events upstreams so that elements know about the total pipeline latency....

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
Forward LATENCY events upstreams so that elements know about the total
pipeline latency. Fixes #555307.

16 years agoplugins/elements/gstqueue.c: Allow through queries when we don't know how as otherwis...
Jan Schmidt [Wed, 8 Oct 2008 11:20:17 +0000 (11:20 +0000)]
plugins/elements/gstqueue.c: Allow through queries when we don't know how as otherwise it's not possible to query the...

Original commit message from CVS:
* plugins/elements/gstqueue.c:
Allow through queries when we don't know how
to adjust them (not TIME or BYTES), as otherwise it's
not possible to query the current position in order
to seek in other formats at all.

16 years agochangelog
Andy Wingo [Wed, 8 Oct 2008 11:12:15 +0000 (11:12 +0000)]
changelog

Original commit message from CVS:
changelog

16 years agodocs/gst/gstreamer-sections.txt: Placate doc pendants.
Andy Wingo [Wed, 8 Oct 2008 11:11:25 +0000 (11:11 +0000)]
docs/gst/gstreamer-sections.txt: Placate doc pendants.

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

* docs/gst/gstreamer-sections.txt: Placate doc pendants.

16 years agogst/gstghostpad.*: Unbreak -good build, private is a reserved c++ keyword.
Wim Taymans [Wed, 8 Oct 2008 10:39:24 +0000 (10:39 +0000)]
gst/gstghostpad.*: Unbreak -good build, private is a reserved c++ keyword.

Original commit message from CVS:
* gst/gstghostpad.c:
* gst/gstghostpad.h:
Unbreak -good build, private is a reserved c++ keyword.

16 years agogst/gstghostpad.*: Fix unintended API removal: re-add GST_GHOST_PAD_CAST to the header.
Andy Wingo [Wed, 8 Oct 2008 10:19:11 +0000 (10:19 +0000)]
gst/gstghostpad.*: Fix unintended API removal: re-add GST_GHOST_PAD_CAST to the header.

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

* gst/gstghostpad.h (GST_GHOST_PAD_CAST):
* gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
removal: re-add GST_GHOST_PAD_CAST to the header.

16 years agogst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
Andy Wingo [Wed, 8 Oct 2008 10:12:45 +0000 (10:12 +0000)]
gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)

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

* gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
(GstGhostPadClass): Publically expose these structures so as to
allow easy subclassing from C. Hide the member data behind a
private opaque data pointer.

* gst/gstghostpad.c: Adapt to store instance data in the type
instance's private data region, not in the public struct.

16 years agogst/gstregistrybinary.c: If we can't get a cache file don't try to save something...
Sebastian Dröge [Wed, 8 Oct 2008 10:07:15 +0000 (10:07 +0000)]
gst/gstregistrybinary.c: If we can't get a cache file don't try to save something to it.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
If we can't get a cache file don't try to save something to it.
Dereferencing NULL pointers usually isn't a good idea.

16 years agogst/gstghostpad.c (gst_ghost_pad_construct): If we got a template via g_object_get...
Andy Wingo [Wed, 8 Oct 2008 08:54:55 +0000 (08:54 +0000)]
gst/gstghostpad.c (gst_ghost_pad_construct): If we got a template via g_object_get(), be sure to unref it.

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

* gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
template via g_object_get(), be sure to unref it.

* gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.

16 years agotests/check/: Add Sparc ABI checks
Jan Schmidt [Tue, 7 Oct 2008 15:12:21 +0000 (15:12 +0000)]
tests/check/: Add Sparc ABI checks

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/gst/gstabi.c:
* tests/check/gst/struct_sparc.h:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_sparc.h:
Add Sparc ABI checks
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Cast signed integer to unsigned to avoid a compiler warning.

16 years agolibs/gst/base/gstbytereader.c: Use new GST_READ_UINT24_(LE|BE) macros.
Sebastian Dröge [Tue, 7 Oct 2008 12:26:40 +0000 (12:26 +0000)]
libs/gst/base/gstbytereader.c: Use new GST_READ_UINT24_(LE|BE) macros.

Original commit message from CVS:
* libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
(gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
(gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
(gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
(gst_byte_reader_peek_int24_be):
Use new GST_READ_UINT24_(LE|BE) macros.

16 years agoAlways use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT* as it's too...
Sebastian Dröge [Tue, 7 Oct 2008 12:00:49 +0000 (12:00 +0000)]
Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT* as it's too easy to break the ISO C strict al...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.h:
Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
as it's too easy to break the ISO C strict aliasing rules with simple
casts to the corresponding type and this would introduce hard to debug
bugs. Fixes bug #545714.
API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).

16 years agogst/: Add 'Since' bits to gtk-doc chunks for new API.
Tim-Philipp Müller [Tue, 7 Oct 2008 06:56:11 +0000 (06:56 +0000)]
gst/: Add 'Since' bits to gtk-doc chunks for new API.

Original commit message from CVS:
* gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
* gst/gstghostpad.c: (gst_ghost_pad_construct):
Add 'Since' bits to gtk-doc chunks for new API.

16 years agodocs/gst/gstreamer-sections.txt: Fix documentation
Thijs Vermeir [Mon, 6 Oct 2008 21:52:57 +0000 (21:52 +0000)]
docs/gst/gstreamer-sections.txt: Fix documentation

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Fix documentation

16 years agochangelog, doh
Andy Wingo [Mon, 6 Oct 2008 18:03:58 +0000 (18:03 +0000)]
changelog, doh

Original commit message from CVS:
changelog, doh

16 years agogst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function that will be called...
Andy Wingo [Mon, 6 Oct 2008 18:01:42 +0000 (18:01 +0000)]
gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function that will be called on the malloc_data to free it. B...

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

* gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
that will be called on the malloc_data to free it. Basically a way
to avoid subclassing when all you need is a different free
function, i.e. free() instead of g_free().

* gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
calling the free function.
(gst_buffer_init): Initialize the free function to g_free.

16 years agogst/gstghostpad.*: New function, finishes the initialization of ghost pad. Useful...
Andy Wingo [Mon, 6 Oct 2008 17:57:25 +0000 (17:57 +0000)]
gst/gstghostpad.*: New function, finishes the initialization of ghost pad. Useful for language bindings and subclasse...

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

* gst/gstghostpad.h:
* gst/gstghostpad.c (gst_ghost_pad_construct): New function,
finishes the initialization of ghost pad. Useful for language
bindings and subclassers of GstGhostPad. Fixes #539108.
(gst_ghost_pad_new_full): Use the new constructor.

16 years agogst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state...
Olivier Crete [Mon, 6 Oct 2008 16:15:02 +0000 (16:15 +0000)]
gst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state changes.

Original commit message from CVS:
Base on Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
(gst_bin_remove_func), (update_degree),
(gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
Keep track of pads that are being linked/unlinked and resync the state
changes.
* gst/gstpad.c: (gst_pad_get_direction),
(gst_pad_set_chain_function), (gst_pad_set_getrange_function),
(gst_pad_set_checkgetrange_function), (gst_pad_unlink),
(gst_pad_link_prepare), (gst_pad_link),
(gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
(gst_pad_check_pull_range), (gst_pad_get_range),
(gst_pad_pull_range):
Some code cleanups, use macros to check pad direction.
Don't need to take the lock on the pad direction.
Post structure change when pads are linked/unlinked.
Change some checks into _return_if_fail().
* tests/check/gst/gstbin.c:
(test_link_structure_change_state_changed_sync_cb),
(GST_START_TEST), (gst_bin_suite):
Add testcase for pad link/unlinke resync during a state change.
Fixes #510354.

16 years agoImplement STRUCTURE_CHANGED messages. These messages will be used to signal the paren...
Wim Taymans [Mon, 6 Oct 2008 15:31:49 +0000 (15:31 +0000)]
Implement STRUCTURE_CHANGED messages. These messages will be used to signal the parent bin of link/unlink operations ...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_new_structure_change),
(gst_message_parse_structure_change):
* gst/gstmessage.h:
Implement STRUCTURE_CHANGED messages. These messages will be used to
signal the parent bin of link/unlink operations that could require a
resync when doing a state change. See ##510354.
API: gst_message_new_structure_change()
API: gst_message_parse_structure_change()

16 years agogst/gstquark.*: Add some more quarks for new message. See #510354.
Wim Taymans [Mon, 6 Oct 2008 15:21:14 +0000 (15:21 +0000)]
gst/gstquark.*: Add some more quarks for new message. See #510354.

Original commit message from CVS:
* gst/gstquark.c:
* gst/gstquark.h:
Add some more quarks for new message. See #510354.

16 years agoChangeLog surgery: add API tag
Sebastian Dröge [Mon, 6 Oct 2008 12:57:39 +0000 (12:57 +0000)]
ChangeLog surgery: add API tag

Original commit message from CVS:
ChangeLog surgery: add API tag

16 years agoAdd bit reader and byte reader classes, including documentation and an extensive...
Sebastian Dröge [Mon, 6 Oct 2008 12:41:53 +0000 (12:41 +0000)]
Add bit reader and byte reader classes, including documentation and an extensive unit test suite. Fixes bug #553554.

Original commit message from CVS:
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/Makefile.am:
* libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
(gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
(gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
(gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
(gst_bit_reader_get_remaining), (gst_bit_reader_skip),
(gst_bit_reader_skip_to_byte):
* libs/gst/base/gstbitreader.h:
* libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
(GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
(gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
(gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
(gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
(gst_byte_reader_get_remaining), (gst_byte_reader_skip),
(gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
(gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
(gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
(gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
(gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
(gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
* libs/gst/base/gstbytereader.h:
* tests/check/Makefile.am:
* tests/check/libs/bitreader.c: (GST_START_TEST),
(gst_bit_reader_suite):
* tests/check/libs/bytereader.c: (GST_START_TEST),
(gst_byte_reader_suite):
Add bit reader and byte reader classes, including documentation
and an extensive unit test suite. Fixes bug #553554.

16 years agolibs/gst/base/gstbasesink.c: Improve position reporting while flushing and other...
Wim Taymans [Mon, 6 Oct 2008 08:58:25 +0000 (08:58 +0000)]
libs/gst/base/gstbasesink.c: Improve position reporting while flushing and other intermediate state changes. Fixes #5...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
(gst_base_sink_query):
Improve position reporting while flushing and other intermediate state
changes. Fixes #553874.

16 years agogst/gstpad.c: Fix small refount leak in caps compatibility check.
Antoine Tremblay [Mon, 6 Oct 2008 08:45:42 +0000 (08:45 +0000)]
gst/gstpad.c: Fix small refount leak in caps compatibility check.

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
Original patch by : Simon Descaries
Fix small refount leak in caps compatibility check.
Fixes #551676.

16 years agodocs/pwg/advanced-request.xml: Fix 0.8 api usage in example. Fixes #554561
Stefan Kost [Mon, 6 Oct 2008 07:30:57 +0000 (07:30 +0000)]
docs/pwg/advanced-request.xml: Fix 0.8 api usage in example. Fixes #554561

Original commit message from CVS:
* docs/pwg/advanced-request.xml:
Fix 0.8 api usage in example. Fixes #554561
* docs/pwg/appendix-porting.xml:
Change 0.9 to 0.10 here.

16 years agodocs/manual/basics-data.xml: Change "event-event interaction" to "element-element...
Stefan Kost [Mon, 6 Oct 2008 07:13:02 +0000 (07:13 +0000)]
docs/manual/basics-data.xml: Change "event-event interaction" to "element-element interaction".

Original commit message from CVS:
* docs/manual/basics-data.xml:
Change "event-event interaction" to "element-element interaction".
Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
updates.

16 years agoconfigure.ac: Back to development -> 0.10.21.1
Jan Schmidt [Sun, 5 Oct 2008 10:01:50 +0000 (10:01 +0000)]
configure.ac: Back to development -> 0.10.21.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.21.1

16 years agoRelease 0.10.21 RELEASE-0_10_21
Jan Schmidt [Thu, 2 Oct 2008 23:59:53 +0000 (23:59 +0000)]
Release 0.10.21

Original commit message from CVS:
Release 0.10.21

16 years agoUpdate .po files
Jan Schmidt [Thu, 2 Oct 2008 22:42:18 +0000 (22:42 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agoconfigure.ac: 0.10.20.4 pre-release
Jan Schmidt [Sun, 28 Sep 2008 22:49:56 +0000 (22:49 +0000)]
configure.ac: 0.10.20.4 pre-release

Original commit message from CVS:
* configure.ac:
0.10.20.4 pre-release

16 years agoFix assertion in basetransform when the subclass chooses not to allocate a buffer...
Jan Schmidt [Sun, 28 Sep 2008 21:19:15 +0000 (21:19 +0000)]
Fix assertion in basetransform when the subclass chooses not to allocate a buffer in prepare_buffer(), and make capsf...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
* plugins/elements/gstcapsfilter.c:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/capsfilter.c:
Fix assertion in basetransform when the subclass chooses not to
allocate a buffer in prepare_buffer(), and make capsfilter error out
cleanly if requested to apply caps that don't completely specify the
buffer. Fixes #551509

16 years agolibs/gst/base/gstbasetransform.c: Take new caps ref because our old one might have...
Wim Taymans [Wed, 24 Sep 2008 15:03:40 +0000 (15:03 +0000)]
libs/gst/base/gstbasetransform.c: Take new caps ref because our old one might have been gone when the subclass perfor...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Take new caps ref because our old one might have been gone when the
subclass performs a gst_pad_set_caps() on the srcpad. See #548764.

16 years agoAlso commit ChangeLog
Jan Schmidt [Tue, 16 Sep 2008 15:35:04 +0000 (15:35 +0000)]
Also commit ChangeLog

Original commit message from CVS:
Also commit ChangeLog

16 years agoGah. Commit pre-release info that should have gone in last week already.
Jan Schmidt [Tue, 16 Sep 2008 15:24:04 +0000 (15:24 +0000)]
Gah. Commit pre-release info that should have gone in last week already.

Original commit message from CVS:
Gah. Commit pre-release info that should have gone in last week already.

2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>

* configure.ac:
0.10.20.2 pre-release

* po/LINGUAS:
* po/id.po:
* po/pt_BR.po:

New translations.

16 years agoconfigure.ac: Do not probe availability of check unit test library when cross compili...
Stefan Kost [Mon, 15 Sep 2008 15:18:07 +0000 (15:18 +0000)]
configure.ac: Do not probe availability of check unit test library when cross compiling, as test would not work anywa...

Original commit message from CVS:
* configure.ac:
Do not probe availability of check unit test library when cross
compiling, as test would not work anyway. Also cleanup verbose output
of the check test. Fixes #551952.

16 years agogst/gstelement.c: Avoid leaking the parent ref when we fail changing the state of...
Antoine Tremblay [Sun, 14 Sep 2008 22:01:30 +0000 (22:01 +0000)]
gst/gstelement.c: Avoid leaking the parent ref when we fail changing the state of the element using gst_element_sync_...

Original commit message from CVS:
Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gstelement.c: (gst_element_sync_state_with_parent):
Avoid leaking the parent ref when we fail changing the state of the
element using gst_element_sync_state_with_parent(). Fixes #551978.

16 years agodocs/manual/intro-motivation.xml: Remove some bits that no longer apply, update other...
Tim-Philipp Müller [Thu, 11 Sep 2008 16:56:48 +0000 (16:56 +0000)]
docs/manual/intro-motivation.xml: Remove some bits that no longer apply, update others (#551642).

Original commit message from CVS:
* docs/manual/intro-motivation.xml::
Remove some bits that no longer apply, update others (#551642).

16 years agowin32/common/config.h.in: Add GST_DATADIR, hard-code cpu to x86.
Tim-Philipp Müller [Tue, 9 Sep 2008 18:47:27 +0000 (18:47 +0000)]
win32/common/config.h.in: Add GST_DATADIR, hard-code cpu to x86.

Original commit message from CVS:
* win32/common/config.h.in:
Add GST_DATADIR, hard-code cpu to x86.
* win32/common/libgstreamer.def:
Spaces to tabs.

16 years agogst/gsttaglist.h: Fix Since: markers for new geo tags.
Tim-Philipp Müller [Wed, 3 Sep 2008 05:52:40 +0000 (05:52 +0000)]
gst/gsttaglist.h: Fix Since: markers for new geo tags.

Original commit message from CVS:
* gst/gsttaglist.h:
Fix Since: markers for new geo tags.

16 years agogst/gsttaglist.h: Fix actual tag name define after renaming from altitude to elevation.
Stefan Kost [Tue, 2 Sep 2008 20:00:28 +0000 (20:00 +0000)]
gst/gsttaglist.h: Fix actual tag name define after renaming from altitude to elevation.

Original commit message from CVS:
* gst/gsttaglist.h:
Fix actual tag name define after renaming from altitude to elevation.

16 years agogst/gstpad.c: Add fallback when calling the deprecated function on an element that...
Wim Taymans [Mon, 1 Sep 2008 14:05:45 +0000 (14:05 +0000)]
gst/gstpad.c: Add fallback when calling the deprecated function on an element that implements the new internal_link h...

Original commit message from CVS:
* gst/gstpad.c: (add_unref_pad_to_list),
(gst_pad_get_internal_links_default):
Add fallback when calling the deprecated function on an element that
implements the new internal_link handler.

16 years agoAdd new tags for geo location and clarify purpose of existing location tag. Fixes...
Stefan Kost [Mon, 1 Sep 2008 13:35:32 +0000 (13:35 +0000)]
Add new tags for geo location and clarify purpose of existing location tag. Fixes #481169

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
Add new tags for geo location and clarify purpose of existing location
tag. Fixes #481169

16 years agogst/gstpad.c: Use thread-safe internal links iterator. Fixes #549504.
Olivier Crete [Mon, 1 Sep 2008 11:27:45 +0000 (11:27 +0000)]
gst/gstpad.c: Use thread-safe internal links iterator. Fixes #549504.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstpad.c: (gst_pad_iterate_internal_links_default),
(gst_pad_event_default_dispatch), (gst_pad_dispatcher):
Use thread-safe internal links iterator. Fixes #549504.

16 years agoAdd threadsafe replacement functions for getting internal links of an element. Deprec...
Olivier Crete [Mon, 1 Sep 2008 10:42:04 +0000 (10:42 +0000)]
Add threadsafe replacement functions for getting internal links of an element. Deprecate the old internal links funct...

Original commit message from CVS:
Based on patch by: Olivier Crete <tester at tester dot ca>
* docs/gst/gstreamer-sections.txt:
* win32/common/libgstreamer.def:
* gst/gstpad.c: (gst_pad_init),
(gst_pad_set_iterate_internal_links_function),
(int_link_iter_data_free), (iterate_pad),
(gst_pad_iterate_internal_links_default),
(gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
* gst/gstpad.h:
Add threadsafe replacement functions for getting internal links of an
element. Deprecate the old internal links functions.
API:GstPad::gst_pad_set_iterate_internal_links_function()
API:GstPad::GstPadIterIntLinkFunction
API:GstPad::gst_pad_iterate_internal_links()
API:GstPad::gst_pad_iterate_internal_links_default()
* gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
(gst_proxy_pad_init):
Implement threadsafe internal links.
* tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
Unit test for internal links on tee. See #549504.

16 years agotests/check/Makefile.am: libs/transform1 test requires libs/test_transform.c
Edward Hervey [Sat, 30 Aug 2008 12:57:47 +0000 (12:57 +0000)]
tests/check/Makefile.am: libs/transform1 test requires libs/test_transform.c

Original commit message from CVS:
* tests/check/Makefile.am:
libs/transform1 test requires libs/test_transform.c

16 years agogst/gstpad.c: Die evil deadlock, die !
Edward Hervey [Sat, 30 Aug 2008 12:07:41 +0000 (12:07 +0000)]
gst/gstpad.c: Die evil deadlock, die !

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_internal_links_default):
Die evil deadlock, die !

16 years agoFix all leaks due to the bug in gst_pad_template_new() by which it does not steal...
Edward Hervey [Sat, 30 Aug 2008 11:55:59 +0000 (11:55 +0000)]
Fix all leaks due to the bug in gst_pad_template_new() by which it does not steal the refcount of the given caps as s...

Original commit message from CVS:
* gst/gstutils.c: (gst_element_get_compatible_pad):
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
* tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
Fix all leaks due to the bug in gst_pad_template_new() by which it does
not steal the refcount of the given caps as stated.
REVERT THIS COMMIT ONCE FIXED !
REVERT THIS COMMIT ONCE FIXED !
REVERT THIS COMMIT ONCE FIXED !
REVERT THIS COMMIT ONCE FIXED !
REVERT THIS COMMIT ONCE FIXED !
REVERT THIS COMMIT ONCE FIXED !

16 years agogst/gstiterator.*: After 3 years it's about time to revise the documentation of the...
Wim Taymans [Fri, 29 Aug 2008 17:58:25 +0000 (17:58 +0000)]
gst/gstiterator.*: After 3 years it's about time to revise the documentation of the iterator objects.

Original commit message from CVS:
* gst/gstiterator.c:
* gst/gstiterator.h:
After 3 years it's about time to revise the documentation of the
iterator objects.

16 years agogst/gstpad.c: Make the internal links function less thread-unsafe and add some commen...
Wim Taymans [Fri, 29 Aug 2008 16:10:56 +0000 (16:10 +0000)]
gst/gstpad.c: Make the internal links function less thread-unsafe and add some comments, dunno why.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_internal_links_default):
Make the internal links function less thread-unsafe and add some
comments, dunno why.

16 years agogst/gst_private.h: Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes...
Tim-Philipp Müller [Fri, 29 Aug 2008 14:12:02 +0000 (14:12 +0000)]
gst/gst_private.h: Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes build with --disable-gst-debug.

Original commit message from CVS:
* gst/gst_private.h:
Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
build with --disable-gst-debug.

16 years agogst/gstpadtemplate.c: Revert last change, since it breaks a few plugins, ffmpeg,...
David Schleef [Fri, 29 Aug 2008 00:34:58 +0000 (00:34 +0000)]
gst/gstpadtemplate.c: Revert last change, since it breaks a few plugins, ffmpeg, alaw, and mulaw.  Code is correct, b...

Original commit message from CVS:
* gst/gstpadtemplate.c: Revert last change, since it breaks
a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
but shouldn't be enabled until we've released fixed versions
of -good and -ffmpeg.

16 years agogst/gstobject.c: Put the gst_object_get_name() back in.
Stefan Kost [Thu, 28 Aug 2008 20:12:54 +0000 (20:12 +0000)]
gst/gstobject.c: Put the gst_object_get_name() back in.

Original commit message from CVS:
* gst/gstobject.c:
Put the gst_object_get_name() back in.

16 years agogst/gstpadtemplate.c: The old behaviour was that gst_pad_template_new() takes ownersh...
Stefan Kost [Thu, 28 Aug 2008 12:32:19 +0000 (12:32 +0000)]
gst/gstpadtemplate.c: The old behaviour was that gst_pad_template_new() takes ownership of the caps. As we now call g...

Original commit message from CVS:
* gst/gstpadtemplate.c:
The old behaviour was that gst_pad_template_new() takes ownership of
the caps. As we now call g_object_new() which calls g_object_set() and
which copies the caps, we have to unref them to not leak them. Fixes
make valgrid for me.

16 years agogst/gsturi.c: Don't segfault on input like "tel:+1-123-555-1234".
Stefan Kost [Thu, 28 Aug 2008 10:45:04 +0000 (10:45 +0000)]
gst/gsturi.c: Don't segfault on input like "tel:+1-123-555-1234".

Original commit message from CVS:
* gst/gsturi.c:
Don't segfault on input like "tel:+1-123-555-1234".

16 years agogst/gstobject.c: Due to popular request also include ObjectType in gst_object_get_pat...
Stefan Kost [Wed, 27 Aug 2008 07:18:37 +0000 (07:18 +0000)]
gst/gstobject.c: Due to popular request also include ObjectType in gst_object_get_path_string(). Makes gst-launch -v ...

Original commit message from CVS:
* gst/gstobject.c:
Due to popular request also include ObjectType in
gst_object_get_path_string(). Makes gst-launch -v bit more useful.

16 years agogst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive...
David Schleef [Wed, 27 Aug 2008 03:04:23 +0000 (03:04 +0000)]
gst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive, because that's not a requirement.

Original commit message from CVS:
* gst/gstutils.c: Remove check in gst_pad_query_convert() that
src_val must be positive, because that's not a requirement.
This causes problems with converting negative granulepos
values for Dirac.
* gst/gstquery.c: Same, gst_query_new_convert().

16 years agogst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive...
David Schleef [Wed, 27 Aug 2008 02:59:59 +0000 (02:59 +0000)]
gst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive, because that's not a requirement.

Original commit message from CVS:
* gst/gstutils.c: Remove check in gst_pad_query_convert() that
src_val must be positive, because that's not a requirement.
This causes problems with converting negative granulepos
values for Dirac.

16 years agogst/gstclock.c: Add some more debugging to the clock slaving code.
Wim Taymans [Mon, 25 Aug 2008 11:06:34 +0000 (11:06 +0000)]
gst/gstclock.c: Add some more debugging to the clock slaving code.

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_add_observation):
Add some more debugging to the clock slaving code.
* win32/common/libgstbase.def:
Add new basetransform method.

16 years agogst/gstbin.c: Take the (recursive) state lock between getting the locked state of...
Wim Taymans [Mon, 25 Aug 2008 11:00:13 +0000 (11:00 +0000)]
gst/gstbin.c: Take the (recursive) state lock between getting the locked state of an element and changing the element...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_element_set_state):
Take the (recursive) state lock between getting the locked state of an
element and changing the element state. This allows the application to
lock an element's state and then change its state without races.

16 years agogst/gstbin.c: When an element is in the locked state we still want to update the...
Wim Taymans [Mon, 25 Aug 2008 10:52:47 +0000 (10:52 +0000)]
gst/gstbin.c: When an element is in the locked state we still want to update the base_time of the element.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_element_set_state):
When an element is in the locked state we still want to update the
base_time of the element.

16 years agolibs/gst/base/gstbasesrc.c: Use the result from gst_pad_set_caps() instead of assumin...
Wim Taymans [Thu, 21 Aug 2008 11:17:05 +0000 (11:17 +0000)]
libs/gst/base/gstbasesrc.c: Use the result from gst_pad_set_caps() instead of assuming the element always accepted th...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
Use the result from gst_pad_set_caps() instead of assuming the element
always accepted the caps computed by the default negotiate function.

16 years agoImplement method for reconfiguring basetransform.
Wim Taymans [Wed, 20 Aug 2008 10:52:09 +0000 (10:52 +0000)]
Implement method for reconfiguring basetransform.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_handle_buffer), (gst_base_transform_getrange),
(gst_base_transform_chain), (gst_base_transform_suggest),
(gst_base_transform_reconfigure):
* libs/gst/base/gstbasetransform.h:
Implement method for reconfiguring basetransform.
API: GstBaseTransform::gst_base_transform_reconfigure()

16 years agogst/gstutils.c: Mention that this is just like gst_buffer_merge() but with extra...
Murray Cumming [Wed, 20 Aug 2008 07:22:11 +0000 (07:22 +0000)]
gst/gstutils.c: Mention that this is just like gst_buffer_merge() but with extra unreffing for C coders. Advise langu...

Original commit message from CVS:
patch by: Murray Cumming <murrayc@murrayc.com>
* gst/gstutils.c:
Mention that this is just like gst_buffer_merge() but with extra
unreffing for C coders. Advise language bindings not to wrap it.
Fixes Bug #533856.
Also fix file comment.

16 years agoplugins/elements/: Call super::event() when not handling it. Fixes #544855.
Stefan Kost [Wed, 20 Aug 2008 07:03:40 +0000 (07:03 +0000)]
plugins/elements/: Call super::event() when not handling it. Fixes #544855.

Original commit message from CVS:
reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
* plugins/elements/gstfakesink.c:
* plugins/elements/gstfakesrc.c:
Call super::event() when not handling it. Fixes #544855.

16 years agoplugins/elements/gstfilesrc.c: Use 64 bit variants of stat functions on win32, to...
Alessandro Decina [Tue, 19 Aug 2008 17:23:18 +0000 (17:23 +0000)]
plugins/elements/gstfilesrc.c: Use 64 bit variants of stat functions on win32, to enable support of large files there.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro@nnva.org>
* plugins/elements/gstfilesrc.c:
Use 64 bit variants of stat functions on win32, to enable support
of large files there.
Fixes #547277.

16 years agolibs/gst/base/gstbasesink.c: Improve position reporting in the flushing state.
Wim Taymans [Tue, 19 Aug 2008 16:47:07 +0000 (16:47 +0000)]
libs/gst/base/gstbasesink.c: Improve position reporting in the flushing state.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
(gst_base_sink_event), (gst_base_sink_chain_unlocked),
(gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
(gst_base_sink_get_position), (gst_base_sink_change_state):
Improve position reporting in the flushing state.
Also report the position when we are not yet prerolled but we
have a newsegment event. Fixes #543444.
Improve the pull-based negotiation code.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Add testcase for position reporting while flushing in PAUSED and
PLAYING.
* tests/check/generic/sinks.c: (GST_START_TEST):
Update unit-test, we can now query the position as soon as we receive a
NEWSEGMENT event.

16 years agolibs/gst/base/gstbasesink.c: When the subclass event handler releases the PREROLL_LOC...
Jason Zhao [Tue, 19 Aug 2008 08:52:05 +0000 (08:52 +0000)]
libs/gst/base/gstbasesink.c: When the subclass event handler releases the PREROLL_LOCK, we could be in the flushing s...

Original commit message from CVS:
Based on patch by: Jason Zhao <e3423c at motorola dot com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
When the subclass event handler releases the PREROLL_LOCK, we could be
in the flushing state and we have to ignore the event. Fixes #548394.

16 years agotools/gst-launch.1.in: Document GST_REGISTRY_UPDATE environment variable.
Tim-Philipp Müller [Mon, 18 Aug 2008 11:28:00 +0000 (11:28 +0000)]
tools/gst-launch.1.in: Document GST_REGISTRY_UPDATE environment variable.

Original commit message from CVS:
* tools/gst-launch.1.in:
Document GST_REGISTRY_UPDATE environment variable.

16 years agolibs/gst/base/gstbasetransform.c: If the element is configured in passthrough mode...
Wim Taymans [Mon, 18 Aug 2008 09:59:18 +0000 (09:59 +0000)]
libs/gst/base/gstbasetransform.c: If the element is configured in passthrough mode but the prepare_output_buffer gave...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
If the element is configured in passthrough mode but the
prepare_output_buffer gave us a new output buffer, discard that buffer
and reuse the input buffer.

16 years agoplugins/elements/gsttee.*: Protect pad_alloc with a new lock so that we can be sure...
Ole André Vadla Ravnås [Fri, 15 Aug 2008 17:01:07 +0000 (17:01 +0000)]
plugins/elements/gsttee.*: Protect pad_alloc with a new lock so that we can be sure that nothing is performing a pad_...

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
(gst_tee_request_new_pad), (gst_tee_release_pad),
(gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
* plugins/elements/gsttee.h:
Protect pad_alloc with a new lock so that we can be sure that nothing is
performing a pad_alloc when removing the pad. Fixes #547835.
* tests/check/elements/tee.c: (buffer_alloc_harness_setup),
(buffer_alloc_harness_teardown), (app_thread_func),
(final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
Added testcase for shutdown race.

16 years agogst/gstpad.h: Add doc
Thijs Vermeir [Thu, 14 Aug 2008 20:05:33 +0000 (20:05 +0000)]
gst/gstpad.h: Add doc

Original commit message from CVS:
* gst/gstpad.h:
Add doc

16 years agolibs/gst/base/gstbasetransform.c: Go over the buffer_alloc function again and make...
Wim Taymans [Thu, 14 Aug 2008 16:37:29 +0000 (16:37 +0000)]
libs/gst/base/gstbasetransform.c: Go over the buffer_alloc function again and make sure we always end up allocating a...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc):
Go over the buffer_alloc function again and make sure we always end up
allocating a buffer.
Add some more docs.
Avoid doing pad alloc when we have a pending suggestion because we
cannot yet deal with changing caps in that case. Fixes #547728

16 years agodocs/manual/: Add one more image showing different times together with a describing...
Luc Pionchon [Thu, 14 Aug 2008 14:26:20 +0000 (14:26 +0000)]
docs/manual/: Add one more image showing different times together with a describing paragraph. Fixes #547729.

Original commit message from CVS:
patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/advanced-clocks.xml:
* docs/manual/clocks.png:
* docs/manual/diagrams-clocks.svg:
Add one more image showing different times together with a describing
paragraph. Fixes #547729.

16 years agowin32/common/libgstbase.def: Add new method.
Wim Taymans [Thu, 14 Aug 2008 14:04:58 +0000 (14:04 +0000)]
win32/common/libgstbase.def: Add new method.

Original commit message from CVS:
* win32/common/libgstbase.def:
Add new method.

16 years agolibs/gst/base/gstbasetransform.c: Don't overwrite the outsize when calculating the...
Wim Taymans [Thu, 14 Aug 2008 13:57:58 +0000 (13:57 +0000)]
libs/gst/base/gstbasetransform.c: Don't overwrite the outsize when calculating the expected size of a new buffer beca...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps),
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
Don't overwrite the outsize when calculating the expected size of a new
buffer because we still need it in case we cannot process the new
buffer.
When converting the size of the new buffer to an upstream size, actually
use the expected size of the buffer, not some other random value.
Use an atomic int to signal that a new upstream caps suggestion is
available.
When we can convert the current buffer to a new format, check if the
buffer size is of the expected size and allocate a new buffer of the
expected size when this is not the case.
* tests/check/libs/transform1.c: (GST_START_TEST):
remove ifdeffed code from the unit test.

16 years agopkgconfig/: Remove -lgstcontrol-0.10 which never worked anyway as the lib is called...
Stefan Kost [Tue, 12 Aug 2008 18:48:42 +0000 (18:48 +0000)]
pkgconfig/: Remove -lgstcontrol-0.10 which never worked anyway as the lib is called gstcontroller-0.10.

Original commit message from CVS:
* pkgconfig/gstreamer-uninstalled.pc.in:
* pkgconfig/gstreamer.pc.in:
Remove -lgstcontrol-0.10 which never worked anyway as the lib is
called gstcontroller-0.10.

16 years agogst/: Remove double interface from doc-string.
Stefan Kost [Tue, 12 Aug 2008 06:27:35 +0000 (06:27 +0000)]
gst/: Remove double interface from doc-string.

Original commit message from CVS:
* gst/gstchildproxy.h:
* gst/gstpreset.h:
Remove double interface from doc-string.

16 years agolibs/gst/base/: Fix headings in docs and gtk-doc warnings.
Stefan Kost [Tue, 12 Aug 2008 06:16:02 +0000 (06:16 +0000)]
libs/gst/base/: Fix headings in docs and gtk-doc warnings.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasetransform.c:
Fix headings in docs and gtk-doc warnings.

16 years agogst/gstregistrybinary.c: Don't use g_mkstmp() on win32, it's unsafe if glib is using...
Michael Smith [Mon, 11 Aug 2008 19:04:04 +0000 (19:04 +0000)]
gst/gstregistrybinary.c: Don't use g_mkstmp() on win32, it's unsafe if glib is using a different libc.

Original commit message from CVS:
* gst/gstregistrybinary.c:
Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
libc.
Fixes #544776.

16 years agolibs/gst/base/gstbasetransform.c: Fix a "may be used unitialized" warning.
Edward Hervey [Mon, 11 Aug 2008 15:14:28 +0000 (15:14 +0000)]
libs/gst/base/gstbasetransform.c: Fix a "may be used unitialized" warning.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
Fix a "may be used unitialized" warning.

16 years agoDocument preset-iface vmethods.
Stefan Kost [Mon, 11 Aug 2008 08:06:20 +0000 (08:06 +0000)]
Document preset-iface vmethods.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpreset.h:
Document preset-iface vmethods.

16 years agodocs/manual/advanced-interfaces.xml: Turn thoughts about HAL into a note-tag. Remove...
Stefan Kost [Mon, 11 Aug 2008 07:07:45 +0000 (07:07 +0000)]
docs/manual/advanced-interfaces.xml: Turn thoughts about HAL into a note-tag. Remove mentioning that is only used to ...

Original commit message from CVS:
* docs/manual/advanced-interfaces.xml:
Turn thoughts about HAL into a note-tag. Remove mentioning that is
only used to discover devices.

16 years agogst/gst.c: Make sure gettext returns translations in UTF-8 encoding rather than in...
Frederic Crozat [Thu, 7 Aug 2008 15:49:00 +0000 (15:49 +0000)]
gst/gst.c: Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#5468...

Original commit message from CVS:
Patch by: Frederic Crozat <fcrozat@mandriva.org>
* gst/gst.c: (init_pre):
Make sure gettext returns translations in UTF-8 encoding rather
than in the current locale encoding (#546822).

16 years agogst/gstcaps.c: Fix subset test.
Wim Taymans [Thu, 7 Aug 2008 12:28:28 +0000 (12:28 +0000)]
gst/gstcaps.c: Fix subset test.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_structure_is_subset_field):
Fix subset test.
* tests/check/gst/gstcaps.c: (GST_START_TEST):
Improve unit test subset tests and add a testcase for the subset failure
cases.
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Improve subtraction unit test.

16 years agoplugins/elements/gsttee.c: Unlock, instead of locking again.
Stefan Kost [Thu, 7 Aug 2008 07:01:15 +0000 (07:01 +0000)]
plugins/elements/gsttee.c: Unlock, instead of locking again.

Original commit message from CVS:
* plugins/elements/gsttee.c:
Unlock, instead of locking again.

16 years agogst/gstpad.h: Clarify the docs a bit more.
Wim Taymans [Tue, 5 Aug 2008 16:50:27 +0000 (16:50 +0000)]
gst/gstpad.h: Clarify the docs a bit more.

Original commit message from CVS:
* gst/gstpad.h:
Clarify the docs a bit more.

16 years agotests/examples/metadata/read-metadata.c: Don't leak old taglist.
Stefan Kost [Tue, 5 Aug 2008 15:42:00 +0000 (15:42 +0000)]
tests/examples/metadata/read-metadata.c: Don't leak old taglist.

Original commit message from CVS:
* tests/examples/metadata/read-metadata.c:
Don't leak old taglist.

16 years agogst/gststructure.c: Avoid overflows in fixation code when dealing with MAXINT values...
Olivier Crete [Tue, 5 Aug 2008 15:03:27 +0000 (15:03 +0000)]
gst/gststructure.c: Avoid overflows in fixation code when dealing with MAXINT values, which v4l2src seems to do.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/gststructure.c:
(gst_structure_fixate_field_nearest_fraction):
Avoid overflows in fixation code when dealing with MAXINT values, which
v4l2src seems to do.
Fixes #546328.
* tests/check/gst/gststructure.c: (GST_START_TEST):
Make a unit test to check the fix.

16 years agoplugins/elements/gstcapsfilter.c: Use new caps suggestion feature of basetransform...
Wim Taymans [Tue, 5 Aug 2008 11:12:29 +0000 (11:12 +0000)]
plugins/elements/gstcapsfilter.c: Use new caps suggestion feature of basetransform to request a caps negotiation upst...

Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (copy_func),
(gst_capsfilter_set_property):
Use new caps suggestion feature of basetransform to request a caps
negotiation upstream.

16 years agodocs/libs/gstreamer-libs-sections.txt: Add new function:
Wim Taymans [Tue, 5 Aug 2008 11:11:00 +0000 (11:11 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new function:

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new function:
API: GstBaseTransform::gst_base_transform_suggest()
* libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
(gst_base_transform_init), (gst_base_transform_transform_caps),
(gst_base_transform_transform_size),
(gst_base_transform_configure_caps),
(gst_base_transform_can_transform),
(gst_base_transform_find_transform), (gst_base_transform_setcaps),
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer), (gst_base_transform_getrange),
(gst_base_transform_chain), (gst_base_transform_activate),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough),
(gst_base_transform_set_in_place),
(gst_base_transform_is_in_place), (gst_base_transform_update_qos),
(gst_base_transform_set_qos_enabled),
(gst_base_transform_is_qos_enabled),
(gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
(gst_base_transform_reconfigure):
* libs/gst/base/gstbasetransform.h:
Rewrite of basetransform to perform negotiation outside of the
buffer_alloc functions.  Fixes #545853.
* tests/check/libs/transform1.c: (GST_START_TEST),
(buffer_alloc_ct2):
Update unit test.

16 years agotests/check/gst/gstpreset.c: Only run preset tests when $HOME is writable. Preliminar...
Stefan Kost [Tue, 5 Aug 2008 05:44:02 +0000 (05:44 +0000)]
tests/check/gst/gstpreset.c: Only run preset tests when $HOME is writable. Preliminary fix for #545433.

Original commit message from CVS:
* tests/check/gst/gstpreset.c:
Only run preset tests when $HOME is writable. Preliminary fix for
#545433.

16 years agogst/gstbin.c: Fix race for bins that simulate ASYNC state changes by inserting
Wim Taymans [Mon, 4 Aug 2008 15:49:13 +0000 (15:49 +0000)]
gst/gstbin.c: Fix race for bins that simulate ASYNC state changes by inserting

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_change_state_func), (bin_handle_async_done),
(gst_bin_handle_message_func):
Fix race for bins that simulate ASYNC state changes by inserting
ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
pending ASYNC messages even when the bin does not have ASYNC children.
We note detect this behaviour because we will receive an ASYNC message
that is originating from the bin itself.
Fixes races with decodebin2 state changes.
* tests/check/gst/gstbin.c: (GST_START_TEST):
Add some more debug.

16 years agogst/gsttaglist.c: Fix typo.
Tim-Philipp Müller [Mon, 4 Aug 2008 13:01:35 +0000 (13:01 +0000)]
gst/gsttaglist.c: Fix typo.

Original commit message from CVS:
* gst/gsttaglist.c: (_gst_tag_initialize):
Fix typo.

16 years agogst/gsttaglist.c: Argh. actually save the text before committing. Now adds gst_tag_me...
Stefan Kost [Mon, 4 Aug 2008 12:46:23 +0000 (12:46 +0000)]
gst/gsttaglist.c: Argh. actually save the text before committing. Now adds gst_tag_merge_strings_with_comma() to gst_...

Original commit message from CVS:
* gst/gsttaglist.c:
Argh. actually save the text before committing. Now adds
gst_tag_merge_strings_with_comma() to gst_tag_register().

16 years agogst/gsttaglist.*: Do as tim pointed out and actually register the new tag. Also impro...
Stefan Kost [Mon, 4 Aug 2008 12:30:26 +0000 (12:30 +0000)]
gst/gsttaglist.*: Do as tim pointed out and actually register the new tag. Also improve te docs and use gst_tag_merge...

Original commit message from CVS:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
Do as tim pointed out and actually register the new tag. Also improve
te docs and use gst_tag_merge_strings_with_comma() method to allow
retriving all keywords merged in one list.

16 years agoRevert 'accidential' change of the configure option removal. We still need to generat...
Stefan Kost [Fri, 1 Aug 2008 11:57:40 +0000 (11:57 +0000)]
Revert 'accidential' change of the configure option removal. We still need to generate the types file in configure --...

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer.types:
Revert 'accidential' change of the configure option removal. We still
need to generate the types file in configure --disable-load-save.

16 years agoAdd new taglist item GST_TAG_KEYWORDS, needed for #520694 .
Stefan Kost [Fri, 1 Aug 2008 11:34:06 +0000 (11:34 +0000)]
Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.h:
Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .

16 years agogst/gstpadtemplate.c: Add "name-template", "direction", "presence" and "caps" propert...
Tim-Philipp Müller [Fri, 1 Aug 2008 10:02:49 +0000 (10:02 +0000)]
gst/gstpadtemplate.c: Add "name-template", "direction", "presence" and "caps" properties, so that gst_pad_template_ne...

Original commit message from CVS:
* gst/gstpadtemplate.c:
(gst_pad_template_class_init), (gst_static_pad_template_get),
(gst_pad_template_new), (gst_pad_template_pad_created),
(gst_pad_template_set_property), (gst_pad_template_get_property):
Add "name-template", "direction", "presence" and "caps" properties,
so that gst_pad_template_new() is just a thin wrapper around
g_object_new(), which is better for bindings. (Fixes: #539772)

16 years agogst/gsturi.c: Be more liberal in what URIs we accept.
Michael Smith [Thu, 31 Jul 2008 17:16:50 +0000 (17:16 +0000)]
gst/gsturi.c: Be more liberal in what URIs we accept.

Original commit message from CVS:
* gst/gsturi.c:
Be more liberal in what URIs we accept.
Do not unescape bits of the URI for no apparent reason before passing to
the element. Fixes #545352.

16 years agogst/gst.c: Include gstconfig.h as macros from it are used. Fixes bug #545607.
Robert Schwebel [Thu, 31 Jul 2008 15:24:21 +0000 (15:24 +0000)]
gst/gst.c: Include gstconfig.h as macros from it are used. Fixes bug #545607.

Original commit message from CVS:
Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
* gst/gst.c:
Include gstconfig.h as macros from it are used. Fixes bug #545607.