platform/upstream/gstreamer.git
19 years agoadd a uint64 checking method
Thomas Vander Stichele [Thu, 25 Aug 2005 16:27:44 +0000 (16:27 +0000)]
add a uint64 checking method

Original commit message from CVS:
add a uint64 checking method

19 years agogst/gstbin.c: Be a bit more conservative about the posted message.
Wim Taymans [Thu, 25 Aug 2005 13:52:13 +0000 (13:52 +0000)]
gst/gstbin.c: Be a bit more conservative about the posted message.

Original commit message from CVS:
* gst/gstbin.c: (bin_bus_handler):
Be a bit more conservative about the posted message.

* gst/gstbus.c: (gst_bus_post):
Some cleanups, warn wrong return values.

19 years agoRevert unpopular change for GST_MESSAGE_SRC to GObject.
Jan Schmidt [Thu, 25 Aug 2005 10:51:14 +0000 (10:51 +0000)]
Revert unpopular change for GST_MESSAGE_SRC to GObject.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* gst/gstbin.c: (bin_bus_handler):
* gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
(gst_message_new), (gst_message_new_eos), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_custom):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
* tools/gst-md5sum.c: (event_loop):
Revert unpopular change for GST_MESSAGE_SRC to GObject.

19 years agofix docs by fixing enum typedef
Thomas Vander Stichele [Thu, 25 Aug 2005 10:35:46 +0000 (10:35 +0000)]
fix docs by fixing enum typedef

Original commit message from CVS:
fix docs by fixing enum typedef

19 years agowim fixed the task, yay
Thomas Vander Stichele [Thu, 25 Aug 2005 10:16:21 +0000 (10:16 +0000)]
wim fixed the task, yay

Original commit message from CVS:
wim fixed the task, yay

19 years agocheck/generic/states.c: Cleanup can be done at the end.
Wim Taymans [Thu, 25 Aug 2005 10:01:47 +0000 (10:01 +0000)]
check/generic/states.c: Cleanup can be done at the end.

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
Cleanup can be done at the end.

* gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
(gst_task_get_state), (gst_task_start), (gst_task_pause):
Oh boy.. Thanks for finding this, Thomas.

19 years agogrmpf, another try to fix it
Stefan Kost [Wed, 24 Aug 2005 22:01:41 +0000 (22:01 +0000)]
grmpf, another try to fix it

Original commit message from CVS:
grmpf, another try to fix it

19 years agoanother fix
Stefan Kost [Wed, 24 Aug 2005 21:57:05 +0000 (21:57 +0000)]
another fix

Original commit message from CVS:
another fix

19 years agodocs/gst/gstreamer.types: added missing types
Stefan Kost [Wed, 24 Aug 2005 21:45:13 +0000 (21:45 +0000)]
docs/gst/gstreamer.types: added missing types

Original commit message from CVS:
* docs/gst/gstreamer.types:
added missing types

19 years agoadded miissing classes and symbols (123 more to go) removed removed symbols from...
Stefan Kost [Wed, 24 Aug 2005 21:35:43 +0000 (21:35 +0000)]
added miissing classes and symbols (123 more to go) removed removed symbols from section file fixed many doc-comments

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* gst/gstbin.c:
* gst/gstiterator.c:
* gst/gstutils.c:
* gst/registries/gstxmlregistry.h:
added miissing classes and symbols (123 more to go)
removed removed symbols from section file
fixed many doc-comments

19 years agocheck/generic/states.c: Make sure all tasks are stopped.
Wim Taymans [Wed, 24 Aug 2005 20:49:53 +0000 (20:49 +0000)]
check/generic/states.c: Make sure all tasks are stopped.

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
Make sure all tasks are stopped.

* check/gst/gstbin.c: (GST_START_TEST):
Unref after usage for proper valgrinding.

* gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
Really wait for the task to stop before destroying the
mutex.

* gst/gstqueue.c: (gst_queue_sink_activate_push),
(gst_queue_src_activate_push):
Small cleanups. Don't stop the task when we did not start
it.

* gst/gsttask.c: (gst_task_get_type), (gst_task_init),
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
(gst_task_get_state), (gst_task_start), (gst_task_pause),
(gst_task_join):
* gst/gsttask.h:
Protect the stream lock with the object lock.
Disallow setting the stream lock when running.
Add cleanup_all to wait for the threadpool to finish.
Remove code to autoallocate a mutex if none was provided.
Add _join() to wait for a task to stop.
Protect the thread pool with a global lock.

19 years agogst/base/gstbasesink.*: Handle newsegment events correctly.
Wim Taymans [Wed, 24 Aug 2005 17:57:36 +0000 (17:57 +0000)]
gst/base/gstbasesink.*: Handle newsegment events correctly.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_get_times), (gst_base_sink_do_sync),
(gst_base_sink_handle_buffer), (gst_base_sink_change_state):
* gst/base/gstbasesink.h:
Handle newsegment events correctly.
Drop buffers out of the segment range.

19 years agodisable test while wim is fixing
Thomas Vander Stichele [Wed, 24 Aug 2005 17:24:21 +0000 (17:24 +0000)]
disable test while wim is fixing

Original commit message from CVS:
disable test while wim is fixing

19 years agoadd pluginsdir to pkgconfig files
Thomas Vander Stichele [Wed, 24 Aug 2005 16:46:10 +0000 (16:46 +0000)]
add pluginsdir to pkgconfig files

Original commit message from CVS:
add pluginsdir to pkgconfig files

19 years agochangelog
Andy Wingo [Wed, 24 Aug 2005 16:41:45 +0000 (16:41 +0000)]
changelog

Original commit message from CVS:
changelog

