platform/upstream/gstreamer.git
18 years agoTest that removing probes from within the probe functions works.
Andy Wingo [Wed, 21 Sep 2005 13:24:33 +0000 (13:24 +0000)]
Test that removing probes from within the probe functions works.

Original commit message from CVS:
(test_buffer_probe_once): Test that removing probes from within
the probe functions works.

18 years agocheck/gst/gstutils.c (test_buffer_probe_n_times): Add tests for data and event probes...
Andy Wingo [Wed, 21 Sep 2005 13:11:22 +0000 (13:11 +0000)]
check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for data and event probes on the same pad.

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

* check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
data and event probes on the same pad.

18 years agocheck/gst/gstutils.c: New file.
Andy Wingo [Wed, 21 Sep 2005 12:21:10 +0000 (12:21 +0000)]
check/gst/gstutils.c: New file.

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

* check/gst/gstutils.c: New file.
(test_buffer_probe_n_times): A simple buffer probe test. More to
come, foolios.

* gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
have-data::buffer, not have-data.
(gst_pad_add_event_probe): Likewise for have-data::event.
(gst_pad_add_data_probe): More docs. The part about 'resolving the
peer' isn't quite right yet though.
(gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
(gst_pad_remove_data_probe): Change to take the guint handler_id
as their arg, not the function+data, which is more glib-like.

* gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
the signal emission to indicate if the data is a buffer or an
event.
(gst_pad_get_type): Initialize buffer and event quarks.
(gst_pad_class_init): have-data is now a detailed signal, yes it
is.

18 years agogst/: Don't put functional code in g_return_if_fail() or g_return_val_if_fail() state...
Tim-Philipp Müller [Wed, 21 Sep 2005 11:52:04 +0000 (11:52 +0000)]
gst/: Don't put functional code in g_return_if_fail() or g_return_val_if_fail() statements, otherwise things will bre...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
* gst/gstutils.c: (gst_util_set_value_from_string),
(gst_util_set_object_arg):
Don't put functional code in g_return_if_fail() or
g_return_val_if_fail() statements, otherwise things will
break when G_DISABLE_CHECKS is defined during compilation.

18 years agoinlied another one and added some obvious docs
Stefan Kost [Wed, 21 Sep 2005 09:48:40 +0000 (09:48 +0000)]
inlied another one and added  some obvious docs

Original commit message from CVS:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstvalue.sgml:
* gst/gstvalue.c:
* gst/gstvalue.h:
inlied another one and added  some obvious docs

18 years agogst/elements/gstfdsrc.*: Properly implement fdsrc. Removed signal and timeout, better...
Wim Taymans [Wed, 21 Sep 2005 09:13:32 +0000 (09:13 +0000)]
gst/elements/gstfdsrc.*: Properly implement fdsrc. Removed signal and timeout, better implemented somewhere else.

Original commit message from CVS:
* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
(gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
(gst_fdsrc_unlock), (gst_fdsrc_set_property),
(gst_fdsrc_get_property), (gst_fdsrc_create):
* gst/elements/gstfdsrc.h:
Properly implement fdsrc. Removed signal and timeout,
better implemented somewhere else.

18 years agoinlined more docs
Stefan Kost [Wed, 21 Sep 2005 08:58:48 +0000 (08:58 +0000)]
inlined more docs

Original commit message from CVS:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstimplementsinterface.sgml:
* gst/gstinterface.c:
inlined more docs

18 years agodocs/gst/: remove obsolete doc file
Stefan Kost [Wed, 21 Sep 2005 08:40:55 +0000 (08:40 +0000)]
docs/gst/: remove obsolete doc file

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstenumtypes.sgml:
remove obsolete doc file

18 years agogst/gstelementfactory.c: Drink a little beer, fix a little leak.
David Schleef [Wed, 21 Sep 2005 07:37:02 +0000 (07:37 +0000)]
gst/gstelementfactory.c: Drink a little beer, fix a little leak.

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_make): Drink a
little beer, fix a little leak.

18 years agoremove files
Stefan Kost [Tue, 20 Sep 2005 20:54:37 +0000 (20:54 +0000)]
remove files

Original commit message from CVS:
remove files

18 years agomore docs inlined, splitted gstindex.{c,h}
Stefan Kost [Tue, 20 Sep 2005 20:40:00 +0000 (20:40 +0000)]
more docs inlined, splitted gstindex.{c,h}

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* gst/Makefile.am:
* gst/gst.h:
* gst/gstbin.c:
* gst/gstelement.h:
* gst/gstindex.c: (gst_index_class_init):
* gst/gstindex.h:
* gst/gstindexfactory.c: (gst_index_factory_get_type),
(gst_index_factory_class_init), (gst_index_factory_init),
(gst_index_factory_finalize), (gst_index_factory_new),
(gst_index_factory_destroy), (gst_index_factory_find),
(gst_index_factory_create), (gst_index_factory_make):
* gst/gstindexfactory.h:
* gst/gstpluginfeature.c:
* gst/gstpluginfeature.h:
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
more docs inlined, splitted gstindex.{c,h}

18 years agofix a leak in controller
Thomas Vander Stichele [Tue, 20 Sep 2005 20:19:52 +0000 (20:19 +0000)]
fix a leak in controller

Original commit message from CVS:
fix a leak in controller

18 years agogst/elements/gstfilesink.c: Set sync to FALSE by default.
Tim-Philipp Müller [Tue, 20 Sep 2005 19:16:43 +0000 (19:16 +0000)]
gst/elements/gstfilesink.c: Set sync to FALSE by default.

Original commit message from CVS:
* gst/elements/gstfilesink.c: (gst_file_sink_init):
Set sync to FALSE by default.

18 years agogst/base/gstbasesink.c: Make sync property settable from subclass.
Wim Taymans [Tue, 20 Sep 2005 17:38:51 +0000 (17:38 +0000)]
gst/base/gstbasesink.c: Make sync property settable from subclass.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init):
Make sync property settable from subclass.

