platform/upstream/gstreamer.git
18 years agogst/gstformat.c: Don't segfault on invalid formats.
Wim Taymans [Tue, 14 Mar 2006 19:16:45 +0000 (19:16 +0000)]
gst/gstformat.c: Don't segfault on invalid formats.

Original commit message from CVS:
* gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
Don't segfault on invalid formats.

18 years agolibs/gst/base/gstbasesink.c: Can't use gst_segment_to_running_time() when the segment...
Tim-Philipp Müller [Tue, 14 Mar 2006 18:25:54 +0000 (18:25 +0000)]
libs/gst/base/gstbasesink.c: Can't use gst_segment_to_running_time() when the segment is not in GST_TIME_FORMAT (like...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Can't use gst_segment_to_running_time() when the segment
is not in GST_TIME_FORMAT (like with filesink, for example).
Stops flac encoding pipelines from spewing critical warnings
at EOS (#331248).

18 years agogst/gstpipeline.c: Add 'Since: 0.10.5' to gtk-doc blurb for added property.
Tim-Philipp Müller [Tue, 14 Mar 2006 16:32:58 +0000 (16:32 +0000)]
gst/gstpipeline.c: Add 'Since: 0.10.5' to gtk-doc blurb for added property.

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_class_init):
Add 'Since: 0.10.5' to gtk-doc blurb for added property.
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
Don't try to typefind empty streams.

18 years agolibs/gst/base/gstbasesink.c: Separate QoS calculation.
Wim Taymans [Tue, 14 Mar 2006 11:18:07 +0000 (11:18 +0000)]
libs/gst/base/gstbasesink.c: Separate QoS calculation.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
(gst_base_sink_do_qos):
Separate QoS calculation.
Only drop buffers when lateness is bigger than the
duration of the buffer.

18 years agogst/gstpipeline.c: Don't deadlock when reading properties.
Wim Taymans [Mon, 13 Mar 2006 15:17:45 +0000 (15:17 +0000)]
gst/gstpipeline.c: Don't deadlock when reading properties.

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_set_property),
(gst_pipeline_get_property), (do_pipeline_seek),
(gst_pipeline_change_state), (gst_pipeline_set_delay),
(gst_pipeline_get_delay):
Don't deadlock when reading properties.

18 years agolibs/gst/base/gstbasetransform.*: Make basetransform virtual method for src events...
Wim Taymans [Mon, 13 Mar 2006 11:27:57 +0000 (11:27 +0000)]
libs/gst/base/gstbasetransform.*: Make basetransform virtual method for src events too.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init), (gst_base_transform_init),
(gst_base_transform_sink_event),
(gst_base_transform_sink_eventfunc),
(gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
(gst_base_transform_set_property),
(gst_base_transform_get_property),
(gst_base_transform_change_state), (gst_base_transform_update_qos),
(gst_base_transform_set_qos_enabled),
(gst_base_transform_is_qos_enabled):
* libs/gst/base/gstbasetransform.h:
Make basetransform virtual method for src events too.
Handle QOS in basetransform.
API: gst_base_transform_update_qos
API: gst_base_transform_set_qos_enabled
API: gst_base_transform_is_qos_enabled

18 years agolibs/gst/base/gstbasesink.c: Small cleanups.
Wim Taymans [Mon, 13 Mar 2006 11:16:45 +0000 (11:16 +0000)]
libs/gst/base/gstbasesink.c: Small cleanups.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_do_sync):
Small cleanups.
Use QOS debug category.

18 years agoplugins/elements/gstqueue.c: Very small doc update.
Wim Taymans [Mon, 13 Mar 2006 11:11:16 +0000 (11:11 +0000)]
plugins/elements/gstqueue.c: Very small doc update.

Original commit message from CVS:
* plugins/elements/gstqueue.c:
Very small doc update.

18 years agogst/: Added QOS debug category
Wim Taymans [Mon, 13 Mar 2006 11:08:28 +0000 (11:08 +0000)]
gst/: Added QOS debug category

Original commit message from CVS:
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
Added QOS debug category