19 years agocheck/: add a test that does a bunch of state changes on elements needs some fixing...
Thomas Vander Stichele [Wed, 24 Aug 2005 16:09:50 +0000 (16:09 +0000)]
check/: add a test that does a bunch of state changes on elements needs some fixing for valgrind

Original commit message from CVS:

* check/Makefile.am:
* check/generic/states.c: (GST_START_TEST), (states_suite), (main):
add a test that does a bunch of state changes on elements
needs some fixing for valgrind
* check/states/sinks.c: (gst_object_suite):
whitespace
* gst/gstcaps.h:
add prototype for gst_caps_is_equal_fixed
* gst/gstplugin.c:
* gst/gstregistrypool.c:
doc fixes

19 years agogst/gstquery.c (gst_query_new_convert): Spew if we try to convert a negative value...
Andy Wingo [Wed, 24 Aug 2005 15:49:03 +0000 (15:49 +0000)]
gst/gstquery.c (gst_query_new_convert): Spew if we try to convert a negative value. Doesn't make much sense. Mostly t...

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

* gst/gstquery.c (gst_query_new_convert): Spew if we try to
convert a negative value. Doesn't make much sense. Mostly this is
here to force callers to ensure -1 maps to -1.

19 years agodocs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate introduc...
Jan Schmidt [Wed, 24 Aug 2005 15:10:41 +0000 (15:10 +0000)]
docs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate introduction of this spelling mistake.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Well done to Michael for catching my deliberate introduction
of this spelling mistake.
* gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
* gst/gstelement.h:
Add GST_ELEMENT_UNPARENTING to prevent races so that we can
unlink pads before removing the element from the bin.

19 years agogst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean the same thing as GST_D...
Andy Wingo [Wed, 24 Aug 2005 13:49:21 +0000 (13:49 +0000)]
gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean the same thing as GST_DEBUG=*:4.

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

* gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
the same thing as GST_DEBUG=*:4.
(parse_debug_level, parse_debug_category): New helper parsers.

19 years agogst/base/gstbasetransform.c: use gboolean return values and pointers to size so we...
Thomas Vander Stichele [Wed, 24 Aug 2005 13:33:21 +0000 (13:33 +0000)]
gst/base/gstbasetransform.c: use gboolean return values and pointers to size so we can use the full GST_BUFFER_SIZE r...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
(gst_base_transform_transform_size), (gst_base_transform_getcaps),
(gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer):
use gboolean return values and pointers to size so we can use the
full GST_BUFFER_SIZE range (guint) for buffer sizes
use GstPadDirection for transform_caps
* gst/base/gstbasetransform.h:
rename get_size to get_unit_size since that's what it is
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
use GstPadDirection for transform_caps
* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
* gst/gstutils.h:
cleanup and debugging

19 years agoFixed long standing mem-leak
Stefan Kost [Wed, 24 Aug 2005 13:04:31 +0000 (13:04 +0000)]
Fixed long standing mem-leak

Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_set_state), (activate_pads),
(gst_element_save_thyself):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-xmlinspect.c: (print_element_properties):
Fixed long standing mem-leak

19 years agoChange GST_MESSAGE_SRC to be a GObject rather than a GstObject, so that applications...
Jan Schmidt [Wed, 24 Aug 2005 11:54:37 +0000 (11:54 +0000)]
Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so that applications can sensibly post custom message...

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* gst/gstbin.c: (bin_bus_handler):
* gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
(gst_message_new), (gst_message_new_eos), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_custom):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
* tools/gst-md5sum.c: (event_loop):
Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
that applications can sensibly post custom messages with references
to their own objects.

19 years agogst/base/gstbasetransform.*: Many fixes and new features added by Thomas. Can now...
Wim Taymans [Wed, 24 Aug 2005 11:44:24 +0000 (11:44 +0000)]
gst/base/gstbasetransform.*: Many fixes and new features added by Thomas. Can now also do transforms with variable si...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_transform_caps),
(gst_base_transform_transform_size),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer):
* gst/base/gstbasetransform.h:
Many fixes and new features added by Thomas. Can now also do
transforms with variable sizes and a custom fixate_caps function.

19 years agogst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed already.
Andy Wingo [Wed, 24 Aug 2005 11:36:49 +0000 (11:36 +0000)]
gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed already.

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

* gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
already.

19 years agogst/gstbuffer.c: Some debugging.
Wim Taymans [Wed, 24 Aug 2005 11:22:32 +0000 (11:22 +0000)]
gst/gstbuffer.c: Some debugging.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
Some debugging.

* gst/gstclock.h:
Cast to ClockTime before formatting to time.

* gst/gstutils.h:
Cleanups.

19 years agogracefully handle helper method calls to objects that are not beeing controlled,...
Stefan Kost [Tue, 23 Aug 2005 21:32:31 +0000 (21:32 +0000)]
gracefully handle helper method calls to objects that are not beeing controlled, added test case for that

Original commit message from CVS:
* check/gst-libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* docs/gst/tmpl/gstcaps.sgml:
* docs/gst/tmpl/gstghostpad.sgml:
* docs/gst/tmpl/gstquery.sgml:
* docs/gst/tmpl/gstutils.sgml:
* libs/gst/controller/gst-helper.c: (gst_object_set_controller),
(gst_object_sink_values), (gst_object_get_value_arrays),
(gst_object_get_value_array):
gracefully handle helper method calls to objects that are not beeing
controlled, added test case for that

19 years agogst/gstevent.*: Some more debugging output and doc cleanups.
Wim Taymans [Tue, 23 Aug 2005 18:17:01 +0000 (18:17 +0000)]
gst/gstevent.*: Some more debugging output and doc cleanups.