* gst/elements/gstfakesink.c: (gst_fake_sink_init),
(gst_fake_sink_change_state):
Set sync to FALSE by default.

18 years agoThe timeout handler should have lower priority than the source so we don't timeout...
Wim Taymans [Tue, 20 Sep 2005 17:30:35 +0000 (17:30 +0000)]
The timeout handler should have lower priority than the source so we don't timeout before popping a message with 0 ti...

Original commit message from CVS:
* gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
* tools/gst-launch.c: (main):
The timeout handler should have lower priority than the source
so we don't timeout before popping a message with 0 timeout.
Dump error messages after failed state change.

18 years agotools/gst-inspect.c: Fix two typos.
Tim-Philipp Müller [Tue, 20 Sep 2005 17:21:13 +0000 (17:21 +0000)]
tools/gst-inspect.c: Fix two typos.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Fix two typos.

18 years agoremove the sync property from fakesink.
Thomas Vander Stichele [Tue, 20 Sep 2005 15:45:42 +0000 (15:45 +0000)]
remove the sync property from fakesink.

Original commit message from CVS:

* check/gst/gstevent.c:
* gst/elements/gstfakesink.c:
* gst/elements/gstfakesink.h:
remove the sync property from fakesink.
has the side effect of setting sync TRUE
for fakesink, which is a change.  Anyone who knows how
to fix this nicely in a GObject-y way, feel free.

18 years agodocs/gst/gstreamer-docs.sgml: remove probe refsection
Stefan Kost [Tue, 20 Sep 2005 15:19:08 +0000 (15:19 +0000)]
docs/gst/gstreamer-docs.sgml: remove probe refsection

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
remove probe refsection

18 years agocheck/Makefile.am: disable valgrinding the controller test again
Stefan Kost [Tue, 20 Sep 2005 12:50:23 +0000 (12:50 +0000)]
check/Makefile.am: disable valgrinding the controller test again

Original commit message from CVS:
* check/Makefile.am:
disable valgrinding the controller test again
* docs/gst/gstreamer-sections.txt:
update for api-changes

18 years agogst/base/gstbasesink.*: Added sync property to basesink to disable clock sync.
Wim Taymans [Tue, 20 Sep 2005 12:05:47 +0000 (12:05 +0000)]
gst/base/gstbasesink.*: Added sync property to basesink to disable clock sync.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_set_property), (gst_base_sink_get_property),
(gst_base_sink_do_sync):
* gst/base/gstbasesink.h:
Added sync property to basesink to disable clock sync.

18 years agogst/gstelementfactory.c (gst_element_factory_create): Avoid eating the caller's refcount.
Andy Wingo [Tue, 20 Sep 2005 11:09:50 +0000 (11:09 +0000)]
gst/gstelementfactory.c (gst_element_factory_create): Avoid eating the caller's refcount.

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

* gst/gstelementfactory.c (gst_element_factory_create): Avoid
eating the caller's refcount.

