platform/upstream/gstreamer.git
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.

16 years agoRemove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
Sebastian Dröge [Thu, 31 Jul 2008 15:20:32 +0000 (15:20 +0000)]
Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.c:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
* gst/gstconfig.h.in:
* gst/gstelement.c: (gst_element_get_index):
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature),
(gst_registry_binary_read_cache):
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
* plugins/Makefile.am:
* tools/gst-indent:
* tools/gst-inspect.c: (print_index_info), (print_element_list),
(print_plugin_features), (print_element_features):
* tools/gst-xmlinspect.c: (print_event_masks),
(print_element_info):
* win32/common/gstconfig.h:
Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
Disabling the indexers and URI handler code will only reduce the
required amount of memory by a very small amount but on the other hand
requires much more maintaince work. Apart from that many places of
code are broken when disabling them.
Disabling the enum types doesn't reduce the required amount of memory
by more than a few bytes and makes it hard to fix bugs like #539772,
i.e. use the enums as GObject properties.

16 years agodocs/design/part-TODO.txt: Add some thoughts and problems with upstream renegotiation.
Wim Taymans [Thu, 31 Jul 2008 13:06:56 +0000 (13:06 +0000)]
docs/design/part-TODO.txt: Add some thoughts and problems with upstream renegotiation.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Add some thoughts and problems with upstream renegotiation.

16 years agogst/gstpad.c: Remove silly redundant debug.
Wim Taymans [Thu, 31 Jul 2008 12:50:52 +0000 (12:50 +0000)]
gst/gstpad.c: Remove silly redundant debug.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_acceptcaps_default),
(gst_pad_configure_src), (gst_pad_alloc_buffer_full):
Remove silly redundant debug.
Add some more debug info.
Clarify the docs regarding new caps received from pad_alloc.

16 years agoplugins/elements/gstcapsfilter.c: Make setting the caps more threadsafe.
Wim Taymans [Thu, 31 Jul 2008 09:55:14 +0000 (09:55 +0000)]
plugins/elements/gstcapsfilter.c: Make setting the caps more threadsafe.

Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
(gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
Make setting the caps more threadsafe.

16 years agodocs/design/part-element-transform.txt: Update docs.
Wim Taymans [Thu, 31 Jul 2008 08:39:15 +0000 (08:39 +0000)]
docs/design/part-element-transform.txt: Update docs.

Original commit message from CVS:
* docs/design/part-element-transform.txt:
Update docs.

16 years agoplugins/elements/gstqueue.c: Add and use a custom acceptcaps function instead of...
Wim Taymans [Thu, 31 Jul 2008 08:37:04 +0000 (08:37 +0000)]
plugins/elements/gstqueue.c: Add and use a custom acceptcaps function instead of falling back to the potentially less...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_acceptcaps):
Add and use a custom acceptcaps function instead of falling back to the
potentially less optimized default implementation.