Original commit message from CVS:
* gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
(gst_event_new_newsegment), (gst_event_parse_newsegment),
(gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
(gst_event_parse_qos), (gst_event_new_seek),
(gst_event_parse_seek):
* gst/gstevent.h:
Some more debugging output and doc cleanups.

* gst/gstqueue.c: (gst_queue_handle_sink_event):
Fix possible deadlock.

19 years agoadded about 100 symbols from gstreamer-unused.txt to the right sections fixed more...
Stefan Kost [Tue, 23 Aug 2005 14:25:55 +0000 (14:25 +0000)]
added about 100 symbols from gstreamer-unused.txt to the right sections fixed more broken comments added GstBus to docs

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* docs/gst/tmpl/.cvsignore:
* gst/gstbin.h:
* gst/gstbus.c:
* gst/gstelement.c:
* gst/gstevent.h:
added about 100 symbols from gstreamer-unused.txt to the right sections
fixed more broken comments
added GstBus to docs

19 years agoinlined more doc comments, added missing comments and fixed comments fixed typos
Stefan Kost [Tue, 23 Aug 2005 11:53:58 +0000 (11:53 +0000)]
inlined more doc comments, added missing comments and fixed comments fixed typos

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstbin.sgml:
* docs/gst/tmpl/gstbuffer.sgml:
* gst/base/gstbasesrc.c:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
* gst/gstbuffer.c:
* gst/gstbuffer.h:
* tools/gst-launch.1.in:
inlined more doc comments, added missing comments and fixed comments
fixed typos

19 years agogst/gstbuffer.c: some debugging
Thomas Vander Stichele [Tue, 23 Aug 2005 11:38:28 +0000 (11:38 +0000)]
gst/gstbuffer.c: some debugging

Original commit message from CVS:

* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
some debugging
* gst/gstcaps.h:
whitespace fixes
* gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
more debugging
* gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
* gst/gststructure.h:
add a fixate function for booleans; add a FIXME that these func
names should probably be gst_structure_fixate_*

19 years agoported gstchildproxy over from 0.8 ported gst-inspect fixes and enhancements over...
Stefan Kost [Mon, 22 Aug 2005 21:03:33 +0000 (21:03 +0000)]
ported gstchildproxy over from 0.8 ported gst-inspect fixes and enhancements over from 0.8

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gstbin.c: (gst_bin_get_type),
(gst_bin_child_proxy_get_child_by_index),
(gst_bin_child_proxy_get_children_count),
(gst_bin_child_proxy_init):
* gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
(gst_child_proxy_get_child_by_index),
(gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
(gst_child_proxy_get_property), (gst_child_proxy_get_valist),
(gst_child_proxy_get), (gst_child_proxy_set_property),
(gst_child_proxy_set_valist), (gst_child_proxy_set),
(gst_child_proxy_child_added), (gst_child_proxy_child_removed),
(gst_child_proxy_base_init), (gst_child_proxy_get_type):
* gst/gstchildproxy.h:
* gst/parse/grammar.y:
* tools/gst-inspect.c: (print_interfaces),
(print_element_properties_info), (print_element_info):
ported gstchildproxy over from 0.8
ported gst-inspect fixes and enhancements over from 0.8

19 years agogst/base/gstbasetransform.c: Also call the transform function if we have ANY caps.
Wim Taymans [Mon, 22 Aug 2005 19:48:46 +0000 (19:48 +0000)]
gst/base/gstbasetransform.c: Also call the transform function if we have ANY caps.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
(gst_base_transform_handle_buffer):
Also call the transform function if we have ANY caps.

* gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
Fix debug info.

19 years agogst/base/gstbasesrc.c: (gst_base_src_event_handler)
Jan Schmidt [Mon, 22 Aug 2005 19:22:34 +0000 (19:22 +0000)]
gst/base/gstbasesrc.c: (gst_base_src_event_handler)

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_event_handler)
Don't pretend to handle seek events if the source is not seekable

19 years agogst/base/gstbasesink.c: Remove extra parameter to debug output
Jan Schmidt [Mon, 22 Aug 2005 18:48:48 +0000 (18:48 +0000)]
gst/base/gstbasesink.c: Remove extra parameter to debug output

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Remove extra parameter to debug output

* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
(gst_base_src_do_seek), (gst_base_src_activate_push):
Fix seek event handling.

* gst/gstpipeline.c: (gst_pipeline_change_state):
* gst/gstqueue.c: (gst_queue_handle_sink_event),
(gst_queue_src_activate_push):
Don't start the src pad task on FLUSH_STOP if the pad
isn't linked.
Debug changes.

19 years agogst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto macro, implements an...
Andy Wingo [Mon, 22 Aug 2005 15:12:56 +0000 (15:12 +0000)]
gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto macro, implements an interface and gstimplementsinterface...

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

* gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
macro, implements an interface and gstimplementsinterface for a
new type.

19 years agocheck/gst/gstcaps.c: Added check for gst_static_caps_get() refcounting.
Wim Taymans [Mon, 22 Aug 2005 15:08:44 +0000 (15:08 +0000)]
check/gst/gstcaps.c: Added check for gst_static_caps_get() refcounting.

Original commit message from CVS:
* check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
Added check for gst_static_caps_get() refcounting.

19 years agogst/gstcaps.c: Make _static_caps_get() refcounting sane.
Wim Taymans [Mon, 22 Aug 2005 14:35:42 +0000 (14:35 +0000)]
gst/gstcaps.c: Make _static_caps_get() refcounting sane.

Original commit message from CVS:
* gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
Make _static_caps_get() refcounting sane.

* gst/gstelement.c: (gst_element_set_state):
Add g_return_val_if_fail() to protect against segfaults.

19 years agoinlined remaining docs, added missing doc comments
Stefan Kost [Mon, 22 Aug 2005 10:37:02 +0000 (10:37 +0000)]
inlined remaining docs, added missing doc comments

Original commit message from CVS:
* docs/gst/tmpl/gstevent.sgml:
* gst/gstevent.c:
* gst/gstevent.h:
inlined remaining docs, added missing doc comments

19 years agocheck/gst/gstbin.c: since we don't know when preroll is done, use refcount range...
Thomas Vander Stichele [Mon, 22 Aug 2005 09:25:51 +0000 (09:25 +0000)]
check/gst/gstbin.c: since we don't know when preroll is done, use refcount range check for the sink

Original commit message from CVS:

* check/gst/gstbin.c: (GST_START_TEST):
since we don't know when preroll is done, use refcount range
check for the sink
* gst/check/gstcheck.h:
add macro for checking refcount range

19 years agofigure this out for HT machines
Thomas Vander Stichele [Sun, 21 Aug 2005 16:53:08 +0000 (16:53 +0000)]
figure this out for HT machines

Original commit message from CVS:
figure this out for HT machines

19 years agosome funky HT/multicpu vs single difference
Thomas Vander Stichele [Sun, 21 Aug 2005 15:21:49 +0000 (15:21 +0000)]
some funky HT/multicpu vs single difference

Original commit message from CVS:
some funky HT/multicpu vs single difference

19 years agocheck/Makefile.am: clean up environment for when registry gets built versus when...
Thomas Vander Stichele [Sun, 21 Aug 2005 15:01:18 +0000 (15:01 +0000)]
check/Makefile.am: clean up environment for when registry gets built versus when actual tests are run; valgrind seems...

Original commit message from CVS:

* check/Makefile.am:
clean up environment for when registry gets built versus
when actual tests are run; valgrind seems to not report
leaks if GST_PLUGIN_PATH is set to some specific values
* check/gst/gstbin.c: (GST_START_TEST):
add more refcounting checks; maybe this exposes a
preroll lock bug ?
* common/check.mak:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
* gst/check/gstcheck.h:
* gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
(gst_bin_change_state):
* gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
add/fix debugging/whitespace

19 years agocheck/gst/gstevent.c: Er, don't call gst_bin_watch_for_state_change you idiot.
Jan Schmidt [Sun, 21 Aug 2005 11:40:44 +0000 (11:40 +0000)]
check/gst/gstevent.c: Er, don't call gst_bin_watch_for_state_change you idiot.

Original commit message from CVS:
* check/gst/gstevent.c: (event_probe), (test_event),
(GST_START_TEST):
Er, don't call gst_bin_watch_for_state_change you idiot.

19 years agorun valgrind with proper env
Thomas Vander Stichele [Sun, 21 Aug 2005 11:15:57 +0000 (11:15 +0000)]
run valgrind with proper env

Original commit message from CVS:
run valgrind with proper env

19 years agocheck/Makefile.am: Use CHECK_CFLAGS and CHECK_LIBS
Jan Schmidt [Sun, 21 Aug 2005 10:54:47 +0000 (10:54 +0000)]
check/Makefile.am: Use CHECK_CFLAGS and CHECK_LIBS

Original commit message from CVS:
* check/Makefile.am:
Use CHECK_CFLAGS and CHECK_LIBS
* check/gst/gstevent.c: (event_probe), (test_event),
(GST_START_TEST):
Don't leak events.
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
(gst_base_src_start), (gst_base_src_stop),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
Sprinkle gst_base_src_stop liberally around error paths to fix
problems reusing a source after failed state changes.
* gst/base/gsttypefindhelper.c: (helper_find_peek),
(helper_find_suggest), (gst_type_find_helper):
Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
* gst/gstevent.h:
* docs/gst/tmpl/gstevent.sgml:
Migrate part of the docs from the SGML file. Wait for ensonic to
tell me how I did it wrong ;)
* tools/gst-typefind.c: (main):
Extra robustness to state changes between files.