* gst/gstobject.h (GST_OBJECT_REFCOUNT)
(GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
refcount.

* gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
* configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
of GLib 2.8 public, so we can know which refcount to check in
tests.

* gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
(gst_object_init): Only set the gst refcount if we're going ahead
with the refcount hack.

18 years agomore leaks plumbed, added more debug-logging
Stefan Kost [Tue, 20 Sep 2005 10:41:03 +0000 (10:41 +0000)]
more leaks plumbed, added more debug-logging

Original commit message from CVS:
* check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
more leaks plumbed, added more debug-logging
* gst/gstmacros.h:
whitespace fix

18 years agoremove include of removed header
Thomas Vander Stichele [Tue, 20 Sep 2005 09:47:13 +0000 (09:47 +0000)]
remove include of removed header

Original commit message from CVS:
remove include of removed header

18 years agogst/gstclock.c: Commit from the Political Party For More Atomic CVS Commits, so that...
Thomas Vander Stichele [Tue, 20 Sep 2005 09:28:56 +0000 (09:28 +0000)]
gst/gstclock.c: Commit from the Political Party For More Atomic CVS Commits, so that people don't waste too much of t...

Original commit message from CVS:
* gst/gstclock.c: (_gst_clock_id_free):
Commit from the Political Party For More Atomic CVS Commits,
so that people don't waste too much of their day fishing
out obvious leaks out of massive commits.
Oh, and fix a pretty damn obvious leak in the memchunk
removal code.

18 years agocheck/: plug mem-leak, re-add to valgrindable tests
Stefan Kost [Tue, 20 Sep 2005 09:23:39 +0000 (09:23 +0000)]
check/: plug mem-leak, re-add to valgrindable tests

Original commit message from CVS:
* check/Makefile.am:
* check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
plug mem-leak, re-add to valgrindable tests

18 years agounbreak the build for those who have chronic arthritis and typing "make check" is...
Thomas Vander Stichele [Tue, 20 Sep 2005 09:08:25 +0000 (09:08 +0000)]
unbreak the build for those who have chronic arthritis and typing "make check" is just too taxing on the hands

Original commit message from CVS:
unbreak the build for those who have chronic arthritis
and typing "make check" is just too taxing on the hands

18 years agogst/gst.h: Re-add marshal to gst.h's include list -- if we really want it out, you...
Andy Wingo [Tue, 20 Sep 2005 08:25:32 +0000 (08:25 +0000)]
gst/gst.h: Re-add marshal to gst.h's include list -- if we really want it out, you should fix plugins at the same time.

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

* gst/gst.h: Re-add marshal to gst.h's include list -- if we
really want it out, you should fix plugins at the same time.

18 years agoadded missing symbols to api docs disable ref-count hack if we have glib >= 2.8
Stefan Kost [Tue, 20 Sep 2005 07:32:48 +0000 (07:32 +0000)]
added missing symbols to api docs disable ref-count hack if we have glib >= 2.8

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/gstobject.c:
added missing symbols to api docs
disable ref-count hack if we have glib >= 2.8

18 years agodocs/gst/Makefile.am: Ignore a few more internal headers
David Schleef [Tue, 20 Sep 2005 06:28:33 +0000 (06:28 +0000)]
docs/gst/Makefile.am: Ignore a few more internal headers

Original commit message from CVS:
* docs/gst/Makefile.am: Ignore a few more internal headers
* docs/gst/gstreamer-docs.sgml: Remove old sections
* docs/gst/gstreamer-sections.txt: Remove old sections
* docs/gst/tmpl/gstobject.sgml: update
* docs/gst/tmpl/gstplugin.sgml: update
* docs/gst/tmpl/gstpluginfeature.sgml: update
* docs/random/ds/0.9-suggested-changes: update.
* gst/Makefile.am: remove memchunk and trashstack, since they're
not used.
* gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
* gst/gst.h: don't include some headers
* gst/gstchildproxy.c: add gstmarshal.h
* gst/gstclock.c: Don't use memchunks
* gst/gstminiobject.c: Add some docs
* gst/gstobject.c: remove DESTROYED flag, since it's redundant
* gst/gstobject.h: same
* gst/gstplugin.c: include gstmacros.h
* gst/gstplugin.h: don't include gstmacros.h, since it's private
* gst/gstquery.c: don't use memchunks
* gst/gstregistry.c: rename gst_registry_deinit()
* gst/gstregistry.h: same

18 years agodocs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
David Schleef [Tue, 20 Sep 2005 05:13:30 +0000 (05:13 +0000)]
docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits

Original commit message from CVS:
* docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/tmpl/gstgetbits.sgml:
* docs/libs/tmpl/gstputbits.sgml:

18 years agocheck/generic/states.c: Add a sleep to ensure elements have a chance to start their...
Jan Schmidt [Tue, 20 Sep 2005 00:27:37 +0000 (00:27 +0000)]
check/generic/states.c: Add a sleep to ensure elements have a chance to start their pad tasks before shutdown. Reduce...

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST), (states_suite):
Add a sleep to ensure elements have a chance to start their
pad tasks before shutdown. Reduces racy test results.

* gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
Time out the select every now and then to check for shutdown.

18 years agowin32/gstenumtypes.*: Update.
Tim-Philipp Müller [Mon, 19 Sep 2005 20:01:45 +0000 (20:01 +0000)]
win32/gstenumtypes.*: Update.

Original commit message from CVS:
* win32/gstenumtypes.c:
* win32/gstenumtypes.h:
Update.

18 years agogst/gstpipeline.c: Automatically PAUSE and RESUME a pipeline when a flushing seek...
Wim Taymans [Mon, 19 Sep 2005 16:32:44 +0000 (16:32 +0000)]
gst/gstpipeline.c: Automatically PAUSE and RESUME a pipeline when a flushing seek is performed.

Original commit message from CVS:
* gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
Automatically PAUSE and RESUME a pipeline when a flushing seek
is performed.
Removed old files.

18 years agowhitespace fix
Thomas Vander Stichele [Mon, 19 Sep 2005 16:28:58 +0000 (16:28 +0000)]
whitespace fix

Original commit message from CVS:
whitespace fix

18 years agogst/gstregistry.h: Spacing fixen.
Andy Wingo [Mon, 19 Sep 2005 15:12:25 +0000 (15:12 +0000)]
gst/gstregistry.h: Spacing fixen.

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

* gst/gstregistry.h: Spacing fixen.

18 years agogst/base/gstbasesrc.c: Handle state change failure more correctly.
Wim Taymans [Mon, 19 Sep 2005 14:55:26 +0000 (14:55 +0000)]
gst/base/gstbasesrc.c: Handle state change failure more correctly.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_change_state):
Handle state change failure more correctly.

18 years agocheck/: enable cleanup again after fixing the leak
Thomas Vander Stichele [Mon, 19 Sep 2005 14:41:57 +0000 (14:41 +0000)]
check/: enable cleanup again after fixing the leak

Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/cleanup.c: (run_pipeline):
* check/pipelines/simple_launch_lines.c: (run_pipeline),
(GST_START_TEST):
enable cleanup again after fixing the leak
* docs/README:
some more info on docs

18 years agodon't complain about my ARM .so files. Another reason why it does make sense to...
Thomas Vander Stichele [Mon, 19 Sep 2005 14:20:37 +0000 (14:20 +0000)]
don't complain about my ARM .so files.  Another reason why it does make sense to have plugins follow a standard file ...

