platform/upstream/gstreamer.git
19 years agogst/: Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
Wim Taymans [Fri, 6 May 2005 17:10:49 +0000 (17:10 +0000)]
gst/: Fix gst_pad_peer_get_caps(), make it return NULL if no peer.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
* gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
* gst/gstpad.c: (gst_pad_peer_get_caps):
* gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
(gst_queue_bufferalloc), (gst_queue_handle_sink_event),
(gst_queue_src_activate), (gst_queue_change_state):
* gst/gstqueue.h:
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
(intersect_caps_func):
Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
Some fixes for the peer_get_caps() change.

19 years agogst/base/gstbasesink.c: Actually do something with error codes returned from the...
Wim Taymans [Fri, 6 May 2005 16:19:59 +0000 (16:19 +0000)]
gst/base/gstbasesink.c: Actually do something with error codes returned from the push functions.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
(gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
(gst_basesink_activate):
Actually do something with error codes returned from the push
functions.

19 years agoSome more documentation.
Wim Taymans [Fri, 6 May 2005 08:25:19 +0000 (08:25 +0000)]
Some more documentation.

Original commit message from CVS:
* docs/design/part-element-sink.txt:
* docs/design/part-element-source.txt:
* gst/base/gstbasesink.c: (gst_basesink_class_init),
(gst_basesink_event), (gst_basesink_activate):
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
(gst_basesrc_activate):
* gst/base/gstbasesrc.h:
* gst/gstelement.c: (gst_element_pads_activate):
Some more documentation.
Fixed scheduling decision in _pads_activate().

19 years agofinal cruft fixage
Andy Wingo [Thu, 5 May 2005 21:59:53 +0000 (21:59 +0000)]
final cruft fixage

Original commit message from CVS:
final cruft fixage

19 years agocruft removal
Andy Wingo [Thu, 5 May 2005 21:45:54 +0000 (21:45 +0000)]
cruft removal

Original commit message from CVS:
cruft removal

19 years agorevert cruft
Andy Wingo [Thu, 5 May 2005 21:42:24 +0000 (21:42 +0000)]
revert cruft

Original commit message from CVS:
revert cruft

19 years agorevert accidental commit of cruft -- doh
Andy Wingo [Thu, 5 May 2005 21:37:34 +0000 (21:37 +0000)]
revert accidental commit of cruft -- doh

Original commit message from CVS:
revert accidental commit of cruft -- doh

19 years agocheck/pipelines/simple_launch_lines.c (test_2_elements): "Fix" the test suite.
Andy Wingo [Thu, 5 May 2005 15:02:40 +0000 (15:02 +0000)]
check/pipelines/simple_launch_lines.c (test_2_elements): "Fix" the test suite.

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

* check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
the test suite.

19 years agofix broken spec file
Christian Schaller [Thu, 5 May 2005 11:43:06 +0000 (11:43 +0000)]
fix broken spec file

Original commit message from CVS:
fix broken spec file

19 years agogst/: Added object to help in making collect pad based elements.
Wim Taymans [Thu, 5 May 2005 09:31:59 +0000 (09:31 +0000)]
gst/: Added object to help in making collect pad based elements.

Original commit message from CVS:
* gst/base/Makefile.am:
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.c: (gst_basesrc_init),
(gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
* gst/base/gstcollectpads.c: (gst_collectpads_get_type),
(gst_collectpads_class_init), (gst_collectpads_init),
(gst_collectpads_finalize), (gst_collectpads_new),
(gst_collectpads_set_function), (gst_collectpads_add_pad),
(find_pad), (gst_collectpads_remove_pad),
(gst_collectpads_is_active), (gst_collectpads_collect),
(gst_collectpads_collect_range), (gst_collectpads_start),
(gst_collectpads_stop), (gst_collectpads_peek),
(gst_collectpads_pop), (gst_collectpads_available),
(gst_collectpads_read), (gst_collectpads_flush),
(gst_collectpads_chain):
* gst/base/gstcollectpads.h:
* gst/elements/Makefile.am:
* gst/elements/gstelements.c:
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
(gst_fakesink_get_times), (gst_fakesink_event),
(gst_fakesink_preroll), (gst_fakesink_render):
* gst/elements/gstfilesink.c: (gst_filesink_class_init),
(gst_filesink_init), (gst_filesink_set_location),
(gst_filesink_open_file), (gst_filesink_close_file),
(gst_filesink_pad_query), (gst_filesink_event),
(gst_filesink_render), (gst_filesink_change_state):
* gst/elements/gstfilesink.h:
Added object to help in making collect pad based elements.
Ported filesink.
Make event function in sink baseclass return gboolean.

19 years agogst/: Fix name lookup in GstBin.
Wim Taymans [Thu, 5 May 2005 09:28:01 +0000 (09:28 +0000)]
gst/: Fix name lookup in GstBin.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_send_event), (compare_name),
(gst_bin_get_by_name):
* gst/gstbuffer.h:
* gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
(gst_clock_finalize):
* gst/gstdata.c: (gst_data_replace):
* gst/gstdata.h:
* gst/gstelement.c: (gst_element_request_pad),
(gst_element_pads_activate):
* gst/gstobject.c: (gst_object_init), (gst_object_ref),
(gst_object_unref):
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function),
(gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
(gst_pad_check_pull_range), (gst_pad_pull_range),
(gst_static_pad_template_get_caps), (gst_pad_start_task),
(gst_pad_pause_task), (gst_pad_stop_task):
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
(gst_element_request_pad), (gst_pad_proxy_getcaps):
Fix name lookup in GstBin.
Added _data_replace() function and _buffer_replace()
Use finalize method to clean up clock.
Fix refcounting on request pads.
Fix pad schedule mode error.
Some more object refcounting debug info,

19 years agoGCC 4 fixen.
Andy Wingo [Wed, 4 May 2005 21:29:44 +0000 (21:29 +0000)]
GCC 4 fixen.

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

* check/Makefile.am:
* docs/gst/tmpl/gstatomic.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* gst/base/gstbasesink.c: (gst_basesink_activate):
* gst/base/gstbasesrc.c: (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
(gst_basesrc_query), (gst_basesrc_set_property),
(gst_basesrc_get_property), (gst_basesrc_check_get_range),
(gst_basesrc_activate):
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
(gst_base_transform_src_activate):
* gst/elements/gstelements.c:
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
* gst/elements/gsttee.c: (gst_tee_sink_activate):
* gst/elements/gsttypefindelement.c: (find_element_get_length),
(gst_type_find_element_checkgetrange),
(gst_type_find_element_activate):
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
(gst_caps_load_thyself):
* gst/gstelement.c: (gst_element_pads_activate),
(gst_element_save_thyself), (gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
* gst/gstpad.h:
* gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
(gst_xml_parse_file), (gst_xml_parse_memory),
(gst_xml_get_element), (gst_xml_make_element):
* gst/indexers/gstfileindex.c: (gst_file_index_load),
(_file_index_id_save_xml), (gst_file_index_commit):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
(gst_dp_packet_from_event), (gst_dp_caps_from_packet):
* tools/gst-complete.c: (main):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
* tools/gst-xmlinspect.c: (print_element_properties):
GCC 4 fixen.

19 years agofix up spec file to work for 0.9 branch
Christian Schaller [Wed, 4 May 2005 19:41:05 +0000 (19:41 +0000)]
fix up spec file to work for 0.9 branch

Original commit message from CVS:
fix up spec file to work for 0.9 branch

19 years agogst/gstplugin.c: apply patch from #172526 to make register work on MacOSX
Thomas Vander Stichele [Tue, 3 May 2005 12:46:47 +0000 (12:46 +0000)]
gst/gstplugin.c: apply patch from #172526 to make register work on MacOSX

Original commit message from CVS:

* gst/gstplugin.c: (gst_plugin_check_module),
(gst_plugin_check_file), (gst_plugin_load_file):
apply patch from #172526 to make register work on MacOSX

19 years agofile .cvsignore was initially added on branch BRANCH-GSTREAMER-0_8.
Thomas Vander Stichele [Mon, 2 May 2005 16:50:31 +0000 (16:50 +0000)]
file .cvsignore was initially added on branch BRANCH-GSTREAMER-0_8.

Original commit message from CVS:
file .cvsignore was initially added on branch BRANCH-GSTREAMER-0_8.

19 years agomore print format fixes
Thomas Vander Stichele [Mon, 2 May 2005 15:31:36 +0000 (15:31 +0000)]
more print format fixes

Original commit message from CVS:
more print format fixes

19 years agomerges from 0.8 for 64 bit issues
Thomas Vander Stichele [Mon, 2 May 2005 15:20:30 +0000 (15:20 +0000)]
merges from 0.8 for 64 bit issues

Original commit message from CVS:
merges from 0.8 for 64 bit issues

19 years agoAdded draft for new query API.
Wim Taymans [Mon, 2 May 2005 13:55:21 +0000 (13:55 +0000)]
Added draft for new query API.

Original commit message from CVS:
* docs/design/draft-push-pull.txt:
* docs/design/draft-query.txt:
* gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
(gst_basesrc_start):
Added draft for new query API.
Added draft for better selecting scheduling methods.
Make basesrc ignore length if the subclass does not support
it.

19 years agoautomake 1.5 fixes
Thomas Vander Stichele [Mon, 2 May 2005 11:54:32 +0000 (11:54 +0000)]
automake 1.5 fixes

Original commit message from CVS:
automake 1.5 fixes

19 years agopossible fixes for automake-1.5
Thomas Vander Stichele [Mon, 2 May 2005 11:47:17 +0000 (11:47 +0000)]
possible fixes for automake-1.5

Original commit message from CVS:
possible fixes for automake-1.5

19 years agogst/: Better debugging of clocking info.
Wim Taymans [Thu, 28 Apr 2005 16:28:28 +0000 (16:28 +0000)]
gst/: Better debugging of clocking info.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_basesink_base_init),
(gst_basesink_pad_getcaps), (gst_basesink_init),
(gst_basesink_do_sync):
* gst/gstclock.c: (gst_clock_entry_new):
* gst/gstevent.c: (gst_event_discont_get_value):
* gst/gstpipeline.c: (pipeline_bus_handler),
(gst_pipeline_change_state):
* gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
Better debugging of clocking info.
Allow NULL values when getting discont values.

19 years agocheck/gst/: Increase timeout for checks.
Wim Taymans [Wed, 27 Apr 2005 14:19:46 +0000 (14:19 +0000)]
check/gst/: Increase timeout for checks.

Original commit message from CVS:
* check/gst/gstobject.c: (START_TEST), (gst_object_suite):
* check/gst/gstpad.c: (gst_pad_suite):
Increase timeout for checks.

19 years agocheck/Makefile.am: fix the broken rule for cleanup. Apparently this rule is only...
Thomas Vander Stichele [Wed, 27 Apr 2005 13:52:42 +0000 (13:52 +0000)]
check/Makefile.am: fix the broken rule for cleanup.  Apparently this rule is only needed on FC2, so maybe this warran...

Original commit message from CVS:
* check/Makefile.am:
fix the broken rule for cleanup.  Apparently this rule is
only needed on FC2, so maybe this warrants further autotool
inspection.

19 years agogst/gsttrashstack.h: Ooohh. a nasty one! After having a failed pop() from the stack...
Wim Taymans [Tue, 26 Apr 2005 18:07:45 +0000 (18:07 +0000)]
gst/gsttrashstack.h: Ooohh. a nasty one! After having a failed pop() from the stack, it's possible that the stack is ...

Original commit message from CVS:
* gst/gsttrashstack.h:
Ooohh. a nasty one! After having a failed pop() from the stack,
it's possible that the stack is empty. In that case, don't
follow the NULL pointer.

19 years agogst/: Remove gst_library_load as it does more harm than good with the new g_module...
Wim Taymans [Mon, 25 Apr 2005 13:00:47 +0000 (13:00 +0000)]
gst/: Remove gst_library_load as it does more harm than good with the new g_module flags.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function),
(gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
(gst_pad_check_pull_range), (gst_pad_pull_range),
(gst_static_pad_template_get_caps), (gst_pad_start_task),
(gst_pad_pause_task), (gst_pad_stop_task):
* gst/gstplugin.c: (gst_plugin_load):
* gst/gstplugin.h:
Remove gst_library_load as it does more harm than good with
the new g_module flags.
Revert bogus caps template check in pad linking, pad caps
are important when linking not the template, which is more
general than the current caps.

19 years agothere is no speed. really.
Thomas Vander Stichele [Mon, 25 Apr 2005 11:51:09 +0000 (11:51 +0000)]
there is no speed.  really.

Original commit message from CVS:
there is no speed.  really.

19 years agogst/autoplug/: Die, spider, die.
Ronald S. Bultje [Mon, 25 Apr 2005 09:51:06 +0000 (09:51 +0000)]
gst/autoplug/: Die, spider, die.

Original commit message from CVS:
* gst/autoplug/.cvsignore:
* gst/autoplug/Makefile.am:
* gst/autoplug/gstsearchfuncs.c:
* gst/autoplug/gstsearchfuncs.h:
* gst/autoplug/gstspider.c:
* gst/autoplug/gstspider.h:
* gst/autoplug/gstspideridentity.c:
* gst/autoplug/gstspideridentity.h:
* gst/autoplug/spidertest.c:
Die, spider, die.

19 years agogst/gstpad.*: Added stubs for unimplemented functions.
Wim Taymans [Mon, 25 Apr 2005 09:45:35 +0000 (09:45 +0000)]
gst/gstpad.*: Added stubs for unimplemented functions.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
(gst_pad_pull_range), (gst_static_pad_template_get_caps),
(gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
* gst/gstpad.h:
Added stubs for unimplemented functions.

19 years agofile python-elements.txt was initially added on branch BRANCH-GSTREAMER-0_8.
Jan Schmidt [Mon, 25 Apr 2005 03:54:28 +0000 (03:54 +0000)]
file python-elements.txt was initially added on branch BRANCH-GSTREAMER-0_8.

Original commit message from CVS:
file python-elements.txt was initially added on branch BRANCH-GSTREAMER-0_8.

19 years agogst/gstpad.h: Disable some unimplemented functions. Wim, please fix.
David Schleef [Sun, 24 Apr 2005 23:53:06 +0000 (23:53 +0000)]
gst/gstpad.h: Disable some unimplemented functions.  Wim, please fix.

Original commit message from CVS:
* gst/gstpad.h: Disable some unimplemented functions.  Wim,
please fix.

19 years agoConvert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic.
David Schleef [Sun, 24 Apr 2005 22:49:45 +0000 (22:49 +0000)]
Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic.

Original commit message from CVS:
Convert everything from GstAtomicInt to g_atomic_int_*, and
remove gstatomic.
* gst/Makefile.am:
* gst/gstatomic.c:
* gst/gstatomic.h:
* gst/gstatomic_impl.h:
* gst/gstbuffer.c:
* gst/gstcaps.c:
* gst/gstcaps.h:
* gst/gstclock.c:
* gst/gstclock.h:
* gst/gstdata.c:
* gst/gstdata.h:
* gst/gstdata_private.h:
* gst/gstevent.c:
* gst/gstinfo.c:
* gst/gstinfo.h:
* gst/gstmessage.c:
* gst/gstobject.c:
* gst/gstobject.h:
* gst/gststructure.c:
* gst/gststructure.h:
* gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
* gst/gstutils.h:

19 years agocheck/gst/gstpad.c: Oh yeah, it's always nice to make the regressions tests work...
David Schleef [Sun, 24 Apr 2005 22:44:13 +0000 (22:44 +0000)]
check/gst/gstpad.c: Oh yeah, it's always nice to make the regressions tests work.  Remove some code that is no longer...

Original commit message from CVS:
* check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
make the regressions tests work.  Remove some code that is no
longer true.
* gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
Disable warning for pads without templates.

19 years agogst/gstpad.c: Remove handling of filtered caps. Fix/merge functions that handle...
David Schleef [Sun, 24 Apr 2005 21:16:45 +0000 (21:16 +0000)]
gst/gstpad.c: Remove handling of filtered caps.  Fix/merge functions that handle filtered links.

Original commit message from CVS:
* gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
functions that handle filtered links.
* gst/gstpad.h: Remove 'appfilter' field and prototypes of
removed functions.
* gst/gstutils.c: Fix/remove utility functions that handle
filtered caps.
* gst/gstutils.h:
* gst/gstvalue.c: Add serialization/deserialization of caps
* gst/parse/grammar.y: Ignore filtered caps when linking.  This
requires fixing so that the filter caps notation creates
a capsfilter element and sets the filter_caps property.  I
think everyone probably wants to keep the shorthand notation.
* docs/gst/tmpl/gstelement.sgml: updates for API changes.
* docs/gst/tmpl/gstpad.sgml:
* gst/elements/gstelements.c: Register capsfilter element.
* gst/Makefile.am: fix spacing
* docs/random/ds/0.9-suggested-changes: random

19 years agogst/elements/: New element that acts like an identity, but filters caps. Will eventu...
David Schleef [Sat, 23 Apr 2005 23:29:47 +0000 (23:29 +0000)]
gst/elements/: New element that acts like an identity, but filters caps.  Will eventually replace filtered caps in pa...

Original commit message from CVS:
* gst/elements/Makefile.am:
* gst/elements/gstcapsfilter.c: New element that acts like an
identity, but filters caps.  Will eventually replace filtered
caps in pad linking.
* gst/gstutils.c: (gst_element_create_all_pads): New function
to create all the ALWAYS pads that are registered with an
element class.  This functionality should eventually be
merged in with GstElement initialization.
* gst/gstutils.h:
* testsuite/trigger/README: part of trigger test code that should
have been checked in a long time ago.

19 years agogst/Makefile.am: Remove as-libtool stuff. It's likely not and hard to carry around.
David Schleef [Sat, 23 Apr 2005 23:25:08 +0000 (23:25 +0000)]
gst/Makefile.am: Remove as-libtool stuff.  It's likely not and hard to carry around.

Original commit message from CVS:
* gst/Makefile.am: Remove as-libtool stuff.  It's likely not
needed with new versions of libtool (nobody will confirm this),
and hard to carry around.
* gst/autoplug/Makefile.am:
* gst/base/Makefile.am:
* gst/elements/Makefile.am:
* gst/indexers/Makefile.am:
* gst/schedulers/Makefile.am:
* libs/gst/bytestream/Makefile.am:
* libs/gst/control/Makefile.am:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/getbits/Makefile.am:

19 years agofile Makefile.am was initially added on branch BRANCH-GSTREAMER-0_8.
Stefan Kost [Thu, 21 Apr 2005 17:10:09 +0000 (17:10 +0000)]
file Makefile.am was initially added on branch BRANCH-GSTREAMER-0_8.

Original commit message from CVS:
file Makefile.am was initially added on branch BRANCH-GSTREAMER-0_8.

19 years agodocs/design/: Some more docs.
Wim Taymans [Thu, 21 Apr 2005 09:37:34 +0000 (09:37 +0000)]
docs/design/: Some more docs.

Original commit message from CVS:
* docs/design/draft-push-pull.txt:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-TODO.txt:
* docs/design/part-caps.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbus.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* docs/design/part-push-pull.txt:
* docs/design/part-query.txt:
Some more docs.

19 years agogst/: Use parent refcount in GstMessage to ensure GstStructure consistency.
Wim Taymans [Thu, 21 Apr 2005 09:33:31 +0000 (09:33 +0000)]
gst/: Use parent refcount in GstMessage to ensure GstStructure consistency.

Original commit message from CVS:
* gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
(gst_message_new), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_application),
(gst_message_get_structure):
* gst/gstmessage.h:
* gst/gststructure.c: (gst_structure_set_parent_refcount),
(gst_structure_copy_conditional):
Use parent refcount in GstMessage to ensure GstStructure
consistency.
Cleaned up headers a bit.

19 years agogst/: Make gst_caps_replace() work like other _replace() functions.
Wim Taymans [Wed, 20 Apr 2005 09:10:42 +0000 (09:10 +0000)]
gst/: Make gst_caps_replace() work like other _replace() functions.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_basesink_base_init),
(gst_basesink_pad_getcaps), (gst_basesink_init),
(gst_basesink_chain_unlocked):
* gst/base/gsttypefindhelper.c: (helper_find_suggest),
(gst_type_find_helper):
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_have_type), (gst_type_find_element_init),
(stop_typefinding), (gst_type_find_element_handle_event),
(find_suggest), (gst_type_find_element_chain),
(gst_type_find_element_checkgetrange),
(gst_type_find_element_getrange), (do_typefind),
(gst_type_find_element_activate):
* gst/gstbuffer.c: (_gst_buffer_sub_free),
(gst_buffer_default_free), (gst_buffer_default_copy),
(gst_buffer_set_caps):
* gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
(gst_caps_replace):
* gst/gstmessage.c: (gst_message_new),
(gst_message_new_state_changed):
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function),
(gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
(gst_pad_set_caps), (gst_pad_check_pull_range),
(gst_pad_pull_range), (gst_static_pad_template_get_caps):
* gst/gstpad.h:
* gst/gsttypefind.c: (gst_type_find_register):
Make gst_caps_replace() work like other _replace() functions.
Use _caps_replace() where possible.
Make sure _message_new() initialises its field.
Add gst_static_pad_template_get_caps()

19 years agogst/elements/gstfakesrc.c: s/ARG_/PROP_/.
Andy Wingo [Mon, 18 Apr 2005 08:53:02 +0000 (08:53 +0000)]
gst/elements/gstfakesrc.c: s/ARG_/PROP_/.

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

* gst/elements/gstfakesrc.c: s/ARG_/PROP_/.

19 years agogst/base/gstbasesrc.c (gst_basesrc_set_property)
Andy Wingo [Mon, 18 Apr 2005 08:24:30 +0000 (08:24 +0000)]
gst/base/gstbasesrc.c (gst_basesrc_set_property)

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

* gst/base/gstbasesrc.c (gst_basesrc_set_property)
(gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
to PROP_....

19 years agoNEWS build
Thomas Vander Stichele [Sat, 16 Apr 2005 20:27:55 +0000 (20:27 +0000)]
NEWS build

Original commit message from CVS:
NEWS build

19 years agoremoved some line
Thomas Vander Stichele [Sat, 16 Apr 2005 20:16:38 +0000 (20:16 +0000)]
removed some line

Original commit message from CVS:
removed some line

19 years agoadd gst-plugins-base to pkgconfig path
Thomas Vander Stichele [Sat, 16 Apr 2005 16:28:07 +0000 (16:28 +0000)]
add gst-plugins-base to pkgconfig path

Original commit message from CVS:
add gst-plugins-base to pkgconfig path

19 years agodocs/faq/using.xml: Add note on gstreamer-properties (#154996).
Ronald S. Bultje [Thu, 14 Apr 2005 17:17:30 +0000 (17:17 +0000)]
docs/faq/using.xml: Add note on gstreamer-properties (#154996).

Original commit message from CVS:
* docs/faq/using.xml:
Add note on gstreamer-properties (#154996).

19 years agodocs/random/bbb/optional-properties: Some analysis on optional properties.
Ronald S. Bultje [Wed, 13 Apr 2005 17:41:29 +0000 (17:41 +0000)]
docs/random/bbb/optional-properties: Some analysis on optional properties.

Original commit message from CVS:
* docs/random/bbb/optional-properties:
Some analysis on optional properties.

19 years agoUse libxml2 for registry parsing, use staticpadtemplates in elementfactories. Makes...
Ronald S. Bultje [Tue, 12 Apr 2005 15:00:30 +0000 (15:00 +0000)]
Use libxml2 for registry parsing, use staticpadtemplates in elementfactories. Makes gst_init() +/- 10x faster.

Original commit message from CVS:
* docs/gst/tmpl/gstelementfactory.sgml:
* gst/gstelement.h:
* gst/gstelementfactory.c: (gst_element_factory_init),
(gst_element_factory_cleanup), (gst_element_register),
(__gst_element_factory_add_static_pad_template),
(gst_element_factory_get_static_pad_templates),
(gst_element_factory_can_src_caps),
(gst_element_factory_can_sink_caps):
* gst/registries/Makefile.am:
* gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
(gst_xml_registry_class_init), (gst_xml_registry_init),
(gst_xml_registry_new), (gst_xml_registry_set_property),
(gst_xml_registry_get_property), (get_time), (make_dir),
(gst_xml_registry_get_perms_func),
(plugin_times_older_than_recurse), (plugin_times_older_than),
(gst_xml_registry_open_func), (gst_xml_registry_load_func),
(gst_xml_registry_save_func), (gst_xml_registry_close_func),
(add_to_char_array), (read_string), (read_uint), (read_enum),
(load_pad_template), (load_feature), (load_plugin), (load_paths),
(gst_xml_registry_load), (gst_xml_registry_load_plugin),
(gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
(gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
(gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
(gst_xml_registry_rebuild):
* gst/registries/gstlibxmlregistry.h:
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_pad_templates_info):
* tools/gst-xmlinspect.c: (print_element_info):
Use libxml2 for registry parsing, use staticpadtemplates in
elementfactories. Makes gst_init() +/- 10x faster.

19 years agoAdded typefind helper.
Wim Taymans [Tue, 12 Apr 2005 10:52:55 +0000 (10:52 +0000)]
Added typefind helper.

Original commit message from CVS:
Added typefind helper.
Small preroll fix in the base sink.
Disable typefind code in basesrc.
Crude port of typefindelement.
Fakesrc cleanups.

19 years agoIncrease timeout some more
Wim Taymans [Tue, 12 Apr 2005 09:16:00 +0000 (09:16 +0000)]
Increase timeout some more

Original commit message from CVS:
Increase timeout some more

19 years agoonly dirs
Thomas Vander Stichele [Mon, 11 Apr 2005 12:02:13 +0000 (12:02 +0000)]
only dirs

Original commit message from CVS:
only dirs

19 years agofix distcheck
Thomas Vander Stichele [Mon, 11 Apr 2005 11:40:11 +0000 (11:40 +0000)]
fix distcheck

Original commit message from CVS:
fix distcheck

19 years agocheck/: Fix up the timeout so that the test does not fail.
Wim Taymans [Mon, 11 Apr 2005 11:24:53 +0000 (11:24 +0000)]
check/: Fix up the timeout so that the test does not fail.

Original commit message from CVS:
* check/gst/gstbus.c: (gstbus_suite):
* check/gst/gstdata.c: (thread_ref), (gst_data_suite):
* check/gstcheck.h:
Fix up the timeout so that the test does not fail.

19 years agodist trigger
Thomas Vander Stichele [Mon, 11 Apr 2005 09:53:44 +0000 (09:53 +0000)]
dist trigger

Original commit message from CVS:
dist trigger

19 years agowork with debug disabled
Thomas Vander Stichele [Sun, 10 Apr 2005 21:42:32 +0000 (21:42 +0000)]
work with debug disabled

Original commit message from CVS:
work with debug disabled

19 years agowork with debug disabled
Thomas Vander Stichele [Sun, 10 Apr 2005 20:29:44 +0000 (20:29 +0000)]
work with debug disabled

Original commit message from CVS:
work with debug disabled

19 years agoignore already applied patch
Thomas Vander Stichele [Sun, 10 Apr 2005 18:19:18 +0000 (18:19 +0000)]
ignore already applied patch

Original commit message from CVS:
ignore already applied patch

19 years agofile gstparent.c was initially added on branch BRANCH-GSTREAMER-0_8.
Stefan Kost [Fri, 8 Apr 2005 11:34:14 +0000 (11:34 +0000)]
file gstparent.c was initially added on branch BRANCH-GSTREAMER-0_8.

Original commit message from CVS:
file gstparent.c was initially added on branch BRANCH-GSTREAMER-0_8.

19 years agofile gstparent.h was initially added on branch BRANCH-GSTREAMER-0_8.
Stefan Kost [Fri, 8 Apr 2005 11:34:14 +0000 (11:34 +0000)]
file gstparent.h was initially added on branch BRANCH-GSTREAMER-0_8.

Original commit message from CVS:
file gstparent.h was initially added on branch BRANCH-GSTREAMER-0_8.

19 years agogst/: More work on the generic source base class, implement seeking, query.
Wim Taymans [Wed, 6 Apr 2005 17:30:48 +0000 (17:30 +0000)]
gst/: More work on the generic source base class, implement seeking, query.

Original commit message from CVS:
* gst/base/README:
* gst/base/gstbasesrc.c: (gst_basesrc_get_type),
(gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
(gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
(gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
(gst_basesrc_check_get_range), (gst_basesrc_loop),
(gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
(gst_basesrc_stop), (gst_basesrc_activate),
(gst_basesrc_change_state), (basesrc_find_peek),
(basesrc_find_suggest), (gst_basesrc_type_find):
* gst/base/gstbasesrc.h:
* gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
(gst_filesrc_class_init), (gst_filesrc_init),
(gst_filesrc_finalize), (gst_filesrc_set_location),
(gst_filesrc_set_property), (gst_filesrc_get_property),
(gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
(gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
(gst_filesrc_create_read), (gst_filesrc_create),
(gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
* gst/elements/gstfilesrc.h:
* gst/gstelement.c: (gst_element_get_state_func),
(gst_element_lost_state), (gst_element_pads_activate):
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
(gst_pad_pull_range):
* gst/gstpad.h:
More work on the generic source base class, implement seeking,
query.
Make filesrc extend the base source class.
Added gst_pad_set_checkgetrange_function to GstPad.

19 years agopkgconfig/: New files.
Andy Wingo [Wed, 6 Apr 2005 11:08:07 +0000 (11:08 +0000)]
pkgconfig/: New files.

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

* pkgconfig/gstreamer-base.pc.in:
* pkgconfig/gstreamer-base-uninstalled.pc.in: New files.

* pkgconfig/Makefile.am:
* configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.

19 years agoadd a note
Thomas Vander Stichele [Tue, 5 Apr 2005 17:41:51 +0000 (17:41 +0000)]
add a note

Original commit message from CVS:
add a note

19 years agogst/: Made base source class, make fakesrc extend it.
Wim Taymans [Tue, 5 Apr 2005 08:44:20 +0000 (08:44 +0000)]
gst/: Made base source class, make fakesrc extend it.

Original commit message from CVS:
* gst/base/Makefile.am:
* gst/base/README:
* gst/base/gstbasesink.c: (gst_basesink_base_init),
(gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
(gst_basesink_pad_buffer_alloc), (gst_basesink_init),
(gst_basesink_do_sync), (gst_basesink_chain_unlocked):
* gst/base/gstbasesrc.c: (gst_basesrc_get_type),
(gst_basesrc_base_init), (gst_basesrc_class_init),
(gst_basesrc_init), (gst_basesrc_get_formats),
(gst_basesrc_get_query_types), (gst_basesrc_query),
(gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
(gst_basesrc_set_property), (gst_basesrc_get_property),
(gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
(gst_basesrc_loop), (gst_basesrc_activate),
(gst_basesrc_change_state):
* gst/base/gstbasesrc.h:
* gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
(gst_fakesrc_class_init), (gst_fakesrc_init),
(gst_fakesrc_event_handler), (gst_fakesrc_set_property),
(gst_fakesrc_get_property), (gst_fakesrc_create):
* gst/elements/gstfakesrc.h:
* gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
(gst_filesrc_open_file), (gst_filesrc_loop),
(gst_filesrc_activate), (filesrc_find_peek),
(gst_filesrc_type_find):
Made base source class, make fakesrc extend it.
Add comments to basesink class.
Some filesrc cleanup.

19 years agoadd support for google malloc if available
Andy Wingo [Fri, 1 Apr 2005 10:14:45 +0000 (10:14 +0000)]
add support for google malloc if available

Original commit message from CVS:
add support for google malloc if available

19 years agogst/gstplugin.c: Switch to using G_MODULE_BIND_LOCAL, which means plugins are now...
David Schleef [Fri, 1 Apr 2005 02:41:35 +0000 (02:41 +0000)]
gst/gstplugin.c: Switch to using G_MODULE_BIND_LOCAL, which means plugins are now expected to link against libgstreamer.

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
expected to link against libgstreamer.
* gst/base/Makefile.am: link against libgstreamer
* gst/elements/Makefile.am: same

19 years agotests/instantiate/: Add test to test speed of caps copy and free.
Andy Wingo [Thu, 31 Mar 2005 15:00:11 +0000 (15:00 +0000)]
tests/instantiate/: Add test to test speed of caps copy and free.

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

* tests/instantiate/Makefile.am:
* tests/instantiate/caps.c: Add test to test speed of caps copy
and free.

* tests/memchunk/gmemchunktest.c (main): Use alloc only on the
GMemChunk to be fair.

* gst/gsttrashstack.h: Remove warning about using the fallback
trash stack implementation, it's still faster than malloc.

19 years agogst/: Added start/stop methods to transform base class so subclasses don't need to...
Wim Taymans [Thu, 31 Mar 2005 10:10:55 +0000 (10:10 +0000)]
gst/: Added start/stop methods to transform base class so subclasses don't need to deal with state changes even.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_base_init),
(gst_base_transform_class_init), (gst_base_transform_init),
(gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
(gst_base_transform_get_property),
(gst_base_transform_sink_activate),
(gst_base_transform_src_activate),
(gst_base_transform_change_state):
* gst/base/gstbasetransform.h:
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_event), (gst_identity_check_perfect),
(gst_identity_transform), (gst_identity_start),
(gst_identity_stop):
Added start/stop methods to transform base class so subclasses
don't need to deal with state changes even.

19 years agoadd per-thread stats
Andy Wingo [Thu, 31 Mar 2005 10:10:21 +0000 (10:10 +0000)]
add per-thread stats

Original commit message from CVS:
add per-thread stats

19 years agogst/: Added rate to the discont event to prepare for variable speed and reverse playback.
Wim Taymans [Thu, 31 Mar 2005 09:46:28 +0000 (09:46 +0000)]
gst/: Added rate to the discont event to prepare for variable speed and reverse playback.

Original commit message from CVS:
* gst/gstevent.c: (gst_event_new_discontinuous_valist),
(gst_event_new_discontinuous), (gst_event_discont_get_value):
* gst/gstevent.h:
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_pull_range):
Added rate to the discont event to prepare for variable speed
and reverse playback.

19 years agoCommit mem chunk test; probably will be removed later.
Andy Wingo [Wed, 30 Mar 2005 14:09:01 +0000 (14:09 +0000)]
Commit mem chunk test; probably will be removed later.

Original commit message from CVS:
Commit mem chunk test; probably will be removed later.

19 years agoA little example program to show how trigger-based elements can work.
David Schleef [Wed, 30 Mar 2005 03:57:39 +0000 (03:57 +0000)]
A little example program to show how trigger-based elements can work.

Original commit message from CVS:
* configure.ac:
* testsuite/trigger/Makefile.am:
* testsuite/trigger/trigger.c: A little example program to show
how trigger-based elements can work.

19 years agogst/: Simplify pad activation.
Wim Taymans [Tue, 29 Mar 2005 16:18:12 +0000 (16:18 +0000)]
gst/: Simplify pad activation.

Original commit message from CVS:
* gst/base/Makefile.am:
* gst/base/README:
* gst/base/gstbasesink.c: (gst_basesink_get_type),
(gst_basesink_base_init), (gst_basesink_class_init),
(gst_basesink_pad_getcaps), (gst_basesink_init),
(gst_basesink_activate), (gst_basesink_change_state):
* gst/base/gstbasesink.h:
* gst/base/gstbasetransform.c: (gst_base_transform_get_type),
(gst_base_transform_base_init), (gst_base_transform_finalize),
(gst_base_transform_class_init), (gst_base_transform_init),
(gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
(gst_base_transform_event), (gst_base_transform_getrange),
(gst_base_transform_chain), (gst_base_transform_handle_buffer),
(gst_base_transform_set_property),
(gst_base_transform_get_property),
(gst_base_transform_sink_activate),
(gst_base_transform_src_activate),
(gst_base_transform_change_state):
* gst/base/gstbasetransform.h:
* gst/elements/gstidentity.c: (gst_identity_finalize),
(gst_identity_class_init), (gst_identity_init),
(gst_identity_event), (gst_identity_check_perfect),
(gst_identity_transform), (gst_identity_set_property),
(gst_identity_get_property), (gst_identity_change_state):
* gst/elements/gstidentity.h:
* gst/gstelement.c: (gst_element_get_state_func),
(gst_element_lost_state), (gst_element_pads_activate):
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
(gst_pad_check_pull_range), (gst_pad_pull_range):
* gst/gstpad.h:
Simplify pad activation.
Added function to check if pull_range can be performed.
Error out when pulling inactive or flushing pads.
Removed const from refcounted types as it does not make sense.
Simplify pad templates in basesink
Added base class for simple 1-to-1 transforms.
Make identity subclass the base transform.

19 years agodocs/: Add these files to CVS. Now I really don't understand what's going on, but...
Andy Wingo [Tue, 29 Mar 2005 14:34:51 +0000 (14:34 +0000)]
docs/: Add these files to CVS. Now I really don't understand what's going on, but like whatever. I want green buildbot!

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

* docs/libs/gstreamer-libs-overrides.txt:
* docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
really don't understand what's going on, but like whatever. I want
green buildbot!

19 years agodocs/: Dist the overrides files.
Andy Wingo [Tue, 29 Mar 2005 14:12:48 +0000 (14:12 +0000)]
docs/: Dist the overrides files.

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

* docs/gst/Makefile.am:
* docs/libs/Makefile.am: Dist the overrides files.

* check/Makefile.am (clean-local): Remove .libs directories.

* gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
elements to EXTRA_DIST, so po/ files are happy.

19 years agopo/POTFILES: Remove gstspider.c.
Andy Wingo [Tue, 29 Mar 2005 13:10:25 +0000 (13:10 +0000)]
po/POTFILES: Remove gstspider.c.

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

* po/POTFILES: Remove gstspider.c.

* configure.ac (AC_OUTPUT): Add missing testsuite makefiles.

* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt: Remove the section on
bytestream.

* tests/complexity.c (main): Set the length of the preroll queue
on the sinks to prevent a lockup.

19 years agolibs/gst/dataprotocol/: Remove test, it's the same as the one in check/gst-libs/gdp.c.
Andy Wingo [Tue, 29 Mar 2005 11:39:17 +0000 (11:39 +0000)]
libs/gst/dataprotocol/: Remove test, it's the same as the one in check/gst-libs/gdp.c.

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

* libs/gst/dataprotocol/Makefile.am:
* libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
the same as the one in check/gst-libs/gdp.c.

19 years agopo/, docs/gst/: Commit automatic changes to docs and po files.
Andy Wingo [Tue, 29 Mar 2005 10:55:39 +0000 (10:55 +0000)]
po/, docs/gst/: Commit automatic changes to docs and po files.

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

* po/, docs/gst/: Commit automatic changes to docs and po files.

* gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
the versioned libgstbase.

* check/Makefile.am: Depend on an unversioned gst-register, seems
to make autoconf happier.

* gst/base/Makefile.am: Make libgstbase a versioned lib.

19 years agoAdded state change code.
Wim Taymans [Mon, 28 Mar 2005 14:54:33 +0000 (14:54 +0000)]
Added state change code.

Original commit message from CVS:
Added state change code.
Added/updated docs.
Added sink base class, make fakesink extend the base class.
Small cleanups in GstPipeline.

19 years agogst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality is broken and should...
David Schleef [Sat, 26 Mar 2005 22:07:53 +0000 (22:07 +0000)]
gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality is broken and should be implemented in a different li...

Original commit message from CVS:
* gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
is broken and should be implemented in a different library.
* gst/gst.c: (init_post): don't call _gst_cpu_initialize()
* gst/gst.h: remove gstcpu.h
* gst/gstcpu.c: remove
* gst/gstcpu.h: remove
* gst/Makefile.am.future: Remove this file.  It's ancient.

19 years agogst/gstbin.c: Add default event/set_manager handlers. The set_manager handler takes...
Ronald S. Bultje [Fri, 25 Mar 2005 09:57:42 +0000 (09:57 +0000)]
gst/gstbin.c: Add default event/set_manager handlers. The set_manager handler takes care that the manager is distribu...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
(gst_bin_send_event):
Add default event/set_manager handlers. The set_manager handler
takes care that the manager is distributed over kids that were
already in the bin before the manager was set. The event handler
is a utility virtual function that sends the event over all sinks,
so that gst_element_send_event (bin, event); has the expected
behaviour.
* gst/gstpad.c: (gst_pad_event_default):
Re-install default event handling for discontinuities, so that
seeking works without requiring hacks in applications or extra
code in sinks.
* gst/gstpipeline.c: (gst_pipeline_class_init),
(gst_pipeline_send_event):
Half hack, half utility: set a pipeline to PAUSED for seek events,
since that is the only way we can guarantee a/v sync. Means that
you can do gst_element_seek (pipeline, method, pos); on a pipeline
and it "just works".

19 years agogst/gstpipeline.c: Lock/unlock mismatch.
Ronald S. Bultje [Fri, 25 Mar 2005 09:35:01 +0000 (09:35 +0000)]
gst/gstpipeline.c: Lock/unlock mismatch.

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_use_clock):
Lock/unlock mismatch.

19 years agodocs/faq/gst-uninstalled: add gst-plugins-base
Thomas Vander Stichele [Fri, 25 Mar 2005 00:35:44 +0000 (00:35 +0000)]
docs/faq/gst-uninstalled: add gst-plugins-base

Original commit message from CVS:
* docs/faq/gst-uninstalled:
add gst-plugins-base
* docs/gst/Makefile.am:
don't error out until docs are fixed
* docs/gst/gstreamer.types:
remove thread

19 years agoActivated more tests.
Wim Taymans [Tue, 22 Mar 2005 14:23:49 +0000 (14:23 +0000)]
Activated more tests.

Original commit message from CVS:
* check/Makefile.am:
* check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
* gst/gststructure.c: (gst_structure_set_valist),
(gst_structure_copy_conditional):
Activated more tests.
Added message test.
Added G_TYPE_POINTER to GstStructure.

19 years agoDocs updates
Wim Taymans [Tue, 22 Mar 2005 11:32:59 +0000 (11:32 +0000)]
Docs updates

Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbin.txt:
* docs/design/part-gstbus.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* gst/gstbus.c:
* gst/gstmessage.c:
Docs updates

19 years agogst/gstbus.c: Fix copy-and-paste error.
Wim Taymans [Mon, 21 Mar 2005 18:17:57 +0000 (18:17 +0000)]
gst/gstbus.c: Fix copy-and-paste error.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_post):
Fix copy-and-paste error.

19 years agoNext big merge.
Wim Taymans [Mon, 21 Mar 2005 17:34:02 +0000 (17:34 +0000)]
Next big merge.

Original commit message from CVS:
Next big merge.
Added GstBus for mainloop integration.
Added GstMessage for sending notifications on the bus.
Added GstTask as an abstraction for pipeline entry points.
Removed GstThread.
Removed Schedulers.
Simplified GstQueue for multithreaded core.
Made _link threadsafe, removed old capsnego.
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
Added pad blocking functions.
Reworked scheduling functions in GstPad to prepare for
scheduling updates soon.
Moved events out of data stream.
Simplified GstEvent types.
Added return values to push/pull.
Removed clocking from GstElement.
Added prototypes for state change function for next merge.
Removed iterate from bins and state change management.
Fixed some elements, disabled others for now.
Fixed -inspect and -launch.
Added check for GstBus.

19 years agoDoc updates.
Wim Taymans [Thu, 10 Mar 2005 12:51:45 +0000 (12:51 +0000)]
Doc updates.

Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-clocks.txt:
* docs/design/part-gstelement.txt:
* docs/design/part-gstobject.txt:
* docs/design/part-standards.txt:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
(gst_bin_remove_func), (gst_bin_remove):
* gst/gstbin.h:
* gst/gstbuffer.c:
* gst/gstcaps.h:
* testsuite/clock/clock1.c: (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
(main):
* testsuite/dlopen/loadgst.c: (do_test):
* testsuite/refcounting/bin.c: (add_remove_test1),
(add_remove_test2), (main):
* testsuite/refcounting/element.c: (main):
* testsuite/refcounting/element_pad.c: (main):
* testsuite/refcounting/pad.c: (main):
* tools/gst-launch.c: (sigint_handler_sighandler):
* tools/gst-typefind.c: (main):
Doc updates.
Added doc about clock.
removed gst_bin_iterate_recurse_up(), marked methods
for removal.
Fix more testsuites.

19 years agoFix _pad_get_direction wrt ghostpads.
Wim Taymans [Wed, 9 Mar 2005 17:28:52 +0000 (17:28 +0000)]
Fix _pad_get_direction wrt ghostpads.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_direction),
(_gst_pad_default_fixate_foreach), (gst_pad_collectv),
(gst_pad_collect_valist):
* testsuite/bins/interface.c: (main):
* testsuite/caps/audioscale.c: (test_caps):
* testsuite/caps/caps.c: (test1), (test2), (test3):
* testsuite/caps/deserialize.c: (main):
* testsuite/caps/enumcaps.c: (main):
* testsuite/caps/filtercaps.c: (main):
* testsuite/caps/intersect2.c: (main):
* testsuite/caps/random.c: (main):
* testsuite/caps/renegotiate.c: (my_fixate), (main):
* testsuite/caps/sets.c: (check_caps):
* testsuite/caps/simplify.c: (check_caps), (main):
* testsuite/caps/subtract.c: (check_caps):
Fix _pad_get_direction wrt ghostpads.
Fix caps testsuite.

19 years agoAdded GstBin test.
Wim Taymans [Wed, 9 Mar 2005 16:10:59 +0000 (16:10 +0000)]
Added GstBin test.

Original commit message from CVS:
Added GstBin test.
Added GstSystemClock test.
Implemented clock distribution code in GstBin.
Implemented iterate sinks method for future use.
Rearranged gstelement.h
Fix GstIterator comparison bug.
Moved some code to GstPipeline, mostly clocking related.

19 years agoBump version number, we're now 0.9.0
Wim Taymans [Wed, 9 Mar 2005 11:08:18 +0000 (11:08 +0000)]
Bump version number, we're now 0.9.0

Original commit message from CVS:
* configure.ac:
* gst/gst_private.h:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
(gst_bin_remove_func), (gst_bin_remove),
(gst_bin_get_by_name_recurse_up):
* gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
(gst_clock_id_compare_func), (gst_clock_id_wait),
(gst_clock_id_wait_async), (gst_clock_init),
(gst_clock_adjust_unlocked), (gst_clock_get_time):
* gst/gstelement.h:
* gst/gstinfo.c: (_gst_debug_init):
* gst/gstobject.h:
* gst/gstpad.c: (_gst_pad_default_fixate_foreach),
(gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
* gst/gstpad.h:
Bump version number, we're now 0.9.0
Add future debugging category.
Fix NULL _unref() in _get_by_name_recurse_up
Rearrange gstpad.h.
Update some docs.

19 years agoRemove threadsafe properties. Fix elements because GObject complains when installing...
Wim Taymans [Tue, 8 Mar 2005 17:42:29 +0000 (17:42 +0000)]
Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se...

Original commit message from CVS:
Remove threadsafe properties. Fix elements because GObject
complains when installing a property before declaring a
set/get_property handler.
Rearrange gstelement.h file, use STATE macros for state locks.
Free mutexes in the finalize method instead of dispose.

19 years agoAdded parentage check.
Wim Taymans [Tue, 8 Mar 2005 15:57:15 +0000 (15:57 +0000)]
Added parentage check.

Original commit message from CVS:
* check/gst/gstobject.c: (START_TEST), (gst_object_suite):
* gst/gstthread.c: (gst_thread_release_children_locks):
Added parentage check.
Fix build og GstThread again.

19 years agoDocs updates, clean up some headers.
Wim Taymans [Tue, 8 Mar 2005 14:38:06 +0000 (14:38 +0000)]
Docs updates, clean up some headers.

Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-conventions.txt:
* docs/design/part-gstobject.txt:
* docs/design/part-relations.txt:
* docs/design/part-standards.txt:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
(gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
(gst_bin_get_by_name), (gst_bin_get_by_interface),
(gst_bin_iterate_all_by_interface):
* gst/gstbuffer.h:
* gst/gstclock.h:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_change_state), (gst_element_set_loop_function):
* gst/gstelement.h:
* gst/gstiterator.c:
* gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
(gst_object_unref), (gst_object_sink), (gst_object_dispose),
(gst_object_dispatch_properties_changed), (gst_object_set_name),
(gst_object_set_parent), (gst_object_unparent),
(gst_object_check_uniqueness):
* gst/gstobject.h:
Docs updates, clean up some headers.
Free iterators in GstBin.
GstObject is now looking good.

19 years agocheck/: Added checks.
Wim Taymans [Mon, 7 Mar 2005 18:33:37 +0000 (18:33 +0000)]
check/: Added checks.

Original commit message from CVS:
* check/.cvsignore:
* check/Makefile.am:
* check/gst-libs/.cvsignore:
* check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
* check/gst/.cvsignore:
* check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
(START_TEST), (gstbus_suite), (main):
* check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
* check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
(gst_data_suite), (main):
* check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
(add_fold_func), (gstiterator_suite), (main):
* check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
(thread_name_object), (thread_name_object_default),
(gst_object_name_compare), (gst_object_suite), (main):
* check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
(gst_pad_suite), (main):
* check/gstcheck.c: (gst_check_log_message_func),
(gst_check_log_critical_func), (gst_check_init):
* check/gstcheck.h:
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
Added checks.

19 years agogst/gstiterator.*: Added missing files.
Wim Taymans [Mon, 7 Mar 2005 18:29:36 +0000 (18:29 +0000)]
gst/gstiterator.*: Added missing files.

Original commit message from CVS:
* gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
(gst_list_iterator_next), (gst_list_iterator_resync),
(gst_list_iterator_free), (gst_iterator_new_list),
(gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
(gst_iterator_free), (gst_iterator_push), (filter_next),
(filter_resync), (filter_uninit), (filter_free),
(gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
(gst_iterator_foreach), (find_custom_fold_func),
(gst_iterator_find_custom):
* gst/gstiterator.h:
Added missing files.

19 years agoFirst THREADED backport attempt, focusing on adding locks and making sure the API...
Wim Taymans [Mon, 7 Mar 2005 18:27:42 +0000 (18:27 +0000)]
First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...

Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.

19 years agoanother no-debug build fix
Thomas Vander Stichele [Fri, 25 Feb 2005 00:10:05 +0000 (00:10 +0000)]
another no-debug build fix

Original commit message from CVS:
another no-debug build fix

19 years agodisable debug build fix
Thomas Vander Stichele [Thu, 24 Feb 2005 23:41:57 +0000 (23:41 +0000)]
disable debug build fix

Original commit message from CVS:
disable debug build fix

19 years agotests/: New files, good for running complexity benchmarks.
Andy Wingo [Thu, 24 Feb 2005 17:12:19 +0000 (17:12 +0000)]
tests/: New files, good for running complexity benchmarks.

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

* tests/bench-complexity.scm:
* tests/complexity.gnuplot: New files, good for running complexity
benchmarks.

19 years agotests/: New test, sets up N elements, at each level teeing into M streams per element...
Andy Wingo [Thu, 24 Feb 2005 15:36:22 +0000 (15:36 +0000)]
tests/: New test, sets up N elements, at each level teeing into M streams per element. Eeeenteresting.

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

* tests/Makefile.am:
* tests/complexity.c: New test, sets up N elements, at each level
teeing into M streams per element. Eeeenteresting.

19 years agotests/mass_elements.gnuplot: gnuplot file for the mass_elements benchmark. Run as...
Andy Wingo [Thu, 24 Feb 2005 12:31:12 +0000 (12:31 +0000)]
tests/mass_elements.gnuplot: gnuplot file for the mass_elements benchmark. Run as gnuplot mass_elements.gnuplot > foo...

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

* tests/mass_elements.gnuplot: gnuplot file for the mass_elements
benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
running bench-mass_elements.scm.

* tests/bench-mass_elements.scm: New script, runs mass_elements
for various numbers of identities, outputting the results to a
file. Requires guile 1.6. Just for testing.