19 years agocheck/Makefile.am: don't valgrind the controller test - it's leaking - Stefan, HELP
Thomas Vander Stichele [Sun, 21 Aug 2005 10:39:39 +0000 (10:39 +0000)]
check/Makefile.am: don't valgrind the controller test - it's leaking - Stefan, HELP

Original commit message from CVS:

* check/Makefile.am:
don't valgrind the controller test - it's leaking - Stefan, HELP
* gst/check/gstcheck.c: (gst_check_message_error),
(gst_check_chain_func), (gst_check_setup_element),
(gst_check_teardown_element), (gst_check_setup_src_pad),
(gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
(gst_check_teardown_sink_pad):
* gst/check/gstcheck.h:
add a bunch of methods to set up elements, and src and sink pads
* check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
* check/elements/identity.c: (setup_identity), (cleanup_identity),
(GST_START_TEST):
use them
* gst/gstmessage.c:
* gst/gsttag.h:
whitespace/doc fixes

19 years agomake GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should be handled by...
Thomas Vander Stichele [Sat, 20 Aug 2005 20:30:36 +0000 (20:30 +0000)]
make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should be handled by the application and not always pri...

Original commit message from CVS:
make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
be handled by the application and not always printed as well

19 years agocheck/Makefile.am: set GST_TOOLS_DIR
Thomas Vander Stichele [Sat, 20 Aug 2005 20:15:53 +0000 (20:15 +0000)]
check/Makefile.am: set GST_TOOLS_DIR

Original commit message from CVS:

* check/Makefile.am:
set GST_TOOLS_DIR
* gst/check/gstcheck.c: (gst_check_message_error):
* gst/check/gstcheck.h:
add a fail_unless_equals_int
add fail_unless for error messages

19 years agofactor out the common stuff
Thomas Vander Stichele [Sat, 20 Aug 2005 14:00:11 +0000 (14:00 +0000)]
factor out the common stuff

Original commit message from CVS:
factor out the common stuff

19 years agowork on builds without check
Thomas Vander Stichele [Sat, 20 Aug 2005 13:17:42 +0000 (13:17 +0000)]
work on builds without check

Original commit message from CVS:
work on builds without check

19 years agorenamed test
Thomas Vander Stichele [Sat, 20 Aug 2005 12:47:08 +0000 (12:47 +0000)]
renamed test

Original commit message from CVS:
renamed test

19 years agoput some make-up on the gstevent test
Thomas Vander Stichele [Sat, 20 Aug 2005 12:43:18 +0000 (12:43 +0000)]
put some make-up on the gstevent test

Original commit message from CVS:
put some make-up on the gstevent test

19 years agovalgrind more tests
Thomas Vander Stichele [Sat, 20 Aug 2005 12:39:05 +0000 (12:39 +0000)]
valgrind more tests

Original commit message from CVS:
valgrind more tests

19 years agomove check stuff to its own library to be used by other modules
Thomas Vander Stichele [Sat, 20 Aug 2005 12:14:28 +0000 (12:14 +0000)]
move check stuff to its own library to be used by other modules

Original commit message from CVS:
move check stuff to its own library to be used by other modules

19 years agoeliminate another tmpl file, fix spelling in the long-description
Stefan Kost [Fri, 19 Aug 2005 09:58:42 +0000 (09:58 +0000)]
eliminate another tmpl file, fix spelling in the long-description

Original commit message from CVS:
* docs/gst/tmpl/gst.sgml:
* gst/gst.c:
eliminate another tmpl file, fix spelling in the long-description

19 years agocheck/gst/gstevents.c: Should fix build on 64-bit arch's
Jan Schmidt [Thu, 18 Aug 2005 16:42:49 +0000 (16:42 +0000)]
check/gst/gstevents.c: Should fix build on 64-bit arch's

Original commit message from CVS:

* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite):
Should fix build on 64-bit arch's

