platform/upstream/gstreamer.git
15 years agoplugins/: Don't install static libs for plugins. Fixes #550851 for core.
Stefan Kost [Mon, 13 Oct 2008 16:47:51 +0000 (16:47 +0000)]
plugins/: Don't install static libs for plugins. Fixes #550851 for core.

Original commit message from CVS:
* plugins/elements/Makefile.am:
* plugins/indexers/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for core.

15 years agogst/gstbus.c: Fix deadlock, g_source_get_id() cannot be called in finalize.
Wim Taymans [Mon, 13 Oct 2008 10:50:17 +0000 (10:50 +0000)]
gst/gstbus.c: Fix deadlock, g_source_get_id() cannot be called in finalize.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_source_finalize),
(gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
(gst_bus_enable_sync_message_emission),
(gst_bus_disable_sync_message_emission),
(gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
Fix deadlock, g_source_get_id() cannot be called in finalize.
Keep track of the watch source by keeping a pointer to the source object
instead.
Use the bus lock to protect access to the pointer to the current
watch source.

15 years agogst/gstbus.c: Only allow one bus watch to be set at a time. This is necessary because...
Olivier Crete [Mon, 13 Oct 2008 09:22:22 +0000 (09:22 +0000)]
gst/gstbus.c: Only allow one bus watch to be set at a time. This is necessary because the dispatcher pops the message...

Original commit message from CVS:
Base on Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstbus.c: (gst_bus_source_finalize),
(gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
Only allow one bus watch to be set at a time. This is necessary
because the dispatcher pops the message from the bus and the second
watcher will then get NULL or the next message (and the first won't
get this next message then, etc). If more than one "watcher" is
required signal watches should be used. Fixes bug #526044.

15 years agotools/gst-launch.c: Change the printing of the 'buffering...' output to avoid putting...
Jan Schmidt [Sun, 12 Oct 2008 22:16:00 +0000 (22:16 +0000)]
tools/gst-launch.c: Change the printing of the 'buffering...' output to avoid putting a \r in a translateable string ...

Original commit message from CVS:
* tools/gst-launch.c:
Change the printing of the 'buffering...' output to avoid putting
a \r in a translateable string (flagged by the TP).

15 years agogst/gstxml.c: Clarify that the save_thyself() and restore_thyself() virtual functions...
Sebastian Dröge [Fri, 10 Oct 2008 15:38:06 +0000 (15:38 +0000)]
gst/gstxml.c: Clarify that the save_thyself() and restore_thyself() virtual functions of GstObject need to be overrid...

Original commit message from CVS:
* gst/gstxml.c:
Clarify that the save_thyself() and restore_thyself() virtual
functions of GstObject need to be overriden, not
gst_object_(save|restore)_thyself() which is impossible.
Fixes bug #555700.

15 years agogst/gstpad.c: Revert a patch from 21 months ago that broke caps negotiation in pull...
Wim Taymans [Fri, 10 Oct 2008 15:27:37 +0000 (15:27 +0000)]
gst/gstpad.c: Revert a patch from 21 months ago that broke caps negotiation in pull mode. Basically, having a buffer ...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
Revert a patch from 21 months ago that broke caps negotiation in pull
mode. Basically, having a buffer pass over a pad will trigger the
setcaps function when caps change, just like in push mode.

15 years agodocs/design/part-negotiation.txt: Update the docs some more.
Wim Taymans [Fri, 10 Oct 2008 15:12:11 +0000 (15:12 +0000)]
docs/design/part-negotiation.txt: Update the docs some more.

Original commit message from CVS:
* docs/design/part-negotiation.txt:
Update the docs some more.
* libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
If we pull a buffer with non-trivial caps, suggest those caps with the
max probability.

15 years agodocs/design/part-TODO.txt: Add another limitation of pad-blocking with segment seeks...
Edward Hervey [Fri, 10 Oct 2008 14:31:03 +0000 (14:31 +0000)]
docs/design/part-TODO.txt: Add another limitation of pad-blocking with segment seeks not pushing

Original commit message from CVS:
* docs/design/part-TODO.txt:
Add another limitation of pad-blocking with segment seeks not pushing
EOS events.

15 years agowin32/common/: Add new symbols to the win32 defs files
Jan Schmidt [Fri, 10 Oct 2008 13:24:13 +0000 (13:24 +0000)]
win32/common/: Add new symbols to the win32 defs files

Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Add new symbols to the win32 defs files

15 years agogst/gstbin.c: The message src can be NULL, don't try to print the object names in...
Wim Taymans [Fri, 10 Oct 2008 10:38:12 +0000 (10:38 +0000)]
gst/gstbin.c: The message src can be NULL, don't try to print the object names in that case.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_remove_func), (update_degree),
(gst_bin_handle_message_func):
The message src can be NULL, don't try to print the object names in that
case.
* libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
Add some more debug info.
* tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
(GST_START_TEST):
Add some debug.
Fix the test, pull based sinks go ASYNC to PAUSED, just like other
scheduling modes.

15 years agodocs/design/part-negotiation.txt: Small doc update.
Wim Taymans [Fri, 10 Oct 2008 10:01:36 +0000 (10:01 +0000)]
docs/design/part-negotiation.txt: Small doc update.

Original commit message from CVS:
* docs/design/part-negotiation.txt:
Small doc update.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
(gst_base_sink_init), (gst_base_sink_set_blocksize),
(gst_base_sink_get_blocksize), (gst_base_sink_set_property),
(gst_base_sink_get_property), (gst_base_sink_needs_preroll),
(gst_base_sink_loop), (gst_base_sink_pad_activate),
(gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
Add blocksize property and methods to control the amount of data
to pull.
Negotiate first before activating upstream in pull mode so that they can
negotiate themselves.
When we operate in pull mode, we only accept the caps that we
negotiated.
Make the sink go ASYNC to PAUSED, like all other sinks.
API: GstBaseSink::gst_base_sink_set_blocksize()
API: GstBaseSink::gst_base_sink_get_blocksize()
API: GstBaseSink::blocksize
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_set_live), (gst_base_src_is_live),
(gst_base_src_set_format), (gst_base_src_query_latency),
(gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
(gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
(gst_base_src_set_property), (gst_base_src_get_property):
* libs/gst/base/gstbasesrc.h:
Add typechecking in public API functions.
Add methods to control the blocksize in subclasses.
API: GstBaseSrc::gst_base_src_set_blocksize()
API: GstBaseSrc::gst_base_src_get_blocksize()

15 years agotests/check/gst/gstutils.c: We now see 3 events go through our pad, since basesink...
Edward Hervey [Fri, 10 Oct 2008 09:11:10 +0000 (09:11 +0000)]
tests/check/gst/gstutils.c: We now see 3 events go through our pad, since basesink now sends upstream latency events.

Original commit message from CVS:
* tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
(buffer_probe), (event_probe), (GST_START_TEST):
We now see 3 events go through our pad, since basesink now sends
upstream latency events.

15 years agogst/gstpipeline.c: Release the object lock before trying to flush the bus.
Wim Taymans [Wed, 8 Oct 2008 15:21:12 +0000 (15:21 +0000)]
gst/gstpipeline.c: Release the object lock before trying to flush the bus.

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_change_state):
Release the object lock before trying to flush the bus.

15 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.

15 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.

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

Original commit message from CVS:
changelog

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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).

15 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.

15 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

15 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

15 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.

15 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.

15 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.

15 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()

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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

15 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

15 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

15 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

15 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.

15 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

15 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.

15 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.

15 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.

15 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).

15 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.

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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

15 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 !

15 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 !

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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".

15 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.

15 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().

15 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.

15 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.

15 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.

15 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.

15 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.

15 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()

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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

15 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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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).

15 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.

15 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.

15 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.

15 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.