platform/upstream/gstreamer.git
18 years agogst/gstvalue.c: Revert previous commit. Value lists are by definition not fixed,...
Tim-Philipp Müller [Mon, 21 Nov 2005 13:12:18 +0000 (13:12 +0000)]
gst/gstvalue.c: Revert previous commit. Value lists are by definition not fixed, as they are a list of possible values.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_is_fixed):
Revert previous commit. Value lists are by definition
not fixed, as they are a list of possible values.

18 years agogst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable serie...
Andy Wingo [Mon, 21 Nov 2005 13:03:36 +0000 (13:03 +0000)]
gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable series if we need it. Fixes #319178.

Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
during the stable series if we need it. Fixes #319178.

* gst/gstevent.c (gst_event_new_filler): Removed.

* check/gst/gstevent.c: Update comment about filler events.

18 years agogst/gstvalue.c: Should handle both value arrays and value lists.
Tim-Philipp Müller [Mon, 21 Nov 2005 12:42:41 +0000 (12:42 +0000)]
gst/gstvalue.c: Should handle both value arrays and value lists.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_is_fixed):
Should handle both value arrays and value lists.

18 years agogst/gstvalue.c (gst_value_is_fixed): Use gst_value_array functions to access arrays...
Alessandro Dessina [Mon, 21 Nov 2005 12:27:01 +0000 (12:27 +0000)]
gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array functions to access arrays. Fixes #321962.

Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

patch by: Alessandro Dessina <alessandro nnva org>

* gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
functions to access arrays. Fixes #321962.

18 years agodocs/gst/gstreamer.types: gst_collectpads_get_type => gst_collect_pads_get_type.
Tim-Philipp Müller [Mon, 21 Nov 2005 11:26:07 +0000 (11:26 +0000)]
docs/gst/gstreamer.types: gst_collectpads_get_type => gst_collect_pads_get_type.

Original commit message from CVS:
* docs/gst/gstreamer.types:
gst_collectpads_get_type => gst_collect_pads_get_type.
* gst/base/gstbasetransform.c:
Remove unused SIGNAL_HANDOFF enum.