19 years agoMake sure that when a pipeline goes to PLAYING, that data has actually hit the sink.
Andy Wingo [Thu, 18 Aug 2005 16:20:24 +0000 (16:20 +0000)]
Make sure that when a pipeline goes to PLAYING, that data has actually hit the sink.

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

Make sure that when a pipeline goes to PLAYING, that data has
actually hit the sink.

* check/states/sinks.c (test_sink): A sink that doesn't get any
data shouldn't return SUCCESS for going to either PLAYING or
PAUSED. Test also the return values on the way back down.

* gst/gstelement.c (gst_element_set_state): When changing the
state of an element currently changing state asynchronously, go to
lost-state after commiting the pending state. Makes future calls
to get_state continue to return ASYNC.

* gst/base/gstbasesink.c (gst_base_sink_change_state): Return
ASYNC when going to PLAYING if we still don't have preroll, as can
happen with live sources.

19 years agodocs/pwg/advanced-types.xml: Hack long paragraph into 2 chunks as a workaround for...
Jan Schmidt [Thu, 18 Aug 2005 16:15:28 +0000 (16:15 +0000)]
docs/pwg/advanced-types.xml: Hack long paragraph into 2 chunks as a workaround for buggy jadetex version in sid and b...

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Hack long paragraph into 2 chunks as a workaround for buggy
jadetex version in sid and breezy that loops infinitely and
eats all RAM.

19 years agocheck/gst/gstevents.c: Provide more error margin in clock measurements to allow for...
Jan Schmidt [Thu, 18 Aug 2005 16:00:34 +0000 (16:00 +0000)]
check/gst/gstevents.c: Provide more error margin in clock measurements to allow for g_get_current_time inaccuracies.

Original commit message from CVS:
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite):
Provide more error margin in clock measurements to allow for
g_get_current_time inaccuracies.

19 years agocheck/gst/gstevents.c: Fix error message output so I might be able to tell why the...
Jan Schmidt [Thu, 18 Aug 2005 15:47:16 +0000 (15:47 +0000)]
check/gst/gstevents.c: Fix error message output so I might be able to tell why the test works here but fails on the b...

Original commit message from CVS:
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite):
Fix error message output so I might be able to tell why the
test works here but fails on the build farm.

19 years agocheck/: I wrote a test!
Jan Schmidt [Thu, 18 Aug 2005 15:31:28 +0000 (15:31 +0000)]
check/: I wrote a test!

Original commit message from CVS:
* check/Makefile.am:
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite), (main):
I wrote a test!

* docs/design/part-seeking.txt:
Spelling correction

* docs/gst/tmpl/gstevent.sgml:
Docs updates.

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Treat a buffer-without-newsegment the same as a receiving
a newsegment not in time format, and disable syncing to the clock
with a warning.

* gst/gstbus.c: (gst_bus_set_sync_handler):
Assert if anyone tries to replace the existing sync_handler for bus,
as only the owner should be setting it.

* gst/gstevent.h:
Have a fixed set of custom event enums with events identified by
their structure name (as in 0.8), rather than a free-for-all
allowing collisions between enum values from different plugins.

* gst/gstpad.c: (gst_pad_class_init):
Docs change.

* gst/gstqueue.c: (gst_queue_handle_sink_event):
Handle out-of-band downstream events from the sending thread.

19 years agogst/gstpipeline.c (gst_pipeline_change_state): Interpret play-timeout==0 to mean...
Andy Wingo [Wed, 17 Aug 2005 16:57:01 +0000 (16:57 +0000)]
gst/gstpipeline.c (gst_pipeline_change_state): Interpret play-timeout==0 to mean no timeout at all. In that case, don...

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