18 years agoDocumentation updates.
Wim Taymans [Mon, 13 Mar 2006 11:04:38 +0000 (11:04 +0000)]
Documentation updates.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
* gst/gstbin.h:
* gst/gstbus.c: (gst_bus_class_init):
* gst/gstbus.h:
* gst/gstclock.c:
* gst/gstelement.c: (gst_element_set_locked_state):
* gst/gstsegment.c:
Documentation updates.
* gst/gstpipeline.c: (gst_pipeline_get_type),
(gst_pipeline_class_init), (gst_pipeline_init),
(gst_pipeline_dispose), (gst_pipeline_set_property),
(gst_pipeline_get_property), (do_pipeline_seek),
(gst_pipeline_send_event), (gst_pipeline_change_state),
(gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
(gst_pipeline_get_delay):
* gst/gstpipeline.h:
Added methods for setting the delay.
API: gst_pipeline_set_delay
API: gst_pipeline_get_delay
Add pipeline debug category
Various cleanups.
Updated docs.
Don't reset stream time when seek failed.

18 years agodocs/design/: Documentation updates.
Wim Taymans [Mon, 13 Mar 2006 10:32:26 +0000 (10:32 +0000)]
docs/design/: Documentation updates.

Original commit message from CVS:
* docs/design/draft-klass.txt:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbin.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* docs/design/part-negotiation.txt:
* docs/design/part-overview.txt:
* docs/design/part-preroll.txt:
* docs/design/part-seeking.txt:
* docs/design/part-states.txt:
* docs/design/part-streams.txt:
Documentation updates.

18 years agogst/gsttaglist.c: Fix rubbish docs that are encouraging us to leak strings...
Julien Moutte [Sun, 12 Mar 2006 20:44:46 +0000 (20:44 +0000)]
gst/gsttaglist.c: Fix rubbish docs that are encouraging us to leak strings...

Original commit message from CVS:
2006-03-12  Julien MOUTTE  <julien@moutte.net>

* gst/gsttaglist.c: Fix rubbish docs that are encouraging
us to leak strings...

18 years agolibs/gst/net/gstnettimeprovider.c: fix docs
Thomas Vander Stichele [Sun, 12 Mar 2006 20:40:19 +0000 (20:40 +0000)]
libs/gst/net/gstnettimeprovider.c: fix docs

Original commit message from CVS:

* libs/gst/net/gstnettimeprovider.c:
fix docs
* win32/common/config.h:
update

18 years agoconfigure.ac: Don't check for libgnomeui (leftover from old examples that aren't...
Julio M. Merino Vidal [Sun, 12 Mar 2006 14:32:37 +0000 (14:32 +0000)]
configure.ac: Don't check for libgnomeui (leftover from old examples that aren't built or disted any longer) (#334303).

Original commit message from CVS:
Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
* configure.ac:
Don't check for libgnomeui (leftover from old examples
that aren't built or disted any longer) (#334303).

18 years agoplugins/elements/: Emit RESOURCE_NO_SPACE_LEFT error here as well when there's no...
Tim-Philipp Müller [Sat, 11 Mar 2006 13:02:28 +0000 (13:02 +0000)]
plugins/elements/: Emit RESOURCE_NO_SPACE_LEFT error here as well when there's no space left on the device.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_render):
* plugins/elements/gstfilesink.c: (gst_file_sink_render):
Emit RESOURCE_NO_SPACE_LEFT error here as well when
there's no space left on the device.

18 years agogst/gstclock.h: Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need to cast the...
Tim-Philipp Müller [Fri, 10 Mar 2006 23:44:00 +0000 (23:44 +0000)]
gst/gstclock.h: Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need to cast the input to GstClockTime before comp...

Original commit message from CVS:
* gst/gstclock.h:
Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
to cast the input to GstClockTime before comparing with
another GstClockTime value.

18 years agolog what we're waiting on
Thomas Vander Stichele [Fri, 10 Mar 2006 19:12:01 +0000 (19:12 +0000)]
log what we're waiting on

Original commit message from CVS:
log what we're waiting on

18 years agoback to head
Thomas Vander Stichele [Fri, 10 Mar 2006 19:11:34 +0000 (19:11 +0000)]
back to head

Original commit message from CVS:
back to head

18 years agoreleasing 0.10.4 RELEASE-0_10_4
Thomas Vander Stichele [Fri, 10 Mar 2006 19:03:13 +0000 (19:03 +0000)]
releasing 0.10.4

Original commit message from CVS:
releasing 0.10.4

18 years agolibs/gst/dataprotocol/dataprotocol.c: Fix docs for dataprocotol to not get the return...
Michael Smith [Fri, 10 Mar 2006 15:30:27 +0000 (15:30 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Fix docs for dataprocotol to not get the return types completely wrong for a fe...

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Fix docs for dataprocotol to not get the return types completely
wrong for a few functions.

18 years agoprereleasing
Thomas Vander Stichele [Thu, 9 Mar 2006 19:00:21 +0000 (19:00 +0000)]
prereleasing

Original commit message from CVS:
prereleasing

18 years agoAdd new API: gst_pipeline_set_auto_flush_bus() and gst_pipeline_get_auto_flush_bus...
Tim-Philipp Müller [Thu, 9 Mar 2006 16:53:05 +0000 (16:53 +0000)]
Add new API: gst_pipeline_set_auto_flush_bus() and gst_pipeline_get_auto_flush_bus() to disable automatic flushing of...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpipeline.c: (gst_pipeline_class_init),
(gst_pipeline_init), (gst_pipeline_set_property),
(gst_pipeline_get_property), (gst_pipeline_change_state),
(gst_pipeline_set_auto_flush_bus),
(gst_pipeline_get_auto_flush_bus):
* gst/gstpipeline.h:
Add new API: gst_pipeline_set_auto_flush_bus() and
gst_pipeline_get_auto_flush_bus() to disable automatic
flushing of the pipeline's GstBus when going from READY
to NULL state (#332045).

18 years agoAdd new API: gst_uri_has_protocol() (#333779).
Tim-Philipp Müller [Thu, 9 Mar 2006 12:08:54 +0000 (12:08 +0000)]
Add new API: gst_uri_has_protocol() (#333779).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsturi.c: (gst_uri_has_protocol):
* gst/gsturi.h:
Add new API: gst_uri_has_protocol() (#333779).

18 years agogst/gstclock.*: Review docs.
Wim Taymans [Thu, 9 Mar 2006 11:45:14 +0000 (11:45 +0000)]
gst/gstclock.*: Review docs.

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_entry_new),
(gst_clock_id_compare_func), (gst_clock_id_wait),
(gst_clock_id_wait_async), (gst_clock_id_unschedule),
(gst_clock_init), (gst_clock_get_internal_time),
(gst_clock_set_master), (do_linear_regression),
(gst_clock_add_observation), (gst_clock_set_property):
* gst/gstclock.h:
Review docs.
Small cleanups.
Fix a possible segfault when the window-size is made smaller.
Calculate jitter before performing the clock wait. Ideally
the clock implementation should calculate jitter but we need
API breakage for that.
* gst/gstsystemclock.c: (gst_system_clock_init):
Docs review.
* libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
Remove leftover else
* tests/check/gst/gstsystemclock.c: (GST_START_TEST),
(gst_systemclock_suite):
Added check to test GST_CLOCK_DIFF.

18 years agolibs/gst/base/gsttypefindhelper.c: If we are provided with the size, we should implement
Tim-Philipp Müller [Thu, 9 Mar 2006 10:46:35 +0000 (10:46 +0000)]
libs/gst/base/gsttypefindhelper.c: If we are provided with the size, we should implement

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
(gst_type_find_helper_get_range):
If we are provided with the size, we should implement
GstTypeFind::get_length, so that typefind functions who
want to can actually peek at the middle of a file.

18 years agodocs/manual/advanced-dataaccess.xml: Add some very very basic error checking.
Tim-Philipp Müller [Wed, 8 Mar 2006 14:30:40 +0000 (14:30 +0000)]
docs/manual/advanced-dataaccess.xml: Add some very very basic error checking.

Original commit message from CVS:
* docs/manual/advanced-dataaccess.xml:
Add some very very basic error checking.
* docs/pwg/appendix-checklist.xml:
Some updates to the list of things to check when writing an element.

18 years agodocs/design/part-element-transform.txt: Added some docs about the design of tranform...
Wim Taymans [Wed, 8 Mar 2006 13:44:55 +0000 (13:44 +0000)]
docs/design/part-element-transform.txt: Added some docs about the design of tranform elements.

Original commit message from CVS:
* docs/design/part-element-transform.txt:
Added some docs about the design of tranform elements.
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_loop), (gst_base_src_change_state):
Mark buffers with the DISCONT flag.

18 years agogst/: Rewrite registry-saving to avoid race conditions and check for failed writes.
Michael Smith [Wed, 8 Mar 2006 12:57:37 +0000 (12:57 +0000)]
gst/: Rewrite registry-saving to avoid race conditions and check for failed writes.

Original commit message from CVS:
* gst/gstregistry.h:
* gst/gstregistryxml.c: (gst_registry_save),
(gst_registry_save_escaped), (gst_registry_xml_save_caps),
(gst_registry_xml_save_pad_template),
(gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
(gst_registry_xml_write_cache):
Rewrite registry-saving to avoid race conditions and check for
failed writes.

18 years agolibs/gst/base/gstbasetransform.c: Cleanups, separate normal flow from errors, add...
Wim Taymans [Wed, 8 Mar 2006 10:17:41 +0000 (10:17 +0000)]
libs/gst/base/gstbasetransform.c: Cleanups, separate normal flow from errors, add sensible

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps),
(gst_base_transform_transform_size),
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_get_unit_size),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer),
(gst_base_transform_change_state):
Cleanups, separate normal flow from errors, add sensible
DEBUG lines.
Don't try to renegotiate when allocating an output buffer.
Also copy DISCONT buffer flag when copying a buffer.
Reset the transform after we finish streaming, not during.

18 years agolibs/gst/base/gstbasesink.c: Use last buffer timestamp in qos message.
Wim Taymans [Wed, 8 Mar 2006 09:46:54 +0000 (09:46 +0000)]
libs/gst/base/gstbasesink.c: Use last buffer timestamp in qos message.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
Use last buffer timestamp in qos message.

18 years agodocs/pwg/: Applied patch from Christophe Fergeau, fixes #333416
Wim Taymans [Tue, 7 Mar 2006 17:06:53 +0000 (17:06 +0000)]
docs/pwg/: Applied patch from Christophe Fergeau, fixes #333416

Original commit message from CVS:
* docs/pwg/advanced-tagging.xml:
* docs/pwg/building-pads.xml:
Applied patch from Christophe Fergeau, fixes #333416

18 years agodocs/libs/gstreamer-libs-sections.txt: Added basesink new methods.
Wim Taymans [Tue, 7 Mar 2006 16:21:02 +0000 (16:21 +0000)]
docs/libs/gstreamer-libs-sections.txt: Added basesink new methods.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Added basesink new methods.
* gst/gstevent.c:
* gst/gstevent.h:
Docs updates. Flesh out the QoS docs.
* libs/gst/base/gstadapter.c:
Small doc clarification about ownership and flushing.
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
(gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
(gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
(gst_base_sink_get_property), (gst_base_sink_do_sync):
* libs/gst/base/gstbasesink.h:
Added new methods to allow subclass to control max-lateness
and sync.
Generate very basic QoS events based on last sync observation.
Updated docs, fix typo, added some QoS blurb.
* libs/gst/base/gstbasesrc.c:
Remove obsolete _get_state() calls from docs.

18 years agoFix #333669, Add pad accessor defines for GstBaseTransform
Wim Taymans [Tue, 7 Mar 2006 15:14:51 +0000 (15:14 +0000)]
Fix #333669, Add pad accessor defines for GstBaseTransform

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasetransform.h:
Fix #333669, Add pad accessor defines for GstBaseTransform
Fix docs for GstBaseSrc.

18 years agoSmall documentation fixes.
Wim Taymans [Tue, 7 Mar 2006 15:08:57 +0000 (15:08 +0000)]
Small documentation fixes.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.h:
* gst/gstvalue.c:
* libs/gst/base/gstbasetransform.h:
Small documentation fixes.

18 years agogst/gstvalue.c: Document thread-unsafety of gst_value_register_foo_func() when used...
Tim-Philipp Müller [Tue, 7 Mar 2006 11:47:24 +0000 (11:47 +0000)]
gst/gstvalue.c: Document thread-unsafety of gst_value_register_foo_func() when used at the same time as gst_value_foo...

Original commit message from CVS:
* gst/gstvalue.c:
Document thread-unsafety of gst_value_register_foo_func()
when used at the same time as gst_value_foo() (#322628).

18 years agoupdate README
Thomas Vander Stichele [Tue, 7 Mar 2006 10:19:25 +0000 (10:19 +0000)]
update README

Original commit message from CVS:
update README

18 years agolibs/gst/base/gstpushsrc.c: Push sources don't support pull mode by default.
Tim-Philipp Müller [Tue, 7 Mar 2006 09:28:44 +0000 (09:28 +0000)]
libs/gst/base/gstpushsrc.c: Push sources don't support pull mode by default.

Original commit message from CVS:
* libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
(gst_push_src_check_get_range):
Push sources don't support pull mode by default.

18 years agolibs/gst/base/gstbasesrc.*: Add ::check_get_range() vfunc to GstBaseSrc (#332611...
Tim-Philipp Müller [Mon, 6 Mar 2006 19:55:06 +0000 (19:55 +0000)]
libs/gst/base/gstbasesrc.*: Add ::check_get_range() vfunc to GstBaseSrc (#332611), provide default implementation, an...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_pad_check_get_range),
(gst_base_src_default_check_get_range):
* libs/gst/base/gstbasesrc.h:
Add ::check_get_range() vfunc to GstBaseSrc (#332611),
provide default implementation, and rename
gst_base_src_check_get_range() to
gst_base_src_pad_check_get_range() for clarity.

18 years agostyle guide
Thomas Vander Stichele [Mon, 6 Mar 2006 16:24:34 +0000 (16:24 +0000)]
style guide

Original commit message from CVS:
style guide

18 years agolibs/gst/base/gstbasesink.c: Make property overridable.
Wim Taymans [Mon, 6 Mar 2006 16:10:42 +0000 (16:10 +0000)]
libs/gst/base/gstbasesink.c: Make property overridable.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
Make property overridable.

18 years agolibs/gst/base/gstbasesink.*: Make max-lateness a property.
Wim Taymans [Mon, 6 Mar 2006 16:02:37 +0000 (16:02 +0000)]
libs/gst/base/gstbasesink.*: Make max-lateness a property.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_set_property),
(gst_base_sink_get_property), (gst_base_sink_do_sync):
* libs/gst/base/gstbasesink.h:
Make max-lateness a property.

18 years agolibs/gst/base/gstbasesink.c: Don't ever draw a frame that is >10ms late.
Wim Taymans [Mon, 6 Mar 2006 15:16:23 +0000 (15:16 +0000)]
libs/gst/base/gstbasesink.c: Don't ever draw a frame that is >10ms late.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
(gst_base_sink_do_sync), (gst_base_sink_render_object):
Don't ever draw a frame that is >10ms late.

18 years agogst/gstmessage.c: When copying a message, set the parent_refcount of the enclosed...
Michael Smith [Mon, 6 Mar 2006 14:51:36 +0000 (14:51 +0000)]
gst/gstmessage.c: When copying a message, set the parent_refcount of the enclosed structure to point at the copy, not...

Original commit message from CVS:
* gst/gstmessage.c: (_gst_message_copy):
When copying a message, set the parent_refcount of the enclosed
structure to point at the copy, not the original message.

18 years agogst/gstutils.h: Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
Christophe Fergeau [Mon, 6 Mar 2006 14:46:31 +0000 (14:46 +0000)]
gst/gstutils.h: Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE

Original commit message from CVS:
* gst/gstutils.h:
Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
usable in c++ code (#333417; patch by: Christophe Fergeau)

18 years agogst/gstclock.h: Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
Thomas Vander Stichele [Mon, 6 Mar 2006 14:34:49 +0000 (14:34 +0000)]
gst/gstclock.h: Show GST_CLOCK_TIME_NONE as 99:99:99.999999999

Original commit message from CVS:

* gst/gstclock.h:
Show GST_CLOCK_TIME_NONE as 99:99:99.999999999

18 years agoadd another quote
Thomas Vander Stichele [Mon, 6 Mar 2006 14:23:56 +0000 (14:23 +0000)]
add another quote

Original commit message from CVS:
add another quote

18 years agolibs/gst/base/gstbasetransform.c: Make sure caps are writable before passing them...
Tim-Philipp Müller [Sun, 5 Mar 2006 20:56:55 +0000 (20:56 +0000)]
libs/gst/base/gstbasetransform.c: Make sure caps are writable before passing them to gst_caps_append().

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps):
Make sure caps are writable before passing them to
gst_caps_append().

18 years agogst/gsterror.h: Fix some minor docs errors.
Tim-Philipp Müller [Sat, 4 Mar 2006 14:45:40 +0000 (14:45 +0000)]
gst/gsterror.h: Fix some minor docs errors.

Original commit message from CVS:
* gst/gsterror.h:
Fix some minor docs errors.

18 years agogst/gsterror.*: Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
Ross Burton [Sat, 4 Mar 2006 13:54:26 +0000 (13:54 +0000)]
gst/gsterror.*: Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;

Original commit message from CVS:
* gst/gsterror.c: (_gst_resource_errors_init):
* gst/gsterror.h:
Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
patch by: Ross Burton <ross at burtonini dot com>).

18 years agogst/gst.c: Add a check and output a g_warning when GStreamer is built against GLib...
Jan Schmidt [Fri, 3 Mar 2006 16:58:51 +0000 (16:58 +0000)]
gst/gst.c: Add a check and output a g_warning when GStreamer is built against GLib 2.6 but running against 2.8 or hig...

Original commit message from CVS:
* gst/gst.c:
Add a check and output a g_warning when GStreamer is built
against GLib 2.6 but running against 2.8 or higher, and vice
versa. (Closes: #323542)

18 years agogst/parse/parse.l: Commit patch for parse_launch syntax from #331255. Removes support...
Jan Schmidt [Fri, 3 Mar 2006 15:32:30 +0000 (15:32 +0000)]
gst/parse/parse.l: Commit patch for parse_launch syntax from #331255. Removes support for quoted strings and mimetype...

Original commit message from CVS:
* gst/parse/parse.l:
Commit patch for parse_launch syntax from #331255. Removes
support for quoted strings and mimetypes when writing filtered
caps. See the bug report for more details - I'm pretty sure this
obscure feature is not in use by _anyone_ anywhere.

With this simple change, the size of the gstreamer.so here
drops from 2193KB to 1565KB.

18 years agoplugins/elements/gsttypefindelement.*: Use gst_type_find_helper_for_buffer() for...
Tim-Philipp Müller [Fri, 3 Mar 2006 14:18:01 +0000 (14:18 +0000)]
plugins/elements/gsttypefindelement.*: Use gst_type_find_helper_for_buffer() for chain-based typefinding.

Original commit message from CVS:
* plugins/elements/gsttypefindelement.h:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_src_event), (start_typefinding),
(stop_typefinding), (gst_type_find_element_handle_event),
(gst_type_find_element_chain),
(gst_type_find_element_chain_do_typefinding):
Use gst_type_find_helper_for_buffer() for chain-based
typefinding.

18 years agoplugins/elements/gsttypefindelement.c: Deprecate "maximum" property (not only was...
Tim-Philipp Müller [Fri, 3 Mar 2006 11:42:40 +0000 (11:42 +0000)]
plugins/elements/gsttypefindelement.c: Deprecate "maximum" property (not only was it only taken into account for type...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_class_init),
(gst_type_find_element_set_property),
(gst_type_find_element_get_property):
Deprecate "maximum" property (not only was it only taken into
account for typefinding in push-mode anyway, it also was never
actually possible to set it in the first place because the
property was registered with the numeric property ID for the
"minimum" property). Register "maximum" property correctly,
for the sake of future copy'n'pasters. Remove some cruft
from property get/set functions.

18 years agoplugins/elements/gsttypefindelement.c: Use gst_type_find_helper_get_range() here...
Tim-Philipp Müller [Fri, 3 Mar 2006 11:27:02 +0000 (11:27 +0000)]
plugins/elements/gsttypefindelement.c: Use gst_type_find_helper_get_range() here, so we can honour the min-probabilit...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_activate):
Use gst_type_find_helper_get_range() here, so we
can honour the min-probability property and also emit
the signal with the correct probability of the found caps.

18 years agoNew API: gst_type_find_helper_get_range() (#333042).
Tim-Philipp Müller [Thu, 2 Mar 2006 13:45:32 +0000 (13:45 +0000)]
New API: gst_type_find_helper_get_range() (#333042).

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
(helper_find_suggest), (gst_type_find_helper_get_range),
(gst_type_find_helper):
* libs/gst/base/gsttypefindhelper.h:
New API: gst_type_find_helper_get_range() (#333042).

18 years agogst/gstregistryxml.c: Asserting on a failure to read part of the registry is Not...
Michael Smith [Thu, 2 Mar 2006 11:04:58 +0000 (11:04 +0000)]
gst/gstregistryxml.c: Asserting on a failure to read part of the registry is Not Cool.

Original commit message from CVS:
* gst/gstregistryxml.c: (load_feature):
Asserting on a failure to read part of the registry is Not Cool.
Just log a warning and return NULL (which is already handled)

18 years agowin32/common/libgstbase.def: added export of gst_type_find_helper_for_buffer
Sébastien Moutte [Tue, 28 Feb 2006 20:57:10 +0000 (20:57 +0000)]
win32/common/libgstbase.def: added export of gst_type_find_helper_for_buffer

Original commit message from CVS:
* win32/common/libgstbase.def:
added export of gst_type_find_helper_for_buffer
* win32/common/libgstbase.def:
added some exports : gst_bin_iterate_elements, gst_iterator_resync,
gst_ghost_pad_get_target

18 years agodocs/design/draft-klass.txt: We use Filter now.
Wim Taymans [Tue, 28 Feb 2006 17:24:10 +0000 (17:24 +0000)]
docs/design/draft-klass.txt: We use Filter now.

Original commit message from CVS:
* docs/design/draft-klass.txt:
We use Filter now.
Added Connector to mark elements that are only used to
allow pipeline connections.
Moved Debug to extra feature since most of them are
functionally something else.

18 years agodocs/design/draft-klass.txt: Some updates and clarifications.
Wim Taymans [Tue, 28 Feb 2006 17:03:32 +0000 (17:03 +0000)]
docs/design/draft-klass.txt: Some updates and clarifications.

Original commit message from CVS:
* docs/design/draft-klass.txt:
Some updates and clarifications.

18 years agodocs/design/draft-klass.txt: Proposal for klass field values.
Wim Taymans [Tue, 28 Feb 2006 15:54:06 +0000 (15:54 +0000)]
docs/design/draft-klass.txt: Proposal for klass field values.

Original commit message from CVS:
* docs/design/draft-klass.txt:
Proposal for klass field values.

* docs/design/part-streams.txt:
Start of a doc describing stream anatomy.

18 years agogst/gstbin.c: Help the compiler a bit with type registration.
Wim Taymans [Tue, 28 Feb 2006 10:52:02 +0000 (10:52 +0000)]
gst/gstbin.c: Help the compiler a bit with type registration.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
Help the compiler a bit with type registration.
Use existing forward cod path instead of duplicating it when
handling a message.

* gst/gstbus.c: (gst_bus_get_type):
* gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
* gst/gstchildproxy.c: (gst_child_proxy_get_type):
* gst/gstclock.c: (gst_clock_get_type):
* gst/gstelement.c: (gst_element_get_type),
* gst/gstelementfactory.c: (gst_element_factory_get_type):
* gst/gstindexfactory.c: (gst_index_factory_get_type):
* gst/gstminiobject.c: (gst_mini_object_get_type):
* gst/gstpad.c: (gst_pad_get_type):
* gst/gstsegment.c: (gst_segment_get_type):
* gst/gststructure.c: (gst_structure_get_type):
* gst/gstsystemclock.c: (gst_system_clock_get_type):
* gst/gsttask.c: (gst_task_get_type), (gst_task_join):
* gst/gstvalue.c:
Help compiler with type registration.

* plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
Small doc update.

18 years agoplugins/elements/gsttypefindelement.c: When we get an EOS event and have not found...
Tim-Philipp Müller [Mon, 27 Feb 2006 20:01:53 +0000 (20:01 +0000)]
plugins/elements/gsttypefindelement.c: When we get an EOS event and have not found a type yet (most likely because we...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event):
When we get an EOS event and have not found a type yet
(most likely because we had not yet accumulated
TYPE_FIND_MIN_SIZE of data yet), try to determine the
type given the data we have so far. Fixes typefinding
for very short streams again, most notably quicktime
redirections as used on Apple's trailer site (#331701).

18 years agolibs/gst/base/gsttypefindhelper.c: Try typefinding factories with the highest rank...
Tim-Philipp Müller [Mon, 27 Feb 2006 19:45:31 +0000 (19:45 +0000)]
libs/gst/base/gsttypefindhelper.c: Try typefinding factories with the highest rank first.

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
(gst_type_find_helper):
Try typefinding factories with the highest rank first.

18 years agoAdd section for typefind helper and add documentation for the old and the new function.
Tim-Philipp Müller [Mon, 27 Feb 2006 19:19:40 +0000 (19:19 +0000)]
Add section for typefind helper and add documentation for the old and the new function.

Original commit message from CVS:
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gsttypefindhelper.c:
Add section for typefind helper and add documentation
for the old and the new function.

18 years agolibs/gst/base/gsttypefindhelper.*: New API: gst_type_find_helper_for_buffer() (#332723).
Tim-Philipp Müller [Mon, 27 Feb 2006 18:43:26 +0000 (18:43 +0000)]
libs/gst/base/gsttypefindhelper.*: New API: gst_type_find_helper_for_buffer() (#332723).

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
(buf_helper_find_suggest), (type_find_factory_rank_cmp),
(gst_type_find_helper_for_buffer):
* libs/gst/base/gsttypefindhelper.h:
New API: gst_type_find_helper_for_buffer() (#332723).

18 years agoPatch from Loïc Minier to prevent CVS directories getting disted.
Loïc Minier [Mon, 27 Feb 2006 15:43:10 +0000 (15:43 +0000)]
Patch from Loïc Minier to prevent CVS directories getting disted.

Original commit message from CVS:
* configure.ac:
* docs/Makefile.am:
* docs/slides/Makefile.am:
Patch from Loïc Minier to prevent CVS directories getting disted.

18 years agoupdate
Christian Schaller [Mon, 27 Feb 2006 12:10:47 +0000 (12:10 +0000)]
update

Original commit message from CVS:
update

18 years agogst/gstcaps.c: Use the REFCOUNTING category for caps refcounting.
Tim-Philipp Müller [Mon, 27 Feb 2006 11:01:06 +0000 (11:01 +0000)]
gst/gstcaps.c: Use the REFCOUNTING category for caps refcounting.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
Use the REFCOUNTING category for caps refcounting.

18 years agoplugins/elements/gsttypefindelement.c: This should be 0 not GST_CLOCK_TIME_NONE ...
Tim-Philipp Müller [Sun, 26 Feb 2006 19:20:51 +0000 (19:20 +0000)]
plugins/elements/gsttypefindelement.c: This should be 0 not GST_CLOCK_TIME_NONE (see #331701).

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (stop_typefinding):
This should be 0 not GST_CLOCK_TIME_NONE (see #331701).

18 years agoplugins/elements/gsttypefindelement.c: Use gst_pad_check_pull_range() before _activat...
Tim-Philipp Müller [Sun, 26 Feb 2006 14:42:29 +0000 (14:42 +0000)]
plugins/elements/gsttypefindelement.c: Use gst_pad_check_pull_range() before _activate_pull() to avoid unnecessary op...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_activate):
Use gst_pad_check_pull_range() before _activate_pull()
to avoid unnecessary open/close (see #331690).

18 years agogst/gstutils.c: Docs enhancement: make it crystal clear what the gst_pad_add_*_probe...
Tim-Philipp Müller [Fri, 24 Feb 2006 16:54:27 +0000 (16:54 +0000)]
gst/gstutils.c: Docs enhancement: make it crystal clear what the gst_pad_add_*_probe() callbacks should look like.

Original commit message from CVS:
* gst/gstutils.c:
Docs enhancement: make it crystal clear what the
gst_pad_add_*_probe() callbacks should look like.

18 years agolibs/gst/base/gstbasesrc.c: Document how applications can stop recording from live...
Tim-Philipp Müller [Fri, 24 Feb 2006 10:57:42 +0000 (10:57 +0000)]
libs/gst/base/gstbasesrc.c: Document how applications can stop recording from live sources (see #330996).

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Document how applications can stop recording from
live sources (see #330996).

18 years agoIgnore more stuff.
Tim-Philipp Müller [Thu, 23 Feb 2006 18:06:31 +0000 (18:06 +0000)]
Ignore more stuff.

Original commit message from CVS:
* docs/gst/tmpl/.cvsignore:
* docs/plugins/tmpl/.cvsignore:
* tests/check/gst/.cvsignore:
* tests/check/libs/.cvsignore:
* tests/check/pipelines/.cvsignore:
Ignore more stuff.

18 years agotests/check/: ... and add some tests for the base source EOS stuff.
Tim-Philipp Müller [Thu, 23 Feb 2006 17:39:20 +0000 (17:39 +0000)]
tests/check/: ... and add some tests for the base source EOS stuff.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/libs/basesrc.c: (eos_event_counter),
(basesrc_eos_events_pull), (basesrc_eos_events_push),
(basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
(gst_basesrc_suite), (main):
... and add some tests for the base source EOS stuff.

18 years agotests/check/gst/gstutils.c: Test case originally showed the problem fixed below,...
Tim-Philipp Müller [Thu, 23 Feb 2006 16:56:18 +0000 (16:56 +0000)]
tests/check/gst/gstutils.c: Test case originally showed the problem fixed below, but was then amended. Add checks bac...

Original commit message from CVS:
* tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
Test case originally showed the problem fixed below,
but was then amended. Add checks back at the place
where they used to be.

18 years agolibs/gst/base/gstbasesrc.*: Don't unconditionally send EOS when going from PAUSED to
Tim-Philipp Müller [Thu, 23 Feb 2006 16:24:36 +0000 (16:24 +0000)]
libs/gst/base/gstbasesrc.*: Don't unconditionally send EOS when going from PAUSED to

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_loop),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
* libs/gst/base/gstbasesrc.h:
Don't unconditionally send EOS when going from PAUSED to
READY state, esp. make sure we don't send two EOS events
in some cases (e.g. one when reaching EOS and one when
going from PAUSED to READY). Also, we don't want to send
EOS events when operating in pull mode. However, we do
want to send an EOS event when shutting down a live
source explicitly, for example (fixes #330996).

18 years agoplugins/elements/gstfilesrc.c: Update src->read_position after a seek when not using...
Renchi Raju [Thu, 23 Feb 2006 10:24:13 +0000 (10:24 +0000)]
plugins/elements/gstfilesrc.c: Update src->read_position after a seek when not using mmap.

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
Update src->read_position after a seek when not using mmap.
Fixes #332277, patch by: Renchi Raju <renchi gmail com>

18 years agogst/: Make things work with --disable-parse as they do with
Jan Schmidt [Mon, 20 Feb 2006 23:34:40 +0000 (23:34 +0000)]
gst/: Make things work with --disable-parse as they do with

Original commit message from CVS:
* gst/Makefile.am:
* gst/gstparse.h:
* gst/gstutils.c:
* gst/gstutils.h:
Make things work with --disable-parse as they do with
--disable-load-save - the symbols involved disappear, but the
header is still installed and GST_DISABLE_PARSE is included via
gstconfig.h

18 years agolibs/gst/base/gstbasetransform.c: Fix a stupid bug. I was sure i compiled that.
Julien Moutte [Mon, 20 Feb 2006 16:07:42 +0000 (16:07 +0000)]
libs/gst/base/gstbasetransform.c: Fix a stupid bug. I was sure i compiled that.

Original commit message from CVS:

* libs/gst/base/gstbasetransform.c:
(gst_base_transform_change_state): Fix a stupid bug. I was
sure i compiled that.
------------------------------------------------------

18 years agogst/: Make those function act on the ghostpad target when it's a ghostpad. (Closes...
Julien Moutte [Mon, 20 Feb 2006 15:07:33 +0000 (15:07 +0000)]
gst/: Make those function act on the ghostpad target when it's a ghostpad. (Closes #331727)

Original commit message from CVS:

* gst/gstpad.c: (gst_pad_set_blocked_async):
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
(gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
(gst_pad_remove_buffer_probe): Make those function act on the
ghostpad target when it's a ghostpad. (Closes #331727)
------------------------------------------------------

18 years agolibs/gst/base/gstbasetransform.c: Make basetransform reusable. (Closes #331898)
Julien Moutte [Mon, 20 Feb 2006 15:01:14 +0000 (15:01 +0000)]
libs/gst/base/gstbasetransform.c: Make basetransform reusable. (Closes #331898)

Original commit message from CVS:

* libs/gst/base/gstbasetransform.c:
(gst_base_transform_change_state): Make basetransform reusable.
(Closes #331898)
------------------------------------------------------

18 years agodocs/random/release: Move the current documentation of how to do a release to the...
Jan Schmidt [Mon, 20 Feb 2006 12:26:50 +0000 (12:26 +0000)]
docs/random/release: Move the current documentation of how to do a release to the top of the file.

Original commit message from CVS:
* docs/random/release:
Move the current documentation of how to do a release to the top
of the file.

* gst/gstbin.c: (gst_bin_class_init),
(gst_bin_handle_message_func):
Allow multiple state-recalculation threads. (Closes #328873)

18 years agogst/gstinfo.h: Add GST_STR_NULL to the second string.
Julien Moutte [Sun, 19 Feb 2006 12:25:01 +0000 (12:25 +0000)]
gst/gstinfo.h: Add GST_STR_NULL to the second string.

Original commit message from CVS:
2006-02-19  Julien MOUTTE  <julien@moutte.net>

* gst/gstinfo.h: Add GST_STR_NULL to the second string.
* gst/gstpad.c: (gst_pad_set_event_function),
(gst_pad_set_query_function), (gst_pad_set_query_type_function),
(gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2 strings. You can't use the STR_NULL macro on that.

18 years agogst/gstpad.c: (gst_pad_set_getcaps_function)
Sébastien Moutte [Sun, 19 Feb 2006 12:00:38 +0000 (12:00 +0000)]
gst/gstpad.c: (gst_pad_set_getcaps_function)

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_event_function),
(gst_pad_set_query_function), (gst_pad_set_query_type_function),
(gst_pad_set_getcaps_function)
* gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
So now, we can use --gst-debug-level=5 on Windows
* win32/common/libgstcontroller.def:
Added export of gst_controller_init
* win32/vs6/libgstcontroller.dsp:
Fixed Release post build configuration

18 years agotests/check/gst/gstquery.c: Added another check.
Wim Taymans [Fri, 17 Feb 2006 15:25:39 +0000 (15:25 +0000)]
tests/check/gst/gstquery.c: Added another check.

Original commit message from CVS:
* tests/check/gst/gstquery.c: (GST_START_TEST):
Added another check.

18 years agoplugins/elements/gsttypefindelement.c: We can do peeks at non-zero offsets, as long...
Tim-Philipp Müller [Wed, 15 Feb 2006 12:17:50 +0000 (12:17 +0000)]
plugins/elements/gsttypefindelement.c: We can do peeks at non-zero offsets, as long as they fall within the buffer we...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (find_peek):
We can do peeks at non-zero offsets, as long as they
fall within the buffer we have.

18 years agotests/check/: Add testsuite for parse launch syntax
Jan Schmidt [Wed, 15 Feb 2006 01:02:11 +0000 (01:02 +0000)]
tests/check/: Add testsuite for parse launch syntax

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/parse-launch.c: (setup_pipeline),
(expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
(parse_suite), (main):
Add testsuite for parse launch syntax

18 years agoplugins/elements/gsttypefindelement.c: When typefinding is unsuccessful in the chain...
Tim-Philipp Müller [Tue, 14 Feb 2006 20:57:31 +0000 (20:57 +0000)]
plugins/elements/gsttypefindelement.c: When typefinding is unsuccessful in the chain function, don't error out immedi...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
When typefinding is unsuccessful in the chain function, don't
error out immediately. Only error out with NO_CAPS_FOUND if
the amount of data is at least MAX_TYPEFIND_SIZE bytes,
otherwise simply wait for more data so we can try typefinding
again with more data later. Also, don't attempt to typefind
if we have less than MIN_TYPEFIND_SIZE data available. Overall,
this should improve typefinding from network sources where the
size of the first buffer can be somewhat random.

18 years agoFix padtemplate docs, fixes #328805.
Wim Taymans [Tue, 14 Feb 2006 18:26:19 +0000 (18:26 +0000)]
Fix padtemplate docs, fixes #328805.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpadtemplate.c:
* gst/gstpadtemplate.h:
Fix padtemplate docs, fixes #328805.

18 years agotools/gst-launch.c: NO_PREROLL is not an ERROR so don't send confusing messages to...
Wim Taymans [Tue, 14 Feb 2006 17:25:11 +0000 (17:25 +0000)]
tools/gst-launch.c: NO_PREROLL is not an ERROR so don't send confusing messages to the user.

Original commit message from CVS:
* tools/gst-launch.c: (main):
NO_PREROLL is not an ERROR so don't send confusing messages
to the user.

18 years agogst/gstregistry.c: Protect default registry with lock and ref/sink it.
Torsten Schoenfeld [Tue, 14 Feb 2006 16:15:05 +0000 (16:15 +0000)]
gst/gstregistry.c: Protect default registry with lock and ref/sink it.

Original commit message from CVS:
* gst/gstregistry.c: (gst_registry_get_default),
(_gst_registry_cleanup):
Protect default registry with lock and ref/sink it.
Fixes #324818, patch by Torsten Schoenfeld.

18 years agoDocs fixes.
Wim Taymans [Tue, 14 Feb 2006 13:07:10 +0000 (13:07 +0000)]
Docs fixes.

Original commit message from CVS:
* gst/gstbuffer.c:
* gst/gstquery.c: (gst_query_list_add_format),
(gst_query_set_formatsv), (gst_query_parse_formats_length),
(gst_query_parse_formats_nth):
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Docs fixes.

18 years agodocs/gst/gstreamer-sections.txt: Reworked query docs.
Wim Taymans [Tue, 14 Feb 2006 12:07:16 +0000 (12:07 +0000)]
docs/gst/gstreamer-sections.txt: Reworked query docs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Reworked query docs.

* gst/gstquery.c: (gst_query_new_formats),
(gst_query_list_add_format), (gst_query_set_formats),
(gst_query_set_formatsv), (gst_query_parse_formats_length),
(gst_query_parse_formats_nth):
* gst/gstquery.h:
Flesh out formats query, added some new methods.
Fix part of #324398.

* tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
Added query creation tests.

18 years agogst/gstpad.c: Add a default fixation for fraction lists.
Jan Schmidt [Tue, 14 Feb 2006 11:38:50 +0000 (11:38 +0000)]
gst/gstpad.c: Add a default fixation for fraction lists.

Original commit message from CVS:
* gst/gstpad.c: (fixate_value):
Add a default fixation for fraction lists.

18 years agogst/gsttask.*: Detect and warn for obvious deadlocks. fixes #320340
Wim Taymans [Mon, 13 Feb 2006 17:03:23 +0000 (17:03 +0000)]
gst/gsttask.*: Detect and warn for obvious deadlocks. fixes #320340

Original commit message from CVS:
* gst/gsttask.c: (gst_task_init), (gst_task_func),
(gst_task_set_lock), (gst_task_start), (gst_task_pause),
(gst_task_join):
* gst/gsttask.h:
Detect and warn for obvious deadlocks. fixes #320340
Fix error case where lock was not released.

* tests/check/Makefile.am:
* tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
(task_func), (gst_element_suite), (main):
Add task check.

18 years agoForgot changelog
Wim Taymans [Mon, 13 Feb 2006 14:00:33 +0000 (14:00 +0000)]
Forgot changelog

Original commit message from CVS:
Forgot changelog

18 years agoAdd new functions to docs.
Wim Taymans [Mon, 13 Feb 2006 13:57:29 +0000 (13:57 +0000)]
Add new functions to docs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbus.c:
Add new functions to docs.

18 years agodocs/design/part-TODO.txt: Updated TODO list, basesrc supports seeking to non-bytes...
Wim Taymans [Mon, 13 Feb 2006 11:52:43 +0000 (11:52 +0000)]
docs/design/part-TODO.txt: Updated TODO list, basesrc supports seeking to non-bytes formats.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Updated TODO list, basesrc supports seeking to non-bytes
formats.

* docs/design/part-element-sink.txt:
Update docs.

* gst/gstbin.c: (bin_replace_message),
(gst_bin_handle_message_func):
* gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
* gst/gstevent.c: (gst_event_finalize):
* gst/gstpad.c: (gst_pad_event_default_dispatch),
(gst_pad_send_event):
Use shiny new _TYPE_NAME macros.

* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Move debug statement up.

* gst/gstelement.c: (gst_element_set_locked_state):
Add some debugging.

18 years agoNew API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME macros (#330906). Also...
Tim-Philipp Müller [Mon, 13 Feb 2006 11:19:32 +0000 (11:19 +0000)]
New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME macros (#330906). Also, document the already existing

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.h:
* gst/gstquery.h:
New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
macros (#330906). Also, document the already existing
GST_QUERY_TYPE macro.

18 years agotests/check/gst/gstutils.c: Only events up to the pipeline EOS are counted, there...
Wim Taymans [Mon, 13 Feb 2006 10:54:03 +0000 (10:54 +0000)]
tests/check/gst/gstutils.c: Only events up to the pipeline EOS are counted, there are some more when going to NULL cu...

Original commit message from CVS:
* tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
(event_probe), (GST_START_TEST):
Only events up to the pipeline EOS are counted, there are
some more when going to NULL currently which we don't care
about for now.