Original commit message from CVS:
don't complain about my ARM .so files.  Another reason why it does make sense
to have plugins follow a standard file name pattern like libgst(whatever).so

18 years agocheck/Makefile.am: re-enable tests now that leaks are plugged
Thomas Vander Stichele [Mon, 19 Sep 2005 14:09:54 +0000 (14:09 +0000)]
check/Makefile.am: re-enable tests now that leaks are plugged

Original commit message from CVS:
* check/Makefile.am:
re-enable tests now that leaks are plugged
* check/gst/gst.c:
* check/gst/gstbin.c:
* check/gst/gstpipeline.c:
add some more tests while fixing leaks
* common/check.mak:
make sure binaries are uptodate when valgrinding/gdbing
* gst/gst.c:
* gst/gstelementfactory.c:
remove a ref too many, and add a FIXME for when we get
round to disposing of classes
* gst/gstplugin.c:
fix the refcounting when loading a plugin from a file and
the code pretends that the pointer is the same even though
of course it can change
* gst/gstpluginfeature.c:
unref plugins marked cached (a bit confusing as a name)
as the docs state should be done
various doc additions to explain refcounting
* gst/gstregistry.c:
* gst/gstregistryxml.c:
debugging

18 years agoupdate spec file
Christian Schaller [Mon, 19 Sep 2005 14:09:37 +0000 (14:09 +0000)]
update spec file

Original commit message from CVS:
update spec file

18 years agoGstBusHandler -> GstBusFunc, return value has the same meaning as any other GSource...
Wim Taymans [Mon, 19 Sep 2005 11:18:03 +0000 (11:18 +0000)]
GstBusHandler -> GstBusFunc, return value has the same meaning as any other GSource (FALSE == remove source).