* gst/gstpipeline.c (gst_pipeline_change_state): Interpret
play-timeout==0 to mean no timeout at all. In that case, don't
bother with a get_state or a warning, just return directly, even
if it's ASYNC.

19 years agogst/base/gstbasetransform.c: Debug changes.
Andy Wingo [Wed, 17 Aug 2005 16:33:27 +0000 (16:33 +0000)]
gst/base/gstbasetransform.c: Debug changes.

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

* gst/base/gstbasetransform.c: Debug changes.

* gst/gstutils.h:
* gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
ensure bins post state change messages. A bit of a hack but I can't
think of a way to avoid it.

* check/gst/gstbin.c (test_watch_for_state_change): Added test.

19 years agogst/base/gstadapter.*: New function, like peek() but you own the data. Not terribly...
Andy Wingo [Tue, 16 Aug 2005 17:23:55 +0000 (17:23 +0000)]
gst/base/gstadapter.*: New function, like peek() but you own the data. Not terribly efficient atm.

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

* gst/base/gstadapter.h:
* gst/base/gstadapter.c (gst_adapter_take): New function, like
peek() but you own the data. Not terribly efficient atm.

19 years agogst/gstutils.*: Add two utility functions for tag handling.
Ronald S. Bultje [Tue, 16 Aug 2005 16:29:04 +0000 (16:29 +0000)]
gst/gstutils.*: Add two utility functions for tag handling.

Original commit message from CVS:
* gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
(gst_element_found_tags):
* gst/gstutils.h:
Add two utility functions for tag handling.