18 years agogst/gstevent.h (GstEventTypeFlags): New data type, the flags of the event type (upstr...
Andy Wingo [Mon, 21 Nov 2005 11:06:42 +0000 (11:06 +0000)]
gst/gstevent.h (GstEventTypeFlags): New data type, the flags of the event type (upstream, downstream, serialized). Re...

Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
the event type (upstream, downstream, serialized). Renamed
GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
(GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.

* gst/gstevent.c: Update for new CUSTOM event names.

* check/gst/gstevent.c: Update check for new CUSTOM event names.

* gst/gstevent.h:
* gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
bug #319392.

18 years agoRename gst_collecpads_foo() => gst_collect_pads_foo(). Document unimplemented functio...
Tim-Philipp Müller [Mon, 21 Nov 2005 11:00:03 +0000 (11:00 +0000)]
Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document unimplemented functions as unimplemented (#320766).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* win32/common/libgstbase.def:
* win32/libgstbase.def:
* gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
(gst_collect_pads_class_init), (gst_collect_pads_init),
(gst_collect_pads_finalize), (gst_collect_pads_new),
(gst_collect_pads_set_function), (gst_collect_pads_add_pad),
(gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
(gst_collect_pads_collect), (gst_collect_pads_collect_range),
(gst_collect_pads_start), (gst_collect_pads_stop),
(gst_collect_pads_peek), (gst_collect_pads_pop),
(gst_collect_pads_available), (gst_collect_pads_read),
(gst_collect_pads_flush), (gst_collect_pads_event),
(gst_collect_pads_chain):
* gst/base/gstcollectpads.h:
Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
unimplemented functions as unimplemented (#320766).

18 years agogst/gstmessage.c: Improve docs for DURATION message (usage of duration parameter...
Tim-Philipp Müller [Mon, 21 Nov 2005 10:41:03 +0000 (10:41 +0000)]
gst/gstmessage.c: Improve docs for DURATION message (usage of duration parameter) (#320113)

Original commit message from CVS:
* gst/gstmessage.c:
Improve docs for DURATION message (usage of duration parameter)
(#320113)

18 years agoupdate
Thomas Vander Stichele [Mon, 21 Nov 2005 10:04:18 +0000 (10:04 +0000)]
update

Original commit message from CVS:
update

18 years agoadd latest .pc file to spec
Christian Schaller [Mon, 21 Nov 2005 09:44:46 +0000 (09:44 +0000)]
add latest .pc file to spec

Original commit message from CVS:
add latest .pc file to spec

18 years agoAdded segment helper structure and methods. Not fully implemented yet.
Wim Taymans [Sun, 20 Nov 2005 19:11:09 +0000 (19:11 +0000)]
Added segment helper structure and methods. Not fully implemented yet.

Original commit message from CVS:
* check/Makefile.am:
* check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
(main):
* gst/Makefile.am:
* gst/gst.h:
* gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
(gst_segment_set_seek), (gst_segment_set_newsegment),
(gst_segment_to_stream_time), (gst_segment_to_running_time),
(gst_segment_clip):
* gst/gstsegment.h:
Added segment helper structure and methods. Not fully implemented
yet.
Added segment check.

18 years agocheck/gst/gstvalue.c: Add a deserialisation test for fractions
Jan Schmidt [Sun, 20 Nov 2005 17:12:49 +0000 (17:12 +0000)]
check/gst/gstvalue.c: Add a deserialisation test for fractions

Original commit message from CVS:
* check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Add a deserialisation test for fractions
* examples/metadata/read-metadata.c: (message_loop),
(make_pipeline), (main):
Fix up metadata reading sample.
* gst/base/gstbasesink.c: (gst_base_sink_do_sync):
Debug format fix
* gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
Don't try and fixate empty caps
* gst/gst_private.h:
Wrap in G_BEGIN_DECLS/G_END_DECLS
* gst/gstvalue.c: (gst_value_collect_fraction),
(gst_value_set_fraction), (gst_value_get_fraction_denominator),
(gst_value_transform_string_fraction),
(gst_value_compare_fraction):
Add some extra guards to ensure that we don't end up
with an invalid denominator of 0 in a gstfraction and
that fractions always get reduced.

18 years agoSomething went wrong with changelog in last commit
Wim Taymans [Sun, 20 Nov 2005 14:56:13 +0000 (14:56 +0000)]
Something went wrong with changelog in last commit

Original commit message from CVS:
Something went wrong with changelog in last commit

18 years agoDoc fixes.
Wim Taymans [Sun, 20 Nov 2005 14:50:43 +0000 (14:50 +0000)]
Doc fixes.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.h:
* gst/gstelement.c:
* gst/gstformat.c:
* gst/gstformat.h:
* gst/gstindex.h:
* gst/gstquery.c:
* gst/gstquery.h:
* gst/gstvalue.c:
Doc fixes.

18 years agoMake a proper enum of the flag.
Wim Taymans [Sun, 20 Nov 2005 13:28:11 +0000 (13:28 +0000)]
Make a proper enum of the flag.

Original commit message from CVS:
* docs/design/part-TODO.txt:
* gst/gstcaps.h:
Make a proper enum of the flag.

19 years agoAdd type to quark and type to string conversions.
Wim Taymans [Sat, 19 Nov 2005 18:57:00 +0000 (18:57 +0000)]
Add type to quark and type to string conversions.

Original commit message from CVS:
* docs/design/part-TODO.txt:
* gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
(gst_format_to_quark), (gst_format_register):
* gst/gstformat.h:
* gst/gstquery.c: (_gst_query_initialize),
(gst_query_type_get_name), (gst_query_type_to_quark),
(gst_query_type_register):
* gst/gstquery.h:
Add type to quark and type to string conversions.

19 years agogst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes #320097.
Andy Wingo [Sat, 19 Nov 2005 18:32:01 +0000 (18:32 +0000)]
gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes #320097.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
#320097.

19 years agoMake message handling overridable.
Wim Taymans [Sat, 19 Nov 2005 18:28:40 +0000 (18:28 +0000)]
Make message handling overridable.

Original commit message from CVS:
* docs/design/part-TODO.txt:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
(gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
(gst_bin_handle_message_func):
* gst/gstbin.h:
Make message handling overridable.

19 years agogst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
Andy Wingo [Sat, 19 Nov 2005 18:26:35 +0000 (18:26 +0000)]
gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.

19 years agogst/gstclock.*: Change resolution to be a GstClockTime.
Andy Wingo [Sat, 19 Nov 2005 18:17:29 +0000 (18:17 +0000)]
gst/gstclock.*: Change resolution to be a GstClockTime.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstclock.h:
* gst/gstclock.c (GstClock, GstClockClass): Change resolution to
be a GstClockTime.
(gst_clock_set_resolution, gst_clock_get_resolution): Resolution
is a GstClockTime. Fixes #321710.

19 years agogst/gstclock.h (GstClock): Remove offset property. Add internal_calibration and exter...
Andy Wingo [Sat, 19 Nov 2005 18:06:56 +0000 (18:06 +0000)]
gst/gstclock.h (GstClock): Remove offset property. Add internal_calibration and external_calibration. Fix padding. Pa...

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstclock.h (GstClock): Remove offset property. Add
internal_calibration and external_calibration. Fix padding. Pad
also by GstClockTime so we don't run into problems.

* gst/gstclock.c (gst_clock_set_rate_offset): Remove.
(gst_clock_get_rate_offset): Remove.
(gst_clock_set_time_adjust): Remove. Fixes #321712.

19 years agogst/gstutils.h: gst/gstutils.c (g_static_rec_cond_wait)
Andy Wingo [Sat, 19 Nov 2005 17:50:52 +0000 (17:50 +0000)]
gst/gstutils.h: gst/gstutils.c (g_static_rec_cond_wait)

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstutils.h:
* gst/gstutils.c (g_static_rec_cond_wait)
(g_static_rec_cond_timed_wait): Removed, no longer needed.

* gst/gstbin.c: Remove terrible continue_state prototype.

* gst/gstelement.h (gst_element_continue_state): Make public.

* gst/gstelement.h:
* gst/gstelement.c (gst_element_commit_state): Removed, replaced
by continue_state. Fixes #319389.

19 years agogst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
Andy Wingo [Sat, 19 Nov 2005 17:28:58 +0000 (17:28 +0000)]
gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
Really fixes #168438. However I don't see anywhere where the
filter function is called... stupid GStreamer...

19 years agogst/gstindex.h (GstIndex): Add field for user_data_destroy. We don't have a dispose...
Andy Wingo [Sat, 19 Nov 2005 17:26:27 +0000 (17:26 +0000)]
gst/gstindex.h (GstIndex): Add field for user_data_destroy. We don't have a dispose function, so it won't get called ...

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
don't have a dispose function, so it won't get called when the
object is unreffed, but oh well!

* gst/gstindex.c (gst_index_set_filter_full): New API function,
allows a destroy function to be set so user_data can be freed.
Fixes #168438.
(gst_index_set_filter): Call gst_index_set_filter_full.

19 years agocheck/gst/gstvalue.c (test_string): Add test for bug #165650.
Andy Wingo [Sat, 19 Nov 2005 17:08:23 +0000 (17:08 +0000)]
check/gst/gstvalue.c (test_string): Add test for bug #165650.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* check/gst/gstvalue.c (test_string): Add test for bug #165650.

* gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
string should produce an error, given the lack of a way to
represent NULL strings. Fixes #165650.

19 years agogst/gstvalue.h: gst/gstvalue.c (gst_value_array_append_value) (gst_value_array_prepen...
Andy Wingo [Sat, 19 Nov 2005 16:46:30 +0000 (16:46 +0000)]
gst/gstvalue.h: gst/gstvalue.c (gst_value_array_append_value) (gst_value_array_prepend_value, gst_value_array_get_size)

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstvalue.h:
* gst/gstvalue.c (gst_value_array_append_value)
(gst_value_array_prepend_value, gst_value_array_get_size)
(gst_value_array_get_value): New API, copied from
gst_value_list_*, only operates on arrays.
(gst_value_list_append_value, gst_value_list_prepend_value)
(gst_value_list_concat, gst_value_list_get_size)
(gst_value_list_get_value): Only operate on lists. Fixes #156633.

* gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
init_list, because it works on both.
(copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
(gst_value_copy_list_or_array): Renamed from copy_list.
(gst_value_free_list_or_array): Renamed from free_list.
(gst_value_collect_list_or_array): Renamed from collect_list.
(gst_value_lcopy_list_or_array): Renamed from lcopy_list.
(gst_value_list_or_array_peek_pointer): Renamed from
list_peek_pointer.
(_gst_value_array_value_table, _gst_value_list_value_table):
Update value table functions.
(gst_value_compare_list_or_array): Renamed from compare_list.

19 years agogsttaglist.h: Whoops, foreach function returns void. Also fix some constness.
Andy Wingo [Sat, 19 Nov 2005 16:05:11 +0000 (16:05 +0000)]
gsttaglist.h: Whoops, foreach function returns void. Also fix some constness.

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gsttaglist.h: Whoops, foreach function returns void. Also fix
some constness.

19 years agogst/gsttaglist.*: Operates on a const
Andy Wingo [Sat, 19 Nov 2005 15:51:41 +0000 (15:51 +0000)]
gst/gsttaglist.*: Operates on a const

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gsttaglist.c:
* gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
GstTagList*. Fixes #143472.

* gst/gststructure.h: Clarify what the foreach/map functions can
or can't do to their arguments.

19 years agogst/gstclock.c: Doc and API fixes.
Wim Taymans [Fri, 18 Nov 2005 19:21:50 +0000 (19:21 +0000)]
gst/gstclock.c: Doc and API fixes.

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_set_calibration),
(gst_clock_get_calibration):
Doc and API fixes.
Callibration can be set with internal time equal to current
internal time too.

19 years agogst/gsterror.*: document
Thomas Vander Stichele [Fri, 18 Nov 2005 18:55:24 +0000 (18:55 +0000)]
gst/gsterror.*: document

Original commit message from CVS:

* gst/gsterror.c:
* gst/gsterror.h:
document

19 years agodocument on requirements for moving plugins to good
Thomas Vander Stichele [Fri, 18 Nov 2005 18:38:41 +0000 (18:38 +0000)]
document on requirements for moving plugins to good

Original commit message from CVS:
document on requirements for moving plugins to good

19 years agoAdd net pkgconfig files.
Andy Wingo [Fri, 18 Nov 2005 16:24:56 +0000 (16:24 +0000)]
Add net pkgconfig files.

Original commit message from CVS:
2005-11-18  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* pkgconfig/gstreamer-net.pc.in:
* pkgconfig/gstreamer-net-uninstalled.pc.in:
* pkgconfig/Makefile.am: Add net pkgconfig files.

19 years agogst/: docs fixes
Stefan Kost [Fri, 18 Nov 2005 16:04:28 +0000 (16:04 +0000)]
gst/: docs fixes

Original commit message from CVS:
* gst/gstcaps.c:
* gst/gstghostpad.c:
* gst/gsttrace.c:
* gst/gstvalue.c:
* gst/gstvalue.h:
docs fixes

19 years agogst/net/gstnetclientclock.c: Turn off debugging.
Andy Wingo [Fri, 18 Nov 2005 15:52:24 +0000 (15:52 +0000)]
gst/net/gstnetclientclock.c: Turn off debugging.

Original commit message from CVS:
2005-11-18  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnetclientclock.c: Turn off debugging.

* check/net/gstnetclientclock.c (test_functioning): Assert that the
times connverge somewhat. Can't make a real test.

19 years agogst/net/gstnetclientclock.c (do_linear_regression): Use all integer arithmetic. Retur...
Andy Wingo [Fri, 18 Nov 2005 15:30:18 +0000 (15:30 +0000)]
gst/net/gstnetclientclock.c (do_linear_regression): Use all integer arithmetic. Return the minimum of the domain, whi...

Original commit message from CVS:
2005-11-18  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnetclientclock.c (do_linear_regression): Use all
integer arithmetic. Return the minimum of the domain, which can be
set as "internal" for gst_clock_set_calibration.
(gst_net_client_clock_observe_times): Call _set_calibration.
(gst_net_client_clock_new): Call _set_calibration instead of
rate_offset.

* check/net/gstnetclientclock.c (test_functioning): Use the right
adjustment api.

* gst/gstclock.h:
* gst/gstclock.c (gst_clock_get_calibration)
(gst_clock_set_calibration): New functions, obsolete the ones I
added yesterday. Doh. Precision issues mean we have to extrapolate
from a point in the more recent past than 1970.
(gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
obsolete.
(gst_clock_adjust_unlocked): Use the right calibration data.

19 years agogst/base/gstbasesink.c: Also reset the ->current_* values in READY->PAUSED
Edward Hervey [Fri, 18 Nov 2005 14:49:28 +0000 (14:49 +0000)]
gst/base/gstbasesink.c: Also reset the ->current_* values in READY->PAUSED

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_change_state):
Also reset the ->current_* values in READY->PAUSED

19 years agogst/net/gstnetclientclock.c (gst_net_client_clock_thread): Whoops, check the right...
Andy Wingo [Fri, 18 Nov 2005 14:13:28 +0000 (14:13 +0000)]
gst/net/gstnetclientclock.c (gst_net_client_clock_thread): Whoops, check the right fd. Also add some debugging.

Original commit message from CVS:
2005-11-18  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
Whoops, check the right fd. Also add some debugging.
(gst_net_client_clock_observe_times): Adjust for int64 offset.
(do_linear_regression): Add a crapload of debugging. Subtract off
the minimum values from the input series to discard unneeded bits.
Use only int arithmetic. There is still double arithmetic when
calculating the intercept that needs fixing. Return boolean to
indicate success; FALSE would mean the domain or range is too
great. Still needs fixes.

19 years agogst/base/gstbasesink.c: For the current position in stream time, we need to subtract...
Wim Taymans [Fri, 18 Nov 2005 13:18:44 +0000 (13:18 +0000)]
gst/base/gstbasesink.c: For the current position in stream time, we need to subtract accumulated time.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_get_position):
For the current position in stream time, we need to subtract
accumulated time.

* gst/gstsystemclock.c: (gst_system_clock_async_thread):
Release lock before calling the callback function of async
entries.

19 years agogst/net/gstnetclientclock.c (gst_net_client_clock_class_init): Port goes all the...
Andy Wingo [Fri, 18 Nov 2005 11:57:30 +0000 (11:57 +0000)]
gst/net/gstnetclientclock.c (gst_net_client_clock_class_init): Port goes all the way to MAXUINT16.

Original commit message from CVS:
2005-11-18  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
Port goes all the way to MAXUINT16.

* gst/net/gstnettimeprovider.c: Make the port range the same as
for the kernel: 0 assigns, otherwise ports are less than
MAXUINT16.

* check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
port change.

* check/net/gstnetclientclock.c (test_functioning): Add the start
of another test.

19 years agogst/gstbin.*: Removing a clock provider from a bin, triggers a clock lost message...
Wim Taymans [Fri, 18 Nov 2005 11:03:10 +0000 (11:03 +0000)]
gst/gstbin.*: Removing a clock provider from a bin, triggers a clock lost message so that a new clock will be selected.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
(gst_bin_remove_func), (bin_bus_handler):
* gst/gstbin.h:
Removing a clock provider from a bin, triggers a clock lost message
so that a new clock will be selected.
Adding a clock to a bin triggers a clock provider message.
Make sure we reselect a clock when we received a clock lost message.
Keep a reference to the element that provided the clock.

19 years agogst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust the clock initially...
Andy Wingo [Fri, 18 Nov 2005 10:54:55 +0000 (10:54 +0000)]
gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust the clock initially so it produces values around the b...

Original commit message from CVS:
2005-11-18  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
the clock initially so it produces values around the base time.
(gst_net_client_clock_class_init): Typo fix.
(gst_net_client_clock_thread): Add note on when the socket gets
closed.

19 years agogst/net/gstnetclientclock.c: Free remote and local time arrays.
Wim Taymans [Thu, 17 Nov 2005 18:50:14 +0000 (18:50 +0000)]
gst/net/gstnetclientclock.c: Free remote and local time arrays.

Original commit message from CVS:
* gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
Free remote and local time arrays.

19 years agogst/net/gstnetclientclock.c: Fix compilation, uninitialized vars and a forgotten...
Wim Taymans [Thu, 17 Nov 2005 18:18:41 +0000 (18:18 +0000)]
gst/net/gstnetclientclock.c: Fix compilation, uninitialized vars and a forgotten continue.

Original commit message from CVS:
* gst/net/gstnetclientclock.c: (do_linear_regression),
(gst_net_client_clock_do_select), (gst_net_client_clock_thread):
Fix compilation, uninitialized vars and a forgotten continue.

19 years agocheck/: Add a most minimal test for the net client clock. More to come later.
Andy Wingo [Thu, 17 Nov 2005 17:55:17 +0000 (17:55 +0000)]
check/: Add a most minimal test for the net client clock. More to come later.

Original commit message from CVS:
2005-11-17  Andy Wingo  <wingo@pobox.com>

* check/Makefile.am (check_PROGRAMS):
* check/net/gstnetclientclock.c: Add a most minimal test for the
net client clock. More to come later.

* gst/net/gstnet.h:
* gst/net/Makefile.am: Add netclientclock.

* gst/net/gstnetclientclock.h:
* gst/net/gstnetclientclock.c: New files, implement an untested
GstClock that takes its time from a network time provider.
Implements the algorithm in network-clock.scm.

* tests/network-clock.scm (*window-size*): Rename from
*queue-length*.
* tests/network-clock.scm (network-time):
* tests/network-clock-utils.scm (q-push): Update callers.

19 years agogst/gstbin.c: And unref the child too..
Wim Taymans [Thu, 17 Nov 2005 16:02:48 +0000 (16:02 +0000)]
gst/gstbin.c: And unref the child too..

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_provide_clock_func),
(gst_bin_sort_iterator_new):
And unref the child too..

19 years agogst/gstbin.c: Refactor the sort iterator so it can be used while holding the
Wim Taymans [Thu, 17 Nov 2005 14:51:11 +0000 (14:51 +0000)]
gst/gstbin.c: Refactor the sort iterator so it can be used while holding the

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
(gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
Refactor the sort iterator so it can be used while holding the
LOCK too.
Make clock selection select a clock closest to the source.

19 years agogst/gstclock.*: Anonymous structs are a gcc (and some other compilers) extension...
Michael Smith [Thu, 17 Nov 2005 12:36:30 +0000 (12:36 +0000)]
gst/gstclock.*: Anonymous structs are a gcc (and some other compilers) extension, so don't use them. Since this is on...

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
(gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
* gst/gstclock.h:
Anonymous structs are a gcc (and some other compilers) extension, so
don't use them. Since this is only for ABI-compatibility, and our
API/ABI freeze is over in a few days, this whole thing will only
last a few days, so don't bother trying to think up a meaningful
name for the struct.

19 years agogst/gstclock.h (GstClock): Add rate and offset properties, preserving ABI stability...
Andy Wingo [Thu, 17 Nov 2005 11:51:49 +0000 (11:51 +0000)]
gst/gstclock.h (GstClock): Add rate and offset properties, preserving ABI stability. Add rate/offset accessors. Will ...

Original commit message from CVS:
2005-11-17  Andy Wingo  <wingo@pobox.com>

* gst/gstclock.h (GstClock): Add rate and offset properties,
preserving ABI stability. Add rate/offset accessors. Will file bug
for the freeze break.

* gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
and offset, trying to keep precision and avoiding
underflow/overflow.
(gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
functions. Make gst_clock_set_time_adjust obsolete.
(gst_clock_set_time_adjust): Note that this function is obsolete.
Will file bug soon.

* gst/base/gstbasetransform.h: Make the ABI-stability hack
greppable by using GST_PADDING-1+1.

19 years agoremove completely outdated random docs
Thomas Vander Stichele [Thu, 17 Nov 2005 11:25:34 +0000 (11:25 +0000)]
remove completely outdated random docs

Original commit message from CVS:
remove completely outdated random docs

19 years agogst/gstmessage.c: Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
Tim-Philipp Müller [Thu, 17 Nov 2005 09:37:55 +0000 (09:37 +0000)]
gst/gstmessage.c: Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/gstmessage.c: (gst_message_parse_clock_lost):
Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
* gst/gstpadtemplate.h:
* gst/gstpluginfeature.h:
Don't use c++ style comments in headers (#321638).

19 years agogst/net/gstnettimepacket.c (gst_net_time_packet_send): Free buffer.
Andy Wingo [Wed, 16 Nov 2005 18:37:57 +0000 (18:37 +0000)]
gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free buffer.

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
buffer.

19 years agocheck/net/gstnettimeprovider.c: Check to see that the time provider actually provides...
Andy Wingo [Wed, 16 Nov 2005 18:16:51 +0000 (18:16 +0000)]
check/net/gstnettimeprovider.c: Check to see that the time provider actually provides times. Works, yo!

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* check/net/gstnettimeprovider.c: Check to see that the time
provider actually provides times. Works, yo!

19 years agocheck/Makefile.am: Enable more tests.
Wim Taymans [Wed, 16 Nov 2005 18:09:47 +0000 (18:09 +0000)]
check/Makefile.am: Enable more tests.

Original commit message from CVS:
* check/Makefile.am:
Enable more tests.

* check/elements/fakesrc.c: (GST_START_TEST):
Set element to NULL before disposing it.

19 years agofix
Andy Wingo [Wed, 16 Nov 2005 17:53:54 +0000 (17:53 +0000)]
fix

Original commit message from CVS:
fix

19 years agogst/net/: Use the timepacket stuff in the provider, include it from gstnet.h, and...
Andy Wingo [Wed, 16 Nov 2005 17:52:04 +0000 (17:52 +0000)]
gst/net/: Use the timepacket stuff in the provider, include it from gstnet.h, and add it to the build.

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/net/Makefile.am:
* gst/net/gstnet.h:
* gst/net/gstnettimeprovider.c:
* gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
provider, include it from gstnet.h, and add it to the build.

* gst/net/gstnettimepacket.h:
* gst/net/gstnettimepacket.c: New files, abstracts out the packet
sending and receiving.

19 years agocheck/Makefile.am: Enable valgrind check.
Wim Taymans [Wed, 16 Nov 2005 17:35:07 +0000 (17:35 +0000)]
check/Makefile.am: Enable valgrind check.

Original commit message from CVS:
* check/Makefile.am:
Enable valgrind check.

* gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
(gst_fake_src_alloc_buffer):
Fix memleak.

19 years agogst/net/gstnettimeprovider.c: Call parent finalize too.
Wim Taymans [Wed, 16 Nov 2005 17:22:36 +0000 (17:22 +0000)]
gst/net/gstnettimeprovider.c: Call parent finalize too.

Original commit message from CVS:
* gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
Call parent finalize too.

19 years agocheck/Makefile.am: Enable valgrind check that should work fine now.
Wim Taymans [Wed, 16 Nov 2005 17:18:34 +0000 (17:18 +0000)]
check/Makefile.am: Enable valgrind check that should work fine now.

Original commit message from CVS:
* check/Makefile.am:
Enable valgrind check that should work fine now.

* gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
* gst/gstqueue.c: (gst_queue_init):
Fix memleaks in pad allocation.

19 years agogst/net/: New part of core to hold network elements and objects. Put in core because...
Andy Wingo [Wed, 16 Nov 2005 16:49:49 +0000 (16:49 +0000)]
gst/net/: New part of core to hold network elements and objects. Put in core because it exposes API that applications...

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/net/Makefile.am:
* gst/net/gstnet.h: New part of core to hold network elements and
objects. Put in core because it exposes API that applications want
to use. The library is named libgstnet-tempname right now because
of the existing libgstnet in gst-plugins-base. Solution is
probably to rename the one in plugins-base; will file a bug for
the freeze break.

* gst/net/gstnettimeprovider.c:
* gst/net/gstnettimeprovider.h: New object to export a GstClock's
get_time call over the network.

* configure.ac:
* gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.

* check/Makefile.am:
* check/net/gstnettimeprovider.c: A most minimal test suite. Will
get additions shortly.

19 years agogst/gstpad.*: add gst_pad_new_from_static_template functions
Thomas Vander Stichele [Wed, 16 Nov 2005 16:09:49 +0000 (16:09 +0000)]
gst/gstpad.*: add gst_pad_new_from_static_template functions

Original commit message from CVS:

* gst/gstpad.c: (gst_pad_new_from_static_template):
* gst/gstpad.h:
add gst_pad_new_from_static_template functions
* gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_setup_sink_pad):
* gst/elements/gsttee.c: (gst_tee_init):
and use them

19 years agogst/gstpad.c: Removed warning, it's not realy an error either.
Wim Taymans [Wed, 16 Nov 2005 16:06:06 +0000 (16:06 +0000)]
gst/gstpad.c: Removed warning, it's not realy an error either.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_pause_task):
Removed warning, it's not realy an error either.

19 years agogst/base/gstbasetransform.c: Check if the caps are NULL, this can happen if the eleme...
Wim Taymans [Wed, 16 Nov 2005 14:27:20 +0000 (14:27 +0000)]
gst/base/gstbasetransform.c: Check if the caps are NULL, this can happen if the element is shutting down and the pad ...

Original commit message from CVS:
* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf),
(gst_base_transform_event):
Check if the caps are NULL, this can happen if the element
is shutting down and the pad caps are set to NULL.

19 years agofix pad tempalte leak in tee
Thomas Vander Stichele [Wed, 16 Nov 2005 12:57:51 +0000 (12:57 +0000)]
fix pad tempalte leak in tee

Original commit message from CVS:
fix pad tempalte leak in tee

19 years agogst/: use gst_object_ref when setting the pad template; this will trigger the pad...
Thomas Vander Stichele [Wed, 16 Nov 2005 12:40:18 +0000 (12:40 +0000)]
gst/: use gst_object_ref when setting the pad template; this will trigger the pad template leaks on GLib 2.6 and the ...

Original commit message from CVS:

* gst/glib-compat.c: (g_value_dup_gst_object):
* gst/glib-compat.h:
* gst/gstpad.c: (gst_pad_set_property):
use gst_object_ref when setting the pad template; this will
trigger the pad template leaks on GLib 2.6 and the slaves

19 years agogst/: remove functions copied from GLib 2.6
Thomas Vander Stichele [Wed, 16 Nov 2005 12:25:22 +0000 (12:25 +0000)]
gst/: remove functions copied from GLib 2.6

Original commit message from CVS:

* gst/glib-compat.c: (gst_flags_get_first_value):
* gst/glib-compat.h:
* gst/gstregistryxml.c:
remove functions copied from GLib 2.6

19 years agogst/Makefile.am: Don't link against VALGRIND_LIBS. That was always the wrong thing...
Michael Smith [Wed, 16 Nov 2005 11:29:57 +0000 (11:29 +0000)]
gst/Makefile.am: Don't link against VALGRIND_LIBS. That was always the wrong thing to do, but only breaks with newer ...

Original commit message from CVS:
* gst/Makefile.am:
Don't link against VALGRIND_LIBS. That was always the wrong thing to
do, but only breaks with newer valgrind versions. We're not a
valgrind tool, we have no link-time dependencies on libcoregrind.

19 years agogst/base/gstbasesrc.c: some debug changes
Thomas Vander Stichele [Wed, 16 Nov 2005 11:06:07 +0000 (11:06 +0000)]
gst/base/gstbasesrc.c: some debug changes

Original commit message from CVS:

* gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
some debug changes
* gst/gstmessage.h:
typo fixes

19 years agoRevert all these unrefs, they don't even pass make check !
Thomas Vander Stichele [Tue, 15 Nov 2005 23:53:08 +0000 (23:53 +0000)]
Revert all these unrefs, they don't even pass make check !

Original commit message from CVS:
Revert all these unrefs, they don't even pass make check !

19 years agoAnd gst_object_unref here too
Johan Dahlin [Tue, 15 Nov 2005 19:48:40 +0000 (19:48 +0000)]
And gst_object_unref here too

Original commit message from CVS:
And gst_object_unref here too

19 years agogst/: Free pad templates, fixes a couple of leaks.
Johan Dahlin [Tue, 15 Nov 2005 19:31:05 +0000 (19:31 +0000)]
gst/: Free pad templates, fixes a couple of leaks.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_init):
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
* gst/gstqueue.c: (gst_queue_init):
Free pad templates, fixes a couple of leaks.

19 years agogst/gstpad.c: GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
Tim-Philipp Müller [Tue, 15 Nov 2005 19:24:46 +0000 (19:24 +0000)]
gst/gstpad.c: GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/gstpad.c: (gst_pad_get_property):
GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
(#321452)

19 years agogst/gstevent.c: Small doc update.
Wim Taymans [Tue, 15 Nov 2005 18:34:28 +0000 (18:34 +0000)]
gst/gstevent.c: Small doc update.

Original commit message from CVS:
* gst/gstevent.c:
Small doc update.

19 years agogst/gstelement.c (gst_element_set_base_time): Add debugging.
Andy Wingo [Tue, 15 Nov 2005 17:57:51 +0000 (17:57 +0000)]
gst/gstelement.c (gst_element_set_base_time): Add debugging.

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.c (gst_element_set_base_time): Add debugging.

* gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
using GST_CLOCK_TIME_NONE to disable base time management.
(do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
time if it was NONE before.
(gst_pipeline_change_state): Only munge the base time if
stream_time != GST_CLOCK_TIME_NONE.

* check/gst/gstpipeline.c (test_base_time): Punt around the
problem of the probe not being called, because that's not the
issue I'm looking at. Add a check that setting stream_time to NONE
disables base time management.

19 years agogst/base/gstbasesink.c: segment_stop == -1 at startup.
Wim Taymans [Tue, 15 Nov 2005 17:18:10 +0000 (17:18 +0000)]
gst/base/gstbasesink.c: segment_stop == -1 at startup.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_change_state):
segment_stop == -1 at startup.

* gst/base/gstbasetransform.c: (gst_base_transform_event),
(gst_base_transform_change_state):
Init segment values at start.

19 years agocheck/gst/gstpipeline.c (test_base_time): Punt around the problem of the probe not...
Andy Wingo [Tue, 15 Nov 2005 16:52:46 +0000 (16:52 +0000)]
check/gst/gstpipeline.c (test_base_time): Punt around the problem of the probe not being called, because that's not t...

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* check/gst/gstpipeline.c (test_base_time): Punt around the
problem of the probe not being called, because that's not the
issue I'm looking at...

19 years agogst/base/gstbasesink.c: 0 segment values are 0 in any format.
Wim Taymans [Tue, 15 Nov 2005 16:47:07 +0000 (16:47 +0000)]
gst/base/gstbasesink.c: 0 segment values are 0 in any format.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
0 segment values are 0 in any format.

* gst/base/gstbasetransform.c: (gst_base_transform_event):
* gst/base/gstbasetransform.h:
Parse newsegment correctly in basetransform

* gst/elements/gstidentity.c: (gst_identity_transform_ip):
Sync to clock using updated segment values.

19 years agocheck/gst/gstpipeline.c (test_base_time): Add check that the base time and stream...
Andy Wingo [Tue, 15 Nov 2005 16:27:04 +0000 (16:27 +0000)]
check/gst/gstpipeline.c (test_base_time): Add check that the base time and stream time are reset correctly.

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* check/gst/gstpipeline.c (test_base_time): Add check that the
base time and stream time are reset correctly.

19 years agodocs/design/part-TODO.txt: Some more TODO items.
Wim Taymans [Tue, 15 Nov 2005 15:44:46 +0000 (15:44 +0000)]
docs/design/part-TODO.txt: Some more TODO items.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Some more TODO items.

19 years agogst/elements/gstfakesrc.c (gst_fake_src_create): It's not an error if the user select...
Andy Wingo [Tue, 15 Nov 2005 12:35:45 +0000 (12:35 +0000)]
gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an error if the user selected "no clock" as the clocking me...

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
error if the user selected "no clock" as the clocking method.

19 years agocheck/gst/gstpipeline.c (test_base_time): New test for buffer timestamps with live...
Andy Wingo [Tue, 15 Nov 2005 12:29:07 +0000 (12:29 +0000)]
check/gst/gstpipeline.c (test_base_time): New test for buffer timestamps with live capture.

Original commit message from CVS:
2005-11-15  Andy Wingo  <wingo@pobox.com>

* check/gst/gstpipeline.c (test_base_time): New test for buffer
timestamps with live capture.

* gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
is 0 but we are a live source, timestamp the buffers using the
element's clock.

19 years agomore section docs
Stefan Kost [Mon, 14 Nov 2005 15:15:43 +0000 (15:15 +0000)]
more section docs

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsterror.c:
* gst/gstghostpad.c:
* gst/gstobject.h:
* gst/gstxml.c:
more section docs

19 years agocommon/gst.supp: add suppressions from Wim's Debian machine
Wim Taymans [Mon, 14 Nov 2005 14:45:43 +0000 (14:45 +0000)]
common/gst.supp: add suppressions from Wim's Debian machine

Original commit message from CVS:

* common/gst.supp:
add suppressions from Wim's Debian machine

19 years agocommon/gst.supp: add suppressions from Andy's AMD64 Ubuntu machine
Thomas Vander Stichele [Mon, 14 Nov 2005 14:36:17 +0000 (14:36 +0000)]
common/gst.supp: add suppressions from Andy's AMD64 Ubuntu machine

Original commit message from CVS:

* common/gst.supp:
add suppressions from Andy's AMD64 Ubuntu machine

19 years agogst/gstpad.c (gst_pad_set_active): Change docs; parent's
Andy Wingo [Mon, 14 Nov 2005 12:43:43 +0000 (12:43 +0000)]
gst/gstpad.c (gst_pad_set_active): Change docs; parent's

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_set_active): Change docs; parent's
STATE_LOCK not necessary. Fixes #311489.

19 years agogst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes #305291.
Andy Wingo [Mon, 14 Nov 2005 12:17:46 +0000 (12:17 +0000)]
gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes #305291.

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
#305291.

19 years agogst/gstindex.c (gst_index_add_object): Note in the docs that this function is not...
Andy Wingo [Mon, 14 Nov 2005 11:58:44 +0000 (11:58 +0000)]
gst/gstindex.c (gst_index_add_object): Note in the docs that this function is not implemented.

Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/gstindex.c (gst_index_add_object): Note in the docs that
this function is not implemented.

19 years agogst/base/gstbasetransform.c: Ref the source pad caps while we need them.
Julien Moutte [Mon, 14 Nov 2005 10:49:35 +0000 (10:49 +0000)]
gst/base/gstbasetransform.c: Ref the source pad caps while we need them.

Original commit message from CVS:
2005-11-14  Julien MOUTTE  <julien@moutte.net>

* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf):
Ref the source pad caps while we need them.
Fixes (#321386)

19 years agoignore more
Thomas Vander Stichele [Sat, 12 Nov 2005 10:23:52 +0000 (10:23 +0000)]
ignore more

Original commit message from CVS:
ignore more

19 years agoupdate win32 files for HEAD
Thomas Vander Stichele [Sat, 12 Nov 2005 10:04:01 +0000 (10:04 +0000)]
update win32 files for HEAD

Original commit message from CVS:
update win32 files for HEAD

19 years agodebug task join
Thomas Vander Stichele [Sat, 12 Nov 2005 10:03:08 +0000 (10:03 +0000)]
debug task join

Original commit message from CVS:
debug task join

19 years agofound another quote
Thomas Vander Stichele [Sat, 12 Nov 2005 10:00:03 +0000 (10:00 +0000)]
found another quote

Original commit message from CVS:
found another quote

19 years agodocs/gst/gstreamer-sections.txt: Added some docs for GstCollectData.
Wim Taymans [Fri, 11 Nov 2005 20:12:42 +0000 (20:12 +0000)]
docs/gst/gstreamer-sections.txt: Added some docs for GstCollectData.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Added some docs for GstCollectData.

* gst/base/gstadapter.c:
Some small code example fix.

* gst/base/gstcollectpads.c:
* gst/base/gstcollectpads.h:
Document some more.

19 years agoback to head
Thomas Vander Stichele [Fri, 11 Nov 2005 19:26:36 +0000 (19:26 +0000)]
back to head

Original commit message from CVS:
back to head

19 years agoreleasing 0.9.5 RELEASE-0_9_5
Thomas Vander Stichele [Fri, 11 Nov 2005 19:24:30 +0000 (19:24 +0000)]
releasing 0.9.5

Original commit message from CVS:
releasing 0.9.5

19 years agogst/gstbuffer.c: Copy more flags.
Wim Taymans [Fri, 11 Nov 2005 18:25:50 +0000 (18:25 +0000)]
gst/gstbuffer.c: Copy more flags.

Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_copy):
Copy more flags.

* gst/gstcaps.c: (gst_caps_is_equal):
Fix some docs.
Make _is_equal fast in the trivial cases.

* gst/gstminiobject.c:
* gst/gstminiobject.h:
More docs. Spifify .h file.

* gst/gstutils.c:
Small doc update.

19 years agoUpdate .po files
Thomas Vander Stichele [Fri, 11 Nov 2005 17:16:18 +0000 (17:16 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

19 years agogst/base/gstbasetransform.c: Small cleanups.
Wim Taymans [Fri, 11 Nov 2005 16:37:11 +0000 (16:37 +0000)]
gst/base/gstbasetransform.c: Small cleanups.

Original commit message from CVS:
* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf),
(gst_base_transform_handle_buffer):
Small cleanups.
If we're processing a buffer and need to allocate an output
buffer, we cannot accept a format change. If we did get a
format change, we have to alloc a buffer ourselves of the
right size.

19 years agogst/gstpad.c: While checking the flag for reentrancy in the gstcaps function is nice...
Wim Taymans [Fri, 11 Nov 2005 16:34:15 +0000 (16:34 +0000)]
gst/gstpad.c: While checking the flag for reentrancy in the gstcaps function is nice to detect recursive invocations,...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
While checking the flag for reentrancy in the gstcaps function
is nice to detect recursive invocations, it also makes it
impossible to call getcaps from multiple threads, which must be
possible. So, checking for recursive calls has to go.

19 years agogst/base/gstbasesink.c: Don't sync on buffers that fall partially outside our current...
Michael Smith [Fri, 11 Nov 2005 15:19:37 +0000 (15:19 +0000)]
gst/base/gstbasesink.c: Don't sync on buffers that fall partially outside our current segment. Prevents an assertion ...

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_do_sync):
Don't sync on buffers that fall partially outside our current
segment. Prevents an assertion failure/abort playing some files.

19 years agocheck/gst/gstbin.c (test_message_state_changed_children): Style fix..
Andy Wingo [Thu, 10 Nov 2005 18:15:24 +0000 (18:15 +0000)]
check/gst/gstbin.c (test_message_state_changed_children): Style fix..

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

* check/gst/gstbin.c (test_message_state_changed_children): Style
fix..

* gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
gst_bus_poll with the signal watch. Ensures that poll and a signal
watch see the same messages.

* check/gst/gstbus.c (test_watch_with_poll): New test, checks that
a poll and a watch at the same time get the same messages.