Original commit message from CVS:
* check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
* check/gst/gstbus.c: (message_func_eos), (message_func_app),
(send_messages), (GST_START_TEST), (gstbus_suite):
* check/gst/gstpipeline.c: (GST_START_TEST):
* check/pipelines/cleanup.c: (run_pipeline):
* check/pipelines/simple_launch_lines.c: (run_pipeline),
(GST_START_TEST):
* gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
(gst_bus_source_check), (gst_bus_source_dispatch),
(gst_bus_create_watch), (gst_bus_add_watch_full),
(gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
* gst/gstbus.h:
* tools/gst-launch.c: (event_loop):
* tools/gst-md5sum.c: (event_loop):
GstBusHandler -> GstBusFunc, return value has the same meaning as
any other GSource (FALSE == remove source).
_add_watch() and _add_watch_full() now take a MessageType mask to
only handle specific types of messages.
_poll() returns the GstMessage instead of the message type to avoid
race conditions.
_have_pending() takes a MessageType mask now too.
Added testsuite for multiple bus watches.
Fix testsuites and applications for new bus API.

18 years agomark a bunch of the tests as to fix until we fix them
Thomas Vander Stichele [Sun, 18 Sep 2005 22:15:23 +0000 (22:15 +0000)]
mark a bunch of the tests as to fix until we fix them

Original commit message from CVS:
mark a bunch of the tests as to fix until we fix them

18 years agocommon/check.mak: use GST_PLUGIN settings for valgrind tests as well, so we're valgri...
Thomas Vander Stichele [Sun, 18 Sep 2005 21:40:58 +0000 (21:40 +0000)]
common/check.mak: use GST_PLUGIN settings for valgrind tests as well, so we're valgrinding the correct thing

Original commit message from CVS:

* common/check.mak:
use GST_PLUGIN settings for valgrind tests as well, so we're
valgrinding the correct thing
* gst/gst.c: (init_post):
plug another leak

18 years agovarious cleanups and memleak plugging. make valgrind is happy now.
Thomas Vander Stichele [Sun, 18 Sep 2005 21:24:55 +0000 (21:24 +0000)]
various cleanups and memleak plugging.  make valgrind is happy now.

Original commit message from CVS:
various cleanups and memleak plugging.  make valgrind is happy now.

18 years agoadd check-valgrind target
Thomas Vander Stichele [Sun, 18 Sep 2005 21:23:13 +0000 (21:23 +0000)]
add check-valgrind target

Original commit message from CVS:
add check-valgrind target

18 years agoloading a plugin can return NULL
Thomas Vander Stichele [Sun, 18 Sep 2005 09:15:10 +0000 (09:15 +0000)]
loading a plugin can return NULL

Original commit message from CVS:
loading a plugin can return NULL

18 years agotools/gst-inspect.c: Revert the GOption code.
David Schleef [Sun, 18 Sep 2005 07:41:28 +0000 (07:41 +0000)]
tools/gst-inspect.c: Revert the GOption code.

Original commit message from CVS:
* tools/gst-inspect.c: Revert the GOption code.

18 years agocheck/Makefile.am: Fix environment variables.
David Schleef [Sun, 18 Sep 2005 06:59:25 +0000 (06:59 +0000)]
check/Makefile.am: Fix environment variables.

Original commit message from CVS:
* check/Makefile.am: Fix environment variables.
* check/gst/gstplugin.c: Fix for API changes.
* tools/gst-inspect.c: Fix for API changes.
* tools/gst-xmlinspect.c: Fix for API changes.
* gst/gstelementfactory.c:
* gst/gstplugin.c:
* gst/gstplugin.h:
* gst/gstpluginfeature.c:
* gst/gstpluginfeature.h:
* gst/gstregistry.c:
* gst/gstregistry.h:
* gst/gstregistryxml.c:
* gst/gsttypefind.c:
* gst/gsttypefindfactory.c:
* gst/indexers/gstfileindex.c:
* gst/indexers/gstmemindex.c:
* gst/schedulers/Makefile.am:
Change registry to keep track of both plugins and features,
removing the feature tracking from plugins themselves.

18 years agoadd valgrind target; disable gstplugin until it passes
Thomas Vander Stichele [Sat, 17 Sep 2005 18:14:40 +0000 (18:14 +0000)]
add valgrind target; disable gstplugin until it passes

Original commit message from CVS:
add valgrind target; disable gstplugin until it passes

18 years agoadd valgrind target; disable gstplugin until it passes
Thomas Vander Stichele [Sat, 17 Sep 2005 18:11:27 +0000 (18:11 +0000)]
add valgrind target; disable gstplugin until it passes

Original commit message from CVS:
add valgrind target; disable gstplugin until it passes

18 years agoadd mising include
Thomas Vander Stichele [Fri, 16 Sep 2005 11:24:10 +0000 (11:24 +0000)]
add mising include

Original commit message from CVS:
add mising include

18 years agoset the right var
Thomas Vander Stichele [Fri, 16 Sep 2005 08:17:49 +0000 (08:17 +0000)]
set the right var

Original commit message from CVS:
set the right var

18 years agoremove gst-register
Thomas Vander Stichele [Fri, 16 Sep 2005 08:14:54 +0000 (08:14 +0000)]
remove gst-register

Original commit message from CVS:
remove gst-register

18 years agoGetting tired of debugging. Disabled all the unreffing of plugins and features,...
David Schleef [Fri, 16 Sep 2005 04:54:24 +0000 (04:54 +0000)]
Getting tired of debugging.  Disabled all the unreffing of plugins and features, which fixes the segfaults, but of co...

Original commit message from CVS:
* check/gst/gstplugin.c:
* gst/gstelementfactory.c:
* gst/gstplugin.c:
* gst/gstpluginfeature.c:
* gst/gstregistry.c:
Getting tired of debugging.  Disabled all the unreffing of
plugins and features, which fixes the segfaults, but of
course leaks like crazy.  At least playbin works.

18 years agocheck/gst/gstplugin.c: More testing
David Schleef [Fri, 16 Sep 2005 03:46:14 +0000 (03:46 +0000)]
check/gst/gstplugin.c: More testing

Original commit message from CVS:
* check/gst/gstplugin.c: (register_check_elements),
(GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
More testing
* gst/elements/gsttypefindelement.c: Fix refcounting.
* gst/gsttypefind.c:
* gst/gsttypefindfactory.c:
* gst/gsttypefindfactory.h:

18 years agounverbosify
Thomas Vander Stichele [Fri, 16 Sep 2005 00:37:51 +0000 (00:37 +0000)]
unverbosify

Original commit message from CVS:
unverbosify

18 years agosome whitespace to trigger a build
Thomas Vander Stichele [Fri, 16 Sep 2005 00:08:15 +0000 (00:08 +0000)]
some whitespace to trigger a build

Original commit message from CVS:
some whitespace to trigger a build

18 years agogst/gstindex.c: get refcounting correct.
David Schleef [Fri, 16 Sep 2005 00:02:27 +0000 (00:02 +0000)]
gst/gstindex.c: get refcounting correct.

Original commit message from CVS:
* gst/gstindex.c: get refcounting correct.
* gst/gstregistry.c: Handle the case where a feature/plugin is
not found.

18 years agocheck/: Add test
David Schleef [Thu, 15 Sep 2005 23:51:24 +0000 (23:51 +0000)]
check/: Add test

Original commit message from CVS:
* check/Makefile.am:
* check/gst/gstplugin.c: Add test
* gst/gstplugin.c: Fix problems noticed by testsuite
* gst/gstplugin.h:
* gst/gstregistry.c:
* gst/gstregistry.h:

18 years agogst/gstplugin.c: Implement semi-decent recounting and locking in plugins and plugin...
David Schleef [Thu, 15 Sep 2005 20:56:30 +0000 (20:56 +0000)]
gst/gstplugin.c: Implement semi-decent recounting and locking in plugins and plugin features.

Original commit message from CVS:
* gst/gstplugin.c: Implement semi-decent recounting and locking
in plugins and plugin features.
* gst/gstplugin.h:
* gst/gstpluginfeature.c:
* gst/gstpluginfeature.h:
* gst/gstregistry.c:

18 years agoImplement missing function. This is enough to get the basics of typefinding working...
Michael Smith [Thu, 15 Sep 2005 14:21:08 +0000 (14:21 +0000)]
Implement missing function. This is enough to get the basics of typefinding working - oggdemux succeeds now. decodebi...

Original commit message from CVS:
Implement missing function. This is enough to get the basics of
typefinding working - oggdemux succeeds now. decodebin is still broken.

18 years agoconfigure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug #316076)
David Schleef [Thu, 15 Sep 2005 05:58:37 +0000 (05:58 +0000)]
configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug #316076)

Original commit message from CVS:
* configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
#316076)
* gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
* gst/check/Makefile.am:
* libs/gst/controller/Makefile.am:
* libs/gst/dataprotocol/Makefile.am:

18 years agoconfigure.ac: Remove getbits library. Nothing uses it, and it should be in something...
David Schleef [Thu, 15 Sep 2005 05:48:30 +0000 (05:48 +0000)]
configure.ac: Remove getbits library.  Nothing uses it, and it should be in something like liboil if someone did want...

Original commit message from CVS:
* configure.ac: Remove getbits library.  Nothing uses it, and
it should be in something like liboil if someone did want
to use it.
* libs/gst/Makefile.am:
* libs/gst/getbits/Makefile.am:
* libs/gst/getbits/gbtest.c:
* libs/gst/getbits/getbits.c:
* libs/gst/getbits/getbits.h:
* libs/gst/getbits/gstgetbits_generic.c:
* libs/gst/getbits/gstgetbits_i386.s:
* libs/gst/getbits/gstgetbits_inl.h:

18 years agogst/Makefile.am: Dist glib-compat.h
David Schleef [Thu, 15 Sep 2005 05:42:13 +0000 (05:42 +0000)]
gst/Makefile.am: Dist glib-compat.h

Original commit message from CVS:
* gst/Makefile.am: Dist glib-compat.h

18 years agoconfigure.ac: Remove gst/registries, since it's no longer used.
David Schleef [Thu, 15 Sep 2005 03:20:49 +0000 (03:20 +0000)]
configure.ac: Remove gst/registries, since it's no longer used.

Original commit message from CVS:
* configure.ac: Remove gst/registries, since it's no longer used.
* gst/registries/Makefile.am:
* gst/registries/gstlibxmlregistry.c:
* gst/registries/gstlibxmlregistry.h:
* gst/registries/gstxmlregistry.c:
* gst/registries/gstxmlregistry.h:
* gst/registries/registrytest.c:

18 years agogst/: Convergence is near. Seriously.
David Schleef [Thu, 15 Sep 2005 01:38:33 +0000 (01:38 +0000)]
gst/: Convergence is near.  Seriously.

Original commit message from CVS:
* gst/glib-compat.h:
* gst/gstregistryxml.c:
Convergence is near.  Seriously.

18 years agogst/glib-compat.*: Attempt #4 to appease the buildbots.
David Schleef [Thu, 15 Sep 2005 01:34:52 +0000 (01:34 +0000)]
gst/glib-compat.*: Attempt #4 to appease the buildbots.

Original commit message from CVS:
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
* gst/glib-compat.h:
Attempt #4 to appease the buildbots.

18 years agogst/glib-compat.c: Attempt #3.
David Schleef [Thu, 15 Sep 2005 01:26:42 +0000 (01:26 +0000)]
gst/glib-compat.c: Attempt #3.

Original commit message from CVS:
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
Attempt #3.

18 years agogst/glib-compat.c: Attempt #2.
David Schleef [Thu, 15 Sep 2005 01:20:22 +0000 (01:20 +0000)]
gst/glib-compat.c: Attempt #2.

Original commit message from CVS:
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
Attempt #2.

18 years agogst/Makefile.am: Oh yeah, libgstreamer.so needs to contain the new functions.
David Schleef [Thu, 15 Sep 2005 01:14:17 +0000 (01:14 +0000)]
gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain the new functions.

Original commit message from CVS:
* gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
the new functions.

18 years agogst/glib-compat.*: Add some functions that are in newer versions of glib than we...
David Schleef [Thu, 15 Sep 2005 01:10:52 +0000 (01:10 +0000)]
gst/glib-compat.*: Add some functions that are in newer versions of glib than we care to require.

Original commit message from CVS:
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
* gst/glib-compat.h: Add some functions that are in newer versions
of glib than we care to require.
* gst/gstregistryxml.c: Use them.

18 years agopo/POTFILES.in: remove gst-register.c
David Schleef [Thu, 15 Sep 2005 00:48:45 +0000 (00:48 +0000)]
po/POTFILES.in: remove gst-register.c

Original commit message from CVS:
* po/POTFILES.in: remove gst-register.c

18 years agodocs/gst/: Documentation updates for registry changes.
David Schleef [Thu, 15 Sep 2005 00:42:03 +0000 (00:42 +0000)]
docs/gst/: Documentation updates for registry changes.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* docs/gst/tmpl/gstelement.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* docs/gst/tmpl/gstpluginfeature.sgml:
Documentation updates for registry changes.

18 years agogst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib, because we don't require...
David Schleef [Thu, 15 Sep 2005 00:35:11 +0000 (00:35 +0000)]
gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib, because we don't require glib-2.8.

Original commit message from CVS:
* gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
because we don't require glib-2.8.

18 years agogst/gstregistryxml.c: Added. Essentially moved out of the registries directory.
David Schleef [Thu, 15 Sep 2005 00:20:14 +0000 (00:20 +0000)]
gst/gstregistryxml.c: Added.  Essentially moved out of the registries directory.

Original commit message from CVS:
* gst/gstregistryxml.c: Added.  Essentially moved out of the
registries directory.

18 years agoremove
David Schleef [Thu, 15 Sep 2005 00:13:26 +0000 (00:13 +0000)]
remove

Original commit message from CVS:
* check/Makefile.am:
* check/generic/states.c:
* gst/Makefile.am:
* gst/gst.c:
* gst/gst.h:
* gst/gst_private.h:
* gst/gstelementfactory.c:
* gst/gstindex.c:
* gst/gstinfo.c:
* gst/gstplugin.c:
* gst/gstplugin.h:
* gst/gstpluginfeature.c:
* gst/gstpluginfeature.h:
* gst/gstregistry.c:
* gst/gstregistry.h:
* gst/gstregistrypool.c: remove
* gst/gstregistrypool.h: remove
* gst/gsttypefind.c:
* gst/gsttypefindfactory.c:
* gst/gsturi.c:
* tools/Makefile.am:
* tools/gst-compprep.c:
* tools/gst-inspect.c:
* tools/gst-register.c: remove
* tools/gst-xmlinspect.c:
Registry rewrite.  Changes registry from being a file created
by a tool into a simple cache file created automatically by
libgstreamer.  Removed gst-register (because it's no longer
needed).  Remove registry pools, because we only have one
registry implementation (XML).  Fix up other subsystems as
necessary.

18 years agowhoops, wrong commit
Thomas Vander Stichele [Wed, 14 Sep 2005 22:05:54 +0000 (22:05 +0000)]
whoops, wrong commit

Original commit message from CVS:
whoops, wrong commit

18 years agonotes on documenting elements and plugins
Thomas Vander Stichele [Wed, 14 Sep 2005 22:01:45 +0000 (22:01 +0000)]
notes on documenting elements and plugins

Original commit message from CVS:
notes on documenting elements and plugins

18 years agoRest of the fix for 316155: don't confuse MinGW when running glib-mkenums
Michael Smith [Wed, 14 Sep 2005 15:16:33 +0000 (15:16 +0000)]
Rest of the fix for 316155: don't confuse MinGW when running glib-mkenums

Original commit message from CVS:
Rest of the fix for 316155: don't confuse MinGW when running glib-mkenums

18 years agofile gst-typefind.vcproj was initially added on branch BRANCH-GSTREAMER-0_8.
Steve Lhomme [Tue, 13 Sep 2005 15:03:05 +0000 (15:03 +0000)]
file gst-typefind.vcproj was initially added on branch BRANCH-GSTREAMER-0_8.

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

18 years agoDon't use windows linking attributes in MinGW
Michael Smith [Tue, 13 Sep 2005 14:49:23 +0000 (14:49 +0000)]
Don't use windows linking attributes in MinGW

Original commit message from CVS:
Don't use windows linking attributes in MinGW

18 years agogst/gstutils.c: Apparently people think it's better if this function doesn't try...
Thomas Vander Stichele [Tue, 13 Sep 2005 11:00:44 +0000 (11:00 +0000)]
gst/gstutils.c: Apparently people think it's better if this function doesn't try to set the state to whatever state w...

Original commit message from CVS:

* gst/gstutils.c: (set_state_async_thread_func),
(gst_element_set_state_async):
Apparently people think it's better if this function doesn't
try to set the state to whatever state was asked for on the first
call to this function for any object.  Seriously.

18 years agoadd a gst_element_set_state_async method that sets the state and starts a thread...
Thomas Vander Stichele [Mon, 12 Sep 2005 18:14:03 +0000 (18:14 +0000)]
add a gst_element_set_state_async method that sets the state and starts a thread to make sure the state change comple...

Original commit message from CVS:
* check/gst/gstpipeline.c: (GST_START_TEST):
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.c: (set_state_async_thread_func),
(gst_element_set_state_async):
* gst/gstutils.h:
add a gst_element_set_state_async method that
sets the state and starts a thread to make sure the state
change completes as best as it can

18 years agocodify design+behaviour in testsuite after discussion
Thomas Vander Stichele [Mon, 12 Sep 2005 17:01:18 +0000 (17:01 +0000)]
codify design+behaviour in testsuite after discussion

Original commit message from CVS:
codify design+behaviour in testsuite after discussion

18 years agodocs/: add a quote
Thomas Vander Stichele [Mon, 12 Sep 2005 16:10:18 +0000 (16:10 +0000)]
docs/: add a quote

Original commit message from CVS:

* docs/gst/tmpl/gstelement.sgml:
* docs/manual/appendix-quotes.xml:
add a quote
* gst/gstelement.c: (gst_element_set_state):
add some debug

18 years agogst/: Remove the requirement for sub-classes to call the parent implementation of...
Jan Schmidt [Mon, 12 Sep 2005 13:45:04 +0000 (13:45 +0000)]
gst/: Remove the requirement for sub-classes to call the parent implementation of prepare_output_buffer with a wrappe...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
(gst_base_transform_prepare_output_buf),
(gst_base_transform_handle_buffer):
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
(gst_capsfilter_prepare_buf):
Remove the requirement for sub-classes to call the parent
implementation of prepare_output_buffer with a wrapper function.

* gst/gsttaglist.h:
* gst/gsttagsetter.h:
Fix #define wrapper

18 years agodocs/gst/gstreamer-sections.txt: more doc cleanups
Stefan Kost [Sun, 11 Sep 2005 19:22:23 +0000 (19:22 +0000)]
docs/gst/gstreamer-sections.txt: more doc cleanups

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
more doc cleanups

18 years agodoc build clean, hurray
Thomas Vander Stichele [Sun, 11 Sep 2005 13:07:25 +0000 (13:07 +0000)]
doc build clean, hurray

Original commit message from CVS:
doc build clean, hurray

18 years agovarious doc fixes
Thomas Vander Stichele [Sun, 11 Sep 2005 12:57:36 +0000 (12:57 +0000)]
various doc fixes

Original commit message from CVS:
various doc fixes

18 years agofix silly bug that caused build to fail when check is missing
Thomas Vander Stichele [Sun, 11 Sep 2005 12:02:02 +0000 (12:02 +0000)]
fix silly bug that caused build to fail when check is missing

Original commit message from CVS:
fix silly bug that caused build to fail when check is missing

18 years agodocs/gst/: rearrange gstvalue section
Thomas Vander Stichele [Sun, 11 Sep 2005 12:01:12 +0000 (12:01 +0000)]
docs/gst/: rearrange gstvalue section

Original commit message from CVS:

* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstvalue.sgml:
rearrange gstvalue section
* gst/gstutils.c: (gst_element_state_get_name):
NONE -> VOID
* gst/gstvalue.c: (_gst_value_initialize):
* gst/gstvalue.h:
doc updates

18 years agodebug fixes
Thomas Vander Stichele [Sun, 11 Sep 2005 11:57:08 +0000 (11:57 +0000)]
debug fixes

Original commit message from CVS:
debug fixes

18 years agocheck/gst-libs/controller.c: Header include fix.
Jan Schmidt [Fri, 9 Sep 2005 23:45:15 +0000 (23:45 +0000)]
check/gst-libs/controller.c: Header include fix.

Original commit message from CVS:
* check/gst-libs/controller.c:
Header include fix.
* gst/base/gstbasetransform.c:
(gst_base_transform_default_prepare_buf),
(gst_base_transform_handle_buffer):
* gst/base/gstbasetransform.h:
Some more basetransform changes and fixes to enable sub-classes
that modify buffer metadata only.
* gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
(gst_capsfilter_init), (gst_capsfilter_transform_ip),
(gst_capsfilter_prepare_buf):
If the output pad has fixed allowed caps and input buffers
don't have any, set the fixed caps on outgoing buffers.

18 years agoobject debugging is good
Thomas Vander Stichele [Fri, 9 Sep 2005 18:05:40 +0000 (18:05 +0000)]
object debugging is good

Original commit message from CVS:
object debugging is good

18 years agocheck/elements/identity.c: Make the error a little clearer when the test fails becaus...
Jan Schmidt [Fri, 9 Sep 2005 17:42:20 +0000 (17:42 +0000)]
check/elements/identity.c: Make the error a little clearer when the test fails because identity made a copy of the bu...

Original commit message from CVS:
* check/elements/identity.c: (GST_START_TEST):
Make the error a little clearer when the test fails because
identity made a copy of the buffer.
* docs/gst/gstreamer-sections.txt:
New symbols in gstbasetransform.h
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
(gst_base_transform_init), (gst_base_transform_transform_size),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_default_prepare_buf),
(gst_base_transform_get_unit_size),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
(gst_base_transform_change_state),
(gst_base_transform_set_passthrough),
(gst_base_transform_set_in_place),
(gst_base_transform_is_in_place):
* gst/base/gstbasetransform.h:
Change BaseTransform to separate in_place operate from same_caps
output. in_place implies that the element can perform the transform
on incoming buffers in-place, even if the caps on the output are
different.
Sub-class elements can now implement special buffer allocation
methods for outgoing buffers if they wish to.
Big documentation addition.
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
* gst/elements/gstelements.c:
Changes for basetransform modifications.
* gst/elements/Makefile.am:
* gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
Compile fix. Extra debug output.

18 years agofile gstcontrol.vcproj was initially added on branch BRANCH-GSTREAMER-0_8.
Steve Lhomme [Fri, 9 Sep 2005 15:19:24 +0000 (15:19 +0000)]
file gstcontrol.vcproj was initially added on branch BRANCH-GSTREAMER-0_8.

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

18 years agocheck/gst/gstpad.c: add tests for valid pad naming
Thomas Vander Stichele [Fri, 9 Sep 2005 14:34:43 +0000 (14:34 +0000)]
check/gst/gstpad.c: add tests for valid pad naming

Original commit message from CVS:

* check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
(gst_pad_suite):
add tests for valid pad naming
* gst/check/gstcheck.c: (gst_check_log_message_func),
(gst_check_log_critical_func):
add ASSERT_WARNING
remove printing of code, it is fragile when the code contains
% and the line number is enough info
* gst/check/gstcheck.h:
* gst/gstpad.c: (gst_pad_template_new):
fix memleaks

18 years agoand the changelog
Thomas Vander Stichele [Fri, 9 Sep 2005 13:28:06 +0000 (13:28 +0000)]
and the changelog

Original commit message from CVS:
and the changelog

18 years agoconfigure.ac: say what CHECK flags we use
Thomas Vander Stichele [Fri, 9 Sep 2005 13:26:54 +0000 (13:26 +0000)]
configure.ac: say what CHECK flags we use

Original commit message from CVS:

* configure.ac:
say what CHECK flags we use
* docs/libs/gstreamer-libs.types:
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gst-controller.c:
* libs/gst/controller/gst-controller.h:
* libs/gst/controller/gst-helper.c:
* libs/gst/controller/gst-interpolation.c:
* libs/gst/controller/gstcontroller.c:
* libs/gst/controller/gsthelper.c:
* libs/gst/controller/gstinterpolation.c:
* tools/gst-inspect.c: (print_plugin_info):
we don't use dashes in header names

18 years agocheck/: adding a test for pipelines and state changes
Thomas Vander Stichele [Fri, 9 Sep 2005 12:02:41 +0000 (12:02 +0000)]
check/: adding a test for pipelines and state changes

Original commit message from CVS:

* check/Makefile.am:
* check/gst/.cvsignore:
* check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
(gst_pipeline_suite), (main):
adding a test for pipelines and state changes
* gst/gstutils.c: (get_state_func):
add some debugging
* gstreamer.spec.in:
fix up spec file