19 years agodocs/manual/: Fix docs to use _bin_add() before _link(), which fixes the examples...
Ronald S. Bultje [Tue, 16 Aug 2005 12:15:46 +0000 (12:15 +0000)]
docs/manual/: Fix docs to use _bin_add() before _link(), which fixes the examples with recent core versions (reported...

Original commit message from CVS:
* docs/manual/advanced-dataaccess.xml:
* docs/manual/basics-helloworld.xml:
Fix docs to use _bin_add() before _link(), which fixes the examples
with recent core versions (reported by Madhan Raj M
<raj_madan@rediffmail.com>, #313199).

19 years agocheck/gst/gstvalue.c: Added subtract checks.
Wim Taymans [Tue, 16 Aug 2005 09:42:50 +0000 (09:42 +0000)]
check/gst/gstvalue.c: Added subtract checks.

Original commit message from CVS:
* check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Added subtract checks.

* docs/design/part-events.txt:
Some more docs about newsegment

* gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
Fix FIXME

* gst/gstcaps.c: (gst_caps_to_string):
Add comments, cleanups.

* gst/gstelement.c: (gst_element_save_thyself):
cleanups

* gst/gstvalue.c: (gst_value_collect_int_range),
(gst_string_unwrap), (gst_value_union_int_int_range),
(gst_value_union_int_range_int_range),
(gst_value_intersect_int_int_range),
(gst_value_intersect_int_range_int_range),
(gst_value_intersect_double_double_range),
(gst_value_intersect_double_range_double_range),
(gst_value_intersect_list), (gst_value_subtract_int_int_range),
(gst_value_subtract_int_range_int),
(gst_value_subtract_double_range_double),
(gst_value_subtract_double_range_double_range),
(gst_value_subtract_from_list), (gst_value_subtract_list),
(gst_value_can_compare), (gst_value_compare_fraction):
Cleanups, add comments, remove unneeded asserts.

19 years agodon't convert NULL structures to strings
Thomas Vander Stichele [Mon, 15 Aug 2005 18:15:38 +0000 (18:15 +0000)]
don't convert NULL structures to strings

Original commit message from CVS:
don't convert NULL structures to strings

19 years agodocs/gst/gstreamer-sections.txt: made some defines private
Stefan Kost [Mon, 15 Aug 2005 16:57:34 +0000 (16:57 +0000)]
docs/gst/gstreamer-sections.txt: made some defines private

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
made some defines private
* docs/gst/tmpl/gstconfig.sgml:
* docs/gst/tmpl/gstqueue.sgml:
* docs/gst/tmpl/gsttaglist.sgml:
* docs/gst/tmpl/gsttypes.sgml:
* docs/gst/tmpl/gstutils.sgml:
* docs/pwg/appendix-porting.xml:
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.c:
* gst/base/gstbasesrc.h:
* gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
* gst/gstelement.c: (gst_element_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstqueue.c: (gst_queue_class_init):
* gst/gstxml.c: (gst_xml_class_init):
documented all undocumented signal inline
* libs/gst/controller/gst-controller.h:
added padding

19 years agodocs/pwg/appendix-porting.xml: Document _set_link_function -> _set_setcaps_function.
Ronald S. Bultje [Mon, 15 Aug 2005 09:56:19 +0000 (09:56 +0000)]
docs/pwg/appendix-porting.xml: Document _set_link_function -> _set_setcaps_function.

Original commit message from CVS:
* docs/pwg/appendix-porting.xml:
Document _set_link_function -> _set_setcaps_function.

19 years agocheck/Makefile.am: add a .check target for running the check
Thomas Vander Stichele [Sun, 14 Aug 2005 22:29:07 +0000 (22:29 +0000)]
check/Makefile.am: add a .check target for running the check

Original commit message from CVS:

* check/Makefile.am:
add a .check target for running the check
* check/gst-libs/controller.c: (GST_START_TEST):
cosmetic fixups
* check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
complete checks for gstbuffer; would be nice if I could get the
gcov stuff to work so I can see if I actually completed gstbuffer.c
* check/gstcheck.h:
add ASSERT_BUFFER_REFCOUNT

19 years agoremove spider from dist
Thomas Vander Stichele [Sat, 13 Aug 2005 11:45:50 +0000 (11:45 +0000)]
remove spider from dist

Original commit message from CVS:
remove spider from dist

19 years agoremoved from HEAD
Thomas Vander Stichele [Sat, 13 Aug 2005 11:43:13 +0000 (11:43 +0000)]
removed from HEAD

Original commit message from CVS:
removed from HEAD

19 years agoAdd GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't spew out a warning if a tag...
Tim-Philipp Müller [Sat, 13 Aug 2005 10:33:22 +0000 (10:33 +0000)]
Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't spew out a warning if a tag that is already registered is re-r...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
* gst/gsttag.h:
Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
spew out a warning if a tag that is already registered
is re-registered, unless it is re-registered with a
different type (#308438).

19 years agodocs/pwg/: Add some paragraphs about state changes in 0.9 to the PWG and the porting...
Tim-Philipp Müller [Fri, 12 Aug 2005 14:30:31 +0000 (14:30 +0000)]
docs/pwg/: Add some paragraphs about state changes in 0.9 to the PWG and the porting guide, in particular about the n...

Original commit message from CVS:
* docs/pwg/appendix-porting.xml:
* docs/pwg/building-state.xml:
Add some paragraphs about state changes in 0.9 to the PWG
and the porting guide, in particular about the new meaning
of GST_STATE_PAUSED and how to write state change functions
with concurrent access by multiple threads in mind.

19 years agoadded deprecation and since indexes added since tags
Stefan Kost [Thu, 11 Aug 2005 17:39:48 +0000 (17:39 +0000)]
added deprecation and since indexes added since tags

Original commit message from CVS:
added deprecation and since indexes
added since tags

19 years agogst/gstghostpad.c: Actually implement (re)setting the target on a ghostpad as describ...
Wim Taymans [Thu, 11 Aug 2005 14:24:58 +0000 (14:24 +0000)]
gst/gstghostpad.c: Actually implement (re)setting the target on a ghostpad as described in the docs.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
(gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
(gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
(gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
(gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
(gst_ghost_pad_set_target):
Actually implement (re)setting the target on a ghostpad
as described in the docs.

19 years agogst/gst.c: Check whether GST_DEBUG_NO_COLOR environment variable is set and disable...
Tim-Philipp Müller [Wed, 10 Aug 2005 21:19:01 +0000 (21:19 +0000)]
gst/gst.c: Check whether GST_DEBUG_NO_COLOR environment variable is set and disable coloured debug output if that is ...

Original commit message from CVS:
* gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
Check whether GST_DEBUG_NO_COLOR environment variable is
set and disable coloured debug output if that is the case.

19 years agogst/base/gsttypefindhelper.c: The memory returned by gst_type_find_peek() needs to...
Tim-Philipp Müller [Wed, 10 Aug 2005 15:08:03 +0000 (15:08 +0000)]
gst/base/gsttypefindhelper.c: The memory returned by gst_type_find_peek() needs to stay valid until the end of a type...

Original commit message from CVS:
* gst/base/gsttypefindhelper.c: (helper_find_peek),
(gst_type_find_helper):
The memory returned by gst_type_find_peek() needs to
stay valid until the end of a typefind function, and
typefind functions may keep results from different
offsets around, so we can't just unref the buffer from
the previous _peek(), but have to save all buffers
returned by _peek() until typefinding is done and only
free them then.

19 years agoNew macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
Tim-Philipp Müller [Tue, 9 Aug 2005 16:25:45 +0000 (16:25 +0000)]
New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.h:
New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().

19 years agofix up spec for latest CVS changes
Christian Schaller [Mon, 8 Aug 2005 16:01:12 +0000 (16:01 +0000)]
fix up spec for latest CVS changes

Original commit message from CVS:
fix up spec for latest CVS changes

19 years agogst/base/gstbasetransform.c: Fix a pretty good memleak.
Ronald S. Bultje [Mon, 8 Aug 2005 15:08:14 +0000 (15:08 +0000)]
gst/base/gstbasetransform.c: Fix a pretty good memleak.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
Fix a pretty good memleak.

19 years agogst/gstiterator.h: Fix wrong include and 'make distcheck'.
Tim-Philipp Müller [Mon, 8 Aug 2005 13:55:37 +0000 (13:55 +0000)]
gst/gstiterator.h: Fix wrong include and 'make distcheck'.

Original commit message from CVS:
* gst/gstiterator.h:
Fix wrong include and 'make distcheck'.

19 years agogst/gstbin.c: Use gst_element_post_message() instead.
Ronald S. Bultje [Mon, 8 Aug 2005 13:38:34 +0000 (13:38 +0000)]
gst/gstbin.c: Use gst_element_post_message() instead.

Original commit message from CVS:
* gst/gstbin.c: (bin_bus_handler):
Use gst_element_post_message() instead.

19 years agogst/: Add padding to our base elements' class and instance structs and to GstIterator...
Tim-Philipp Müller [Mon, 8 Aug 2005 13:31:09 +0000 (13:31 +0000)]
gst/: Add padding to our base elements' class and instance structs and to GstIterator (you will need to rebuild all p...

Original commit message from CVS:
* gst/base/gstadapter.h:
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.h:
* gst/base/gstcollectpads.h:
* gst/base/gstpushsrc.h:
* gst/gstiterator.h:
Add padding to our base elements' class and instance structs and
to GstIterator (you will need to rebuild all plugins and apps!)

19 years agogst/gstbin.c: Make default message forwarding from child->bus to bin->bus threadsafe...
Ronald S. Bultje [Mon, 8 Aug 2005 13:17:07 +0000 (13:17 +0000)]
gst/gstbin.c: Make default message forwarding from child->bus to bin->bus threadsafe and make it not emit warnings if...

Original commit message from CVS:
* gst/gstbin.c: (bin_bus_handler):
Make default message forwarding from child->bus to bin->bus
threadsafe and make it not emit warnings if the parent has no bus.

19 years agogst/gstelement.c: On paused->ready, set pad->caps to NULL, as is the documented behav...
Ronald S. Bultje [Mon, 8 Aug 2005 12:14:20 +0000 (12:14 +0000)]
gst/gstelement.c: On paused->ready, set pad->caps to NULL, as is the documented behaviour in this state change. Fixes...

Original commit message from CVS:
* gst/gstelement.c: (activate_pads):
On paused->ready, set pad->caps to NULL, as is the documented
behaviour in this state change. Fixes playback of series of
media files when visualization is enabled in Totem.

19 years agogst/elements/gstcapsfilter.c: Allow NULL as filter-caps (which means "any").
Ronald S. Bultje [Sun, 7 Aug 2005 13:37:08 +0000 (13:37 +0000)]
gst/elements/gstcapsfilter.c: Allow NULL as filter-caps (which means "any").

Original commit message from CVS:
* gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
Allow NULL as filter-caps (which means "any").

19 years agoadding more entries to the docs and fix small doc-bugs
Stefan Kost [Fri, 5 Aug 2005 17:28:30 +0000 (17:28 +0000)]
adding more entries to the docs and fix small doc-bugs

Original commit message from CVS:
adding more entries to the docs and fix small doc-bugs

19 years agomigrated some more docs to be inlined in the sources
Stefan Kost [Fri, 5 Aug 2005 13:42:10 +0000 (13:42 +0000)]
migrated some more docs to be inlined in the sources

Original commit message from CVS:
migrated some more docs to be inlined in the sources

19 years agoadded long/short desc for controller docs added collectpads base class docs added...
Stefan Kost [Fri, 5 Aug 2005 12:59:46 +0000 (12:59 +0000)]
added long/short desc for controller docs added collectpads base class docs added correct includes to base-class docs

Original commit message from CVS:
added long/short desc for controller docs
added collectpads base class docs
added correct includes to base-class docs

19 years agomore tests (and fixes) for the controller more docs for the controller integrated...
Stefan Kost [Fri, 5 Aug 2005 10:02:44 +0000 (10:02 +0000)]
more tests (and fixes) for the controller more docs for the controller integrated companies docs for the adapter

Original commit message from CVS:
more tests (and fixes) for the controller
more docs for the controller
integrated companies docs for the adapter

19 years agocosmetic fixes
Thomas Vander Stichele [Fri, 5 Aug 2005 06:57:27 +0000 (06:57 +0000)]
cosmetic fixes

Original commit message from CVS:
cosmetic fixes

19 years agoadd sizetype tests for fakesrc
Thomas Vander Stichele [Fri, 5 Aug 2005 06:55:03 +0000 (06:55 +0000)]
add sizetype tests for fakesrc

Original commit message from CVS:
add sizetype tests for fakesrc

19 years agogst/elements/gstcapsfilter.c: Reimplement using basetransform, fixes buffer_alloc...
Andy Wingo [Thu, 4 Aug 2005 19:40:43 +0000 (19:40 +0000)]
gst/elements/gstcapsfilter.c: Reimplement using basetransform, fixes buffer_alloc proxying among other things.

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

* gst/elements/gstcapsfilter.c: Reimplement using basetransform,
fixes buffer_alloc proxying among other things.

* gst/base/gstbasetransform.c:
* gst/base/gstbasetransform.h:
Revert patch to gstbasetransform from 7-28 removing
delay_configure.

* gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
* gst/base/gstbasetransform.c (gst_base_transform_get_size):
Semantics changed, should return not the size of the output buffer
but the byte size of a buffer with a given caps.

* gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
debug object.
(gst_base_transform_configure_caps): Don't set out_size here: (in,
out) are not the pad caps until setcaps finishes.
(gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
not-in-place case as well. Deal with changing from in-place to
not-in-place within calling pad_alloc_buffer. Still a bit
concerned about the overhead here...

19 years agogst/base/gstadapter.h: Added gst_adapter_get_type() to the header
Edward Hervey [Thu, 4 Aug 2005 11:56:57 +0000 (11:56 +0000)]
gst/base/gstadapter.h: Added gst_adapter_get_type() to the header

Original commit message from CVS:
* gst/base/gstadapter.h:
Added gst_adapter_get_type() to the header

19 years agofixed distcheck breakage
Stefan Kost [Wed, 3 Aug 2005 16:10:06 +0000 (16:10 +0000)]
fixed distcheck breakage

Original commit message from CVS:
fixed distcheck breakage

19 years agoadded check test suite for the controller fixed a doc typo
Stefan Kost [Wed, 3 Aug 2005 15:59:11 +0000 (15:59 +0000)]
added check test suite for the controller fixed a doc typo

Original commit message from CVS:
added check test suite for the controller
fixed a doc typo

19 years agoadd short/long description docs to base classes add pushsrc to the docs remove consol...
Stefan Kost [Wed, 3 Aug 2005 13:30:18 +0000 (13:30 +0000)]
add short/long description docs to base classes add pushsrc to the docs remove consolidated doc fragments

Original commit message from CVS:
add short/long description docs to base classes
add pushsrc to the docs
remove consolidated doc fragments

19 years agothat one too
Stefan Kost [Tue, 2 Aug 2005 21:39:34 +0000 (21:39 +0000)]
that one too

Original commit message from CVS:
that one too