16 years agogst/gstpad.c: Only sanity-check the buffer size if requested_caps == buffer_caps...
Tim-Philipp Müller [Tue, 29 Jul 2008 15:32:11 +0000 (15:32 +0000)]
gst/gstpad.c: Only sanity-check the buffer size if requested_caps == buffer_caps (ie. don't take pad caps into accoun...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer_full):
Only sanity-check the buffer size if requested_caps == buffer_caps
(ie. don't take pad caps into account, they're not relevant here)

16 years agoplugins/elements/gsttee.*: Reverting as not everything is clear yet. Needs some gener...
Stefan Kost [Tue, 29 Jul 2008 14:32:51 +0000 (14:32 +0000)]
plugins/elements/gsttee.*: Reverting as not everything is clear yet. Needs some general design work.

Original commit message from CVS:
* plugins/elements/gsttee.c:
* plugins/elements/gsttee.h:
Reverting as not everything is clear yet. Needs some general design
work.

16 years agoChangeLog: ChangeLog surgery for tee commit.
Stefan Kost [Tue, 29 Jul 2008 13:36:39 +0000 (13:36 +0000)]
ChangeLog: ChangeLog surgery for tee commit.

Original commit message from CVS:
* ChangeLog:
ChangeLog surgery for tee commit.

16 years agodocs/gst/gstreamer-sections.txt: Cleanup section-file.
Stefan Kost [Tue, 29 Jul 2008 13:30:02 +0000 (13:30 +0000)]
docs/gst/gstreamer-sections.txt: Cleanup section-file.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Cleanup section-file.

16 years agoplugins/elements/gsttee.*: Relay tag events in tee. Fixes parts of #474016.
Stefan Kost [Tue, 29 Jul 2008 11:57:11 +0000 (11:57 +0000)]
plugins/elements/gsttee.*: Relay tag events in tee. Fixes parts of #474016.

Original commit message from CVS:
* plugins/elements/gsttee.c:
* plugins/elements/gsttee.h:
Relay tag events in tee. Fixes parts of #474016.

16 years agoBuild the net library if we have winsock2.
Michael Smith [Tue, 29 Jul 2008 00:45:29 +0000 (00:45 +0000)]
Build the net library if we have winsock2.

Original commit message from CVS:
* configure.ac:
* libs/gst/Makefile.am:
Build the net library if we have winsock2.

16 years agodocs/manual/: Replace one diagram with two separate ones and updates others.
Luc Pionchon [Sat, 26 Jul 2008 12:00:36 +0000 (12:00 +0000)]
docs/manual/: Replace one diagram with two separate ones and updates others.

Original commit message from CVS:
patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/advanced-threads.xml:
* docs/manual/diagrams-pipelines.svg:
* docs/manual/hello-world.png:
* docs/manual/linked-elements.png:
* docs/manual/mime-world.png:
* docs/manual/queue.png:
* docs/manual/thread-buffering.png:
* docs/manual/thread-synchronizing.png:
Replace one diagram with two separate ones and updates others.
Fixes #542401.

16 years agogst/gstelement.h: Fix link in documentation.
Thijs Vermeir [Fri, 25 Jul 2008 10:24:43 +0000 (10:24 +0000)]
gst/gstelement.h: Fix link in documentation.

Original commit message from CVS:
* gst/gstelement.h:
Fix link in documentation.

16 years agogst/gstmessage.c: Fix confusing documentation.
Thijs Vermeir [Thu, 24 Jul 2008 17:38:43 +0000 (17:38 +0000)]
gst/gstmessage.c: Fix confusing documentation.

Original commit message from CVS:
* gst/gstmessage.c:
Fix confusing documentation.

16 years agolibs/gst/base/gstbasesrc.h: revert the changes to the header file for the ABI.
Thijs Vermeir [Thu, 24 Jul 2008 15:13:24 +0000 (15:13 +0000)]
libs/gst/base/gstbasesrc.h: revert the changes to the header file for the ABI.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.h:
revert the changes to the header file for the ABI.

16 years agolibs/gst/base/gstbasesrc.*: Don't cache the seekable status.
Thijs Vermeir [Thu, 24 Jul 2008 14:47:58 +0000 (14:47 +0000)]
libs/gst/base/gstbasesrc.*: Don't cache the seekable status.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasesrc.h:
Don't cache the seekable status.
Fixes bug #544174

16 years agodocs/manual/advanced-autoplugging.xml: Add fakesink to example code to close the...
Rene Stadler [Thu, 24 Jul 2008 12:36:20 +0000 (12:36 +0000)]
docs/manual/advanced-autoplugging.xml: Add fakesink to example code to close the pipeline graph.  This prevents the p...

Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml: Add fakesink to example
code to close the pipeline graph.  This prevents the program from
printing internal data flow errors.

16 years agodocs/manual/basics-bus.xml: Correct typo. Fixes bug #544320.
Sebastian Dröge [Wed, 23 Jul 2008 15:44:04 +0000 (15:44 +0000)]
docs/manual/basics-bus.xml: Correct typo. Fixes bug #544320.

Original commit message from CVS:
* docs/manual/basics-bus.xml:
Correct typo. Fixes bug #544320.

16 years agoconfigure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Michael Smith [Tue, 22 Jul 2008 18:12:54 +0000 (18:12 +0000)]
configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.

Original commit message from CVS:
* configure.ac:
Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Add check (taken from -base) for winsock, adds WIN32_LIBS
* gst/Makefile.am:
Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
winsock.
Define GST_EXPORTS when building libgstreamer (only used on win32)
* gst/gst_private.h:
* gst/gstinfo.h:
Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
for symbols that we need to export in both these files.
* gst/gstpoll.c:
Include gst_private.h higher up to avoid some compile problems on win32.

16 years agogst/gstvalue.c: Fix typos.
Sebastian Dröge [Tue, 22 Jul 2008 09:24:37 +0000 (09:24 +0000)]
gst/gstvalue.c: Fix typos.

Original commit message from CVS:
* gst/gstvalue.c:
Fix typos.

16 years agogst/gstcaps.c: Previous commit was wrong NULL caps does not exist and indicate an...
Thijs Vermeir [Tue, 22 Jul 2008 00:29:55 +0000 (00:29 +0000)]
gst/gstcaps.c: Previous commit was wrong NULL caps does not exist and indicate an error, so also add a FIXME to gst_c...

Original commit message from CVS:
* gst/gstcaps.c:
Previous commit was wrong NULL caps does not exist
and indicate an error, so also add a FIXME to
gst_caps_is_equal where NULL caps are accepted.

16 years agogst/gstcaps.c: Allow passing of NULL to gst_caps_union
Thijs Vermeir [Mon, 21 Jul 2008 23:02:40 +0000 (23:02 +0000)]
gst/gstcaps.c: Allow passing of NULL to gst_caps_union

Original commit message from CVS:
* gst/gstcaps.c:
Allow passing of NULL to gst_caps_union

16 years agogst/gstghostpad.c: Add in doc that gst_ghost_pad_set_target can accept
Thijs Vermeir [Mon, 21 Jul 2008 21:32:06 +0000 (21:32 +0000)]
gst/gstghostpad.c: Add in doc that gst_ghost_pad_set_target can accept

Original commit message from CVS:
* gst/gstghostpad.c:
Add in doc that gst_ghost_pad_set_target can accept
NULL to clear target

16 years agogst/: GstRegistryPool doesn't exist; don't refer to it in docs.
Michael Smith [Tue, 15 Jul 2008 22:53:00 +0000 (22:53 +0000)]
gst/: GstRegistryPool doesn't exist; don't refer to it in docs.

Original commit message from CVS:
* gst/gstplugin.c:
* gst/gstregistry.c:
GstRegistryPool doesn't exist; don't refer to it in docs.
Don't refer to functions that don't exist in docs, it's
unhelpful.

16 years agogst/gst.c: Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
Sebastian Dröge [Sat, 12 Jul 2008 17:51:16 +0000 (17:51 +0000)]
gst/gst.c: Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.

Original commit message from CVS:
* gst/gst.c:
Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.

16 years agodocs/pwg/building-testapp.xml: Don't use an undeclared variable in the example program.
tmatth [Sat, 12 Jul 2008 17:43:15 +0000 (17:43 +0000)]
docs/pwg/building-testapp.xml: Don't use an undeclared variable in the example program.

Original commit message from CVS:
Patch by: tmatth <le dot businessman at gmail dot com>
* docs/pwg/building-testapp.xml:
Don't use an undeclared variable in the example program.
Fixes bug #542573.

16 years agogst/gstdebugutils.c: Squeeze ghost-pad links and remove <> from classname labels...
Stefan Kost [Sat, 12 Jul 2008 09:59:32 +0000 (09:59 +0000)]
gst/gstdebugutils.c: Squeeze ghost-pad links and remove <> from classname labels to save more horizontal space.

Original commit message from CVS:
* gst/gstdebugutils.c:
Squeeze ghost-pad links and remove <> from classname labels to save
more horizontal space.

16 years agogst/gstdebugutils.c: Give request and sometimes pads a different shpe style. Condense...
Stefan Kost [Fri, 11 Jul 2008 19:30:48 +0000 (19:30 +0000)]
gst/gstdebugutils.c: Give request and sometimes pads a different shpe style. Condense the graphs a little more.

Original commit message from CVS:
* gst/gstdebugutils.c:
Give request and sometimes pads a different shpe style. Condense the
graphs a little more.

16 years agoconfigure.ac: Don't require flex and bison if the parser is disabled.
Michael Smith [Thu, 10 Jul 2008 00:30:02 +0000 (00:30 +0000)]
configure.ac: Don't require flex and bison if the parser is disabled.

Original commit message from CVS:
* configure.ac:
Don't require flex and bison if the parser is disabled.

16 years agolibs/gst/controller/gstinterpolationcontrolsource.c: Don't use declarations after...
Sebastian Dröge [Tue, 8 Jul 2008 11:20:22 +0000 (11:20 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Don't use declarations after statements.

Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
(_list_find_sorted_custom):
Don't use declarations after statements.

16 years agogst/gstchildproxy.c: Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature...
Sebastian Dröge [Tue, 8 Jul 2008 09:04:25 +0000 (09:04 +0000)]
gst/gstchildproxy.c: Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature of the the child-added / -removed si...

Original commit message from CVS:
* gst/gstchildproxy.c: (gst_child_proxy_base_init):
Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
of the the child-added / -removed signals as GstChildProxy
only supports GstObjects.

16 years agogst/gstdebugutils.c: Fix memleak
Thijs Vermeir [Mon, 7 Jul 2008 11:01:26 +0000 (11:01 +0000)]
gst/gstdebugutils.c: Fix memleak

Original commit message from CVS:
* gst/gstdebugutils.c:
Fix memleak

16 years agogst/gstpoll.c: Fix "ignored return value" compiler warning with newer glibc.
Alessandro Decina [Sun, 6 Jul 2008 12:49:43 +0000 (12:49 +0000)]
gst/gstpoll.c: Fix "ignored return value" compiler warning with newer glibc.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/gstpoll.c:
Fix "ignored return value" compiler warning with newer glibc.

16 years agogst/gstchildproxy.c: Fix copy&paste error in gst_child_proxy_removed() documentation.
Sebastian Dröge [Sat, 5 Jul 2008 16:28:28 +0000 (16:28 +0000)]
gst/gstchildproxy.c: Fix copy&paste error in gst_child_proxy_removed() documentation.

Original commit message from CVS:
* gst/gstchildproxy.c:
Fix copy&paste error in gst_child_proxy_removed() documentation.

16 years agogst/gstplugin.c: Print error debug message if plugin description fields that should...
Tim-Philipp Müller [Wed, 2 Jul 2008 14:43:40 +0000 (14:43 +0000)]
gst/gstplugin.c: Print error debug message if plugin description fields that should be set are NULL.

Original commit message from CVS:
* gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
Print error debug message if plugin description fields that should
be set are NULL.
* gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
Don't crash if the string to serialise is NULL (it really should
not be, but apparently this used to work with the xml registry ...).

16 years agotools/gst-plot-timeline.py: Fix parsing of log messages
Thijs Vermeir [Wed, 2 Jul 2008 12:23:12 +0000 (12:23 +0000)]
tools/gst-plot-timeline.py: Fix parsing of log messages

Original commit message from CVS:
* tools/gst-plot-timeline.py:
Fix parsing of log messages

16 years agowin32/common/libgstbase.def: Sort alphabetically so make check-exports doesn't barf.
Tim-Philipp Müller [Tue, 1 Jul 2008 09:27:47 +0000 (09:27 +0000)]
win32/common/libgstbase.def: Sort alphabetically so make check-exports doesn't barf.

Original commit message from CVS:
* win32/common/libgstbase.def::
Sort alphabetically so make check-exports doesn't barf.

16 years agogst/gstevent.c: Use gst_format_get_name() to improve debug output.
Stefan Kost [Tue, 1 Jul 2008 05:53:32 +0000 (05:53 +0000)]
gst/gstevent.c: Use gst_format_get_name() to improve debug output.

Original commit message from CVS:
* gst/gstevent.c:
Use gst_format_get_name() to improve debug output.
* gst/gstpreset.c:
Remove #ifdef'ed code. Add TODO comment.
* gst/gstsegment.c:
Add debug output to ease spotting format != segment.format assertions.

16 years agotests/check/libs/gdp.c: Also enable the GDP unit test again on PPC now that the bug...
Sebastian Dröge [Mon, 30 Jun 2008 09:42:43 +0000 (09:42 +0000)]
tests/check/libs/gdp.c: Also enable the GDP unit test again on PPC now that the bug is fixed.

Original commit message from CVS:
* tests/check/libs/gdp.c: (gst_dp_suite):
Also enable the GDP unit test again on PPC now that the bug
is fixed.

16 years agolibs/gst/dataprotocol/dataprotocol.c: Don't write to the same region of memory as...
Sebastian Dröge [Mon, 30 Jun 2008 09:38:45 +0000 (09:38 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Don't write to the same region of memory as a uint64 and uint16
as this breaks strict aliasing rules and apparantly breaks on PPC
and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.

16 years agolibs/gst/controller/gstinterpolationcontrolsource.c: Optimize list handling. Use...
Stefan Kost [Sun, 29 Jun 2008 16:11:24 +0000 (16:11 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Optimize list handling. Use own find function. Exploit that fact...

Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
Optimize list handling. Use own find function. Exploit that fact that
the list is sorted. Also pass back the node before, so that we can
insert quickly. Have a fast path for append.

16 years agodocs/design/: Fix two typos.
Stefan Kost [Sun, 29 Jun 2008 15:00:26 +0000 (15:00 +0000)]
docs/design/: Fix two typos.

Original commit message from CVS:
* docs/design/draft-framestep.txt:
* docs/design/part-negotiation.txt:
Fix two typos.

16 years agoconfigure.ac:
Stefan Kost [Fri, 27 Jun 2008 09:02:51 +0000 (09:02 +0000)]
configure.ac:

Original commit message from CVS:
* configure.ac:
Show configuration sumary after configure run. Based on patch by
Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134

16 years agodocs/manual/: Add scale factor for pdf output.
Luc Pionchon [Fri, 27 Jun 2008 07:03:05 +0000 (07:03 +0000)]
docs/manual/: Add scale factor for pdf output.

Original commit message from CVS:
patch by: Luc Pionchon  <luc.pionchon@nokia.com>
* docs/manual/advanced-autoplugging.xml:
* docs/manual/advanced-threads.xml:
* docs/manual/basics-bins.xml:
* docs/manual/basics-elements.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
Add scale factor for pdf output.
* docs/manual/intro-basics.xml:
Switched sections "pads" and "bins" and added a pipeline diagram.
* docs/manual/intro-gstreamer.xml:
Added more info on gstreamer.
* docs/manual/intro-motivation.xml:
Commented out the whole section "current problem", which sounds
historical and somehow osolete; it could be turned in a positive
way and reused to improve the design principles.
* docs/manual/intro-preface.xml:
- Update URLs to library.gnome.org.
- Do not mention GTK+ in preliminary reading (irrelevant).
- Mention Plugin Writer's Manual and further reading only in the
previous section.
- Added a list of most relevant GObject/glib topics.
* docs/manual/Makefile.am:
* docs/manual/bin-element-ghost.fig:
* docs/manual/bin-element-ghost.png:
* docs/manual/bin-element-noghost.fig:
* docs/manual/bin-element-noghost.png:
* docs/manual/bin-element.fig:
* docs/manual/bin-element.png:
* docs/manual/filter-element-multi.fig:
* docs/manual/filter-element-multi.png:
* docs/manual/filter-element.fig:
* docs/manual/filter-element.png:
* docs/manual/gstreamer-overview.png:
* docs/manual/hello-world.fig:
* docs/manual/hello-world.png:
* docs/manual/linked-elements.fig:
* docs/manual/linked-elements.png:
* docs/manual/mime-world.fig:
* docs/manual/mime-world.png:
* docs/manual/queue.fig:
* docs/manual/queue.png:
* docs/manual/simple-player.png:
* docs/manual/sink-element.fig:
* docs/manual/sink-element.png:
* docs/manual/src-element.fig:
* docs/manual/src-element.png:
* docs/manual/diagrams-general.svg:
* docs/manual/diagrams-pipelines.svg:
Removed .fig, added .png counterpart.
Fixes: #539137

16 years agoplugins/elements/gstmultiqueue.*: revert extra-size-buffers stuff, caused some race...
Thijs Vermeir [Thu, 26 Jun 2008 20:27:00 +0000 (20:27 +0000)]
plugins/elements/gstmultiqueue.*: revert extra-size-buffers stuff, caused some race conditions and extra-size-buffers...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstmultiqueue.h:
revert extra-size-buffers stuff, caused some race conditions
and extra-size-buffers is not used anymore. Docs needs some updates