platform/upstream/gstreamer.git
19 years agoRever to 1.80 version of this file as GstUtils is not as dead as it seemed
Christian Schaller [Mon, 5 Sep 2005 09:38:38 +0000 (09:38 +0000)]
Rever to 1.80 version of this file as GstUtils is not as dead as it seemed

Original commit message from CVS:
Rever to 1.80 version of this file as GstUtils is not as dead as it seemed

19 years agoremove GstUtils mention as it is now gone
Christian Schaller [Mon, 5 Sep 2005 09:23:44 +0000 (09:23 +0000)]
remove GstUtils mention as it is now gone

Original commit message from CVS:
remove GstUtils mention as it is now gone

19 years agoneed to add -lcheck to the pkgconfig file
Thomas Vander Stichele [Sun, 4 Sep 2005 11:01:44 +0000 (11:01 +0000)]
need to add -lcheck to the pkgconfig file

Original commit message from CVS:
need to add -lcheck to the pkgconfig file

19 years agofix for a critical when a module returns NULL on opening
Thomas Vander Stichele [Sat, 3 Sep 2005 17:36:20 +0000 (17:36 +0000)]
fix for a critical when a module returns NULL on opening

Original commit message from CVS:
fix for a critical when a module returns NULL on opening

19 years agoadd a source plugin description field, to represent the source module this plugin...
Thomas Vander Stichele [Sat, 3 Sep 2005 17:00:52 +0000 (17:00 +0000)]
add a source plugin description field, to represent the source module this plugin is a part of.  By default GST_PLUGI...

Original commit message from CVS:
add a source plugin description field, to represent the source
module this plugin is a part of.  By default GST_PLUGIN_DEFINE
will set it to PACKAGE, which is automake's idea of the name of
the source project.

19 years agofix distcheck
Thomas Vander Stichele [Sat, 3 Sep 2005 16:16:15 +0000 (16:16 +0000)]
fix distcheck

Original commit message from CVS:
fix distcheck

19 years agoenable docs build for distcheck
Thomas Vander Stichele [Sat, 3 Sep 2005 14:20:10 +0000 (14:20 +0000)]
enable docs build for distcheck

Original commit message from CVS:
enable docs build for distcheck

19 years agoremove old plugins docs
Thomas Vander Stichele [Sat, 3 Sep 2005 13:54:26 +0000 (13:54 +0000)]
remove old plugins docs

Original commit message from CVS:
remove old plugins docs

19 years agoclean up docs build a little; have docdir be an overridable install location; separat...
Thomas Vander Stichele [Sat, 3 Sep 2005 13:49:49 +0000 (13:49 +0000)]
clean up docs build a little; have docdir be an overridable install location; separate gtk-doc and docbook bits

Original commit message from CVS:
clean up docs build a little; have docdir be an overridable install location; separate gtk-doc and docbook bits

19 years agowhitespace cleanups
Thomas Vander Stichele [Fri, 2 Sep 2005 23:36:24 +0000 (23:36 +0000)]
whitespace cleanups

Original commit message from CVS:
whitespace cleanups

19 years agogst/base/gstbasesink.c: Add comment.
Tim-Philipp Müller [Fri, 2 Sep 2005 23:17:26 +0000 (23:17 +0000)]
gst/base/gstbasesink.c: Add comment.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
Add comment.
* gst/elements/gstfakesink.c: (gst_fake_sink_init),
(gst_fake_sink_change_state):
Make state change function thread-safe.
* gst/gstpad.c: (gst_pad_alloc_buffer):
Set offset on generic buffer allocated by fallback.

19 years agowhitespace fixes
Thomas Vander Stichele [Fri, 2 Sep 2005 23:03:36 +0000 (23:03 +0000)]
whitespace fixes

Original commit message from CVS:
whitespace fixes

19 years agorun the wingo-magic script against the docs
Stefan Kost [Fri, 2 Sep 2005 21:37:55 +0000 (21:37 +0000)]
run the wingo-magic script against the docs

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstelement.sgml:
* gst/gstpad.c:
* libs/gst/controller/gst-controller.c:
(gst_controlled_property_set_interpolation_mode),
(gst_controlled_property_new),
(gst_controller_find_controlled_property):
run the wingo-magic script against the docs

19 years agoremoved file again
Stefan Kost [Fri, 2 Sep 2005 18:36:09 +0000 (18:36 +0000)]
removed file again

Original commit message from CVS:
removed file again

19 years agomerged elementdetails docs into elementfactory docs inlined both
Stefan Kost [Fri, 2 Sep 2005 17:23:06 +0000 (17:23 +0000)]
merged elementdetails docs into elementfactory docs inlined both

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstelementdetails.sgml:
* docs/gst/tmpl/gstelementfactory.sgml:
* gst/gst.c:
* gst/gstbus.c:
* gst/gstelementfactory.c:
* gst/gstelementfactory.h:
merged elementdetails docs into elementfactory docs
inlined both

19 years agogst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum...
Andy Wingo [Fri, 2 Sep 2005 16:44:57 +0000 (16:44 +0000)]
gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags.

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

* gst/gstelement.h: Add magical pixie dust to make glib-mkenums
consider this enum an enum and not a flags.

19 years agomore docs inlined
Stefan Kost [Fri, 2 Sep 2005 16:17:23 +0000 (16:17 +0000)]
more docs inlined

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstghostpad.sgml:
* docs/gst/tmpl/gstiterator.sgml:
* docs/gst/tmpl/gstmacros.sgml:
* docs/gst/tmpl/gstrealpad.sgml:
* docs/gst/tmpl/gstregistry.sgml:
* docs/gst/tmpl/gstregistrypool.sgml:
* docs/gst/tmpl/gststructure.sgml:
* docs/gst/tmpl/gstsystemclock.sgml:
* docs/gst/tmpl/gsttrace.sgml:
* gst/gstghostpad.c:
* gst/gstmacros.h:
* gst/gstmemchunk.c:
* gst/gstmemchunk.h:
* gst/gstqueue.c:
* gst/gstregistry.c:
* gst/gstregistrypool.c:
* gst/gststructure.c:
* gst/gstsystemclock.c:
more docs inlined

19 years agogst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal...
Andy Wingo [Fri, 2 Sep 2005 15:42:00 +0000 (15:42 +0000)]
gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags.

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

* gst/gstelement.h (GstState): Renamed from GstElementState,
changed to be a normal enum instead of flags.
(GstStateChangeReturn): Renamed from GstElementStateReturn, names
munged to be GST_STATE_CHANGE_*.
(GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
work with the new state representation.
(GstStateChange): New enumeration of possible state transitions.
Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
(GstElementClass::change_state): Pass the GstStateChange along as
an argument. Helps language bindings, so they don't have to use
tricky lock-needing macros like GST_STATE_CHANGE ().

* scripts/update-states (file): New script. Run it on a file to
update it for state naming and API changes. Updates files in
place.

* All files updated for the new API.

19 years agoclean up spec some more
Thomas Vander Stichele [Fri, 2 Sep 2005 12:11:54 +0000 (12:11 +0000)]
clean up spec some more

Original commit message from CVS:
clean up spec some more

19 years agogst/: fix a bunch of unchecked return values
Thomas Vander Stichele [Fri, 2 Sep 2005 12:08:45 +0000 (12:08 +0000)]
gst/: fix a bunch of unchecked return values

Original commit message from CVS:

* gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
* gst/gstutils.c: (gst_util_set_value_from_string),
(gst_util_set_object_arg):
fix a bunch of unchecked return values
* tools/gst-complete.c: (main):
* gstreamer.spec.in:
clean up a little

19 years agoupdated .cvsignore
Stefan Kost [Thu, 1 Sep 2005 19:06:39 +0000 (19:06 +0000)]
updated .cvsignore

Original commit message from CVS:
updated .cvsignore

19 years agogst/base/gstbasesink.*: Handle newsegments more correctly.
Wim Taymans [Thu, 1 Sep 2005 18:12:18 +0000 (18:12 +0000)]
gst/base/gstbasesink.*: Handle newsegments more correctly.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_handle_event):
* gst/base/gstbasesink.h:
Handle newsegments more correctly.

* gst/gstbus.c:
Fix docs.

* gst/gstevent.c: (gst_event_new_newsegment):
A newsegment cannot have a start_time of -1

19 years agowin32/gstenumtypes.*: Update
Tim-Philipp Müller [Thu, 1 Sep 2005 16:53:14 +0000 (16:53 +0000)]
win32/gstenumtypes.*: Update

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

19 years agoRemove extraneous 'co' from cvs command in PWG, as reported on irc.
Michael Smith [Wed, 31 Aug 2005 21:01:35 +0000 (21:01 +0000)]
Remove extraneous 'co' from cvs command in PWG, as reported on irc.

Original commit message from CVS:
Remove extraneous 'co' from cvs command in PWG, as reported on irc.

19 years agolibs/gst/controller/gst-controller.c: fixed boolean again
Stefan Kost [Wed, 31 Aug 2005 18:45:41 +0000 (18:45 +0000)]
libs/gst/controller/gst-controller.c: fixed boolean again

Original commit message from CVS:
* libs/gst/controller/gst-controller.c:
(gst_controlled_property_set_interpolation_mode),
(gst_controlled_property_new):
fixed boolean again

19 years agodocs/faq/gst-uninstalled: add -good
Thomas Vander Stichele [Wed, 31 Aug 2005 15:27:55 +0000 (15:27 +0000)]
docs/faq/gst-uninstalled: add -good

Original commit message from CVS:

* docs/faq/gst-uninstalled:
add -good
* gst/gstevent.c:
* gst/gstevent.h:
remove wrong docs
* gst/gstutils.c: (gst_element_link_filtered):
* gst/gstutils.h:
add gst_element_link_filtered

19 years agoinlined more docs, fixed double id-ref
Stefan Kost [Wed, 31 Aug 2005 14:08:45 +0000 (14:08 +0000)]
inlined more docs, fixed double id-ref

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gsterror.sgml:
* docs/gst/tmpl/gstfilter.sgml:
* docs/gst/tmpl/gsturihandler.sgml:
* docs/gst/tmpl/gsturitype.sgml:
* docs/gst/tmpl/gstutils.sgml:
* docs/gst/tmpl/gstxml.sgml:
* gst/gsterror.c:
* gst/gsterror.h:
* gst/gstfilter.c:
* gst/gsturi.c:
* gst/gsturitype.c:
* gst/gstutils.c:
* gst/gstxml.c:
inlined more docs, fixed double id-ref

19 years agogst/base/gstbasetransform.c: Passthrough elements don't need the caps as they don...
Wim Taymans [Wed, 31 Aug 2005 13:53:39 +0000 (13:53 +0000)]
gst/base/gstbasetransform.c: Passthrough elements don't need the caps as they don't care.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
(gst_base_transform_handle_buffer):
Passthrough elements don't need the caps as they don't care.

19 years agogst/base/gstbasetransform.c: Don't leak refcounts on buffers.
Wim Taymans [Wed, 31 Aug 2005 13:50:40 +0000 (13:50 +0000)]
gst/base/gstbasetransform.c: Don't leak refcounts on buffers.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
(gst_base_transform_handle_buffer), (gst_base_transform_chain):
Don't leak refcounts on buffers.

19 years agogst/base/gstbasetransform.*: Handle the case where we are not negotiated more gracefully.
Wim Taymans [Wed, 31 Aug 2005 13:41:19 +0000 (13:41 +0000)]
gst/base/gstbasetransform.*: Handle the case where we are not negotiated more gracefully.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
(gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
(gst_base_transform_chain), (gst_base_transform_change_state):
* gst/base/gstbasetransform.h:
Handle the case where we are not negotiated more gracefully.

19 years agogst/elements/gstfilesrc.c: Set READONLY flag on mmap'ed buffers, otherwise gst_buffer...
Tim-Philipp Müller [Wed, 31 Aug 2005 12:55:54 +0000 (12:55 +0000)]
gst/elements/gstfilesrc.c: Set READONLY flag on mmap'ed buffers, otherwise gst_buffer_make_writable() won't work prop...

Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
(gst_file_src_map_region):
Set READONLY flag on mmap'ed buffers, otherwise
gst_buffer_make_writable() won't work properly (#314708).

19 years agogst/base/gstbasetransform.c: passthrough elements can even do inplace on non writable...
Wim Taymans [Wed, 31 Aug 2005 10:07:24 +0000 (10:07 +0000)]
gst/base/gstbasetransform.c: passthrough elements can even do inplace on non writable buffers (as they don't touch th...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
passthrough elements can even do inplace on non writable
buffers (as they don't touch them).

19 years agocheck/gst-libs/controller.c: more tests (hehe I have the most)
Stefan Kost [Wed, 31 Aug 2005 10:00:08 +0000 (10:00 +0000)]
check/gst-libs/controller.c: more tests (hehe I have the most)

Original commit message from CVS:
* check/gst-libs/controller.c: (gst_test_mono_source_get_property),
(gst_test_mono_source_set_property),
(gst_test_mono_source_class_init), (GST_START_TEST),
(gst_controller_suite):
more tests (hehe I have the most)
* gst/gstbus.c:
describe popping messages whenusing mulltiple sources
* libs/gst/controller/gst-controller.c:
(gst_controlled_property_set_interpolation_mode),
(gst_controlled_property_new):
* libs/gst/controller/gst-controller.h:
* libs/gst/controller/gst-interpolation.c:
implement boolean properties

19 years agogst/gstminiobject.c: Cannot assert that the refcount has to be positive since a dispo...
Wim Taymans [Wed, 31 Aug 2005 08:57:14 +0000 (08:57 +0000)]
gst/gstminiobject.c: Cannot assert that the refcount has to be positive since a disposed object can be resurected.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_ref):
Cannot assert that the refcount has to be positive
since a disposed object can be resurected.

19 years agogst/gstpad.c: Revert change, need to first fix badly behaving apps.
Wim Taymans [Wed, 31 Aug 2005 08:38:39 +0000 (08:38 +0000)]
gst/gstpad.c: Revert change, need to first fix badly behaving apps.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_init):
Revert change, need to first fix badly behaving
apps.

19 years agocheck/elements/: Activate pads before using them.
Wim Taymans [Tue, 30 Aug 2005 19:45:38 +0000 (19:45 +0000)]
check/elements/: Activate pads before using them.

Original commit message from CVS:
* check/elements/fakesrc.c: (setup_fakesrc):
* check/elements/identity.c: (setup_identity):
Activate pads before using them.

19 years agogst/base/gstadapter.c: Flushing out 0 bytes is ok for this function.
Wim Taymans [Tue, 30 Aug 2005 19:29:59 +0000 (19:29 +0000)]
gst/base/gstadapter.c: Flushing out 0 bytes is ok for this function.

Original commit message from CVS:
* gst/base/gstadapter.c: (gst_adapter_flush):
Flushing out 0 bytes is ok for this function.

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
no newsegment gives a warning and sets the start/stop to
invalid.

* gst/base/gstbasetransform.c: (gst_base_transform_change_state),
(gst_base_transform_set_passthrough):
Some debug info.

* gst/gstminiobject.c: (gst_mini_object_ref):
Check refcount here too.

* gst/gstpad.c: (gst_pad_init):
Pads are initially flushing and refusing data.

* gst/gstutils.c: (gst_element_link_pads_filtered):
When adding a capsfilter element make sure it has the
same state as the parent bin.

19 years agomore docs and two more inlined
Stefan Kost [Tue, 30 Aug 2005 17:23:19 +0000 (17:23 +0000)]
more docs and two more inlined

Original commit message from CVS:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstformat.sgml:
* docs/gst/tmpl/gstversion.sgml:
* gst/gstbus.h:
* gst/gstformat.c:
* gst/gstformat.h:
* gst/gstversion.h.in:
more docs and two more inlined

19 years agogst/elements/gstfilesink.c: Don't sync to clock.
Wim Taymans [Tue, 30 Aug 2005 17:12:33 +0000 (17:12 +0000)]
gst/elements/gstfilesink.c: Don't sync to clock.

Original commit message from CVS:
* gst/elements/gstfilesink.c: (gst_file_sink_class_init):
Don't sync to clock.

19 years agodocs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the docs...
Stefan Kost [Tue, 30 Aug 2005 08:17:48 +0000 (08:17 +0000)]
docs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the docs actualy

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
ultral33t func10ns deserve to appear in the docs actualy
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstcompat.sgml:
* docs/gst/tmpl/gstconfig.sgml:
* gst/check/gstcheck.c:
* gst/gstcompat.h:
* gst/gstconfig.h.in:
inlined more docs

19 years agoinlined and extended docs
Stefan Kost [Mon, 29 Aug 2005 21:41:02 +0000 (21:41 +0000)]
inlined and extended docs

Original commit message from CVS:
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstquery.sgml:
* docs/gst/tmpl/gstutils.sgml:
* gst/gstquery.c:
* gst/gstquery.h:
inlined and extended docs

19 years agocheck/gst-libs/controller.c: more tests
Stefan Kost [Mon, 29 Aug 2005 19:59:52 +0000 (19:59 +0000)]
check/gst-libs/controller.c: more tests

Original commit message from CVS:
* check/gst-libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
more tests
* docs/gst/tmpl/gstutils.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/tmpl/gstdataprotocol.sgml:
include path fixes
* examples/controller/audio-example.c: (main):
controller example works now
* gst/gstclock.h:
doc fixes
* tools/gst-inspect.c: (print_element_properties_info):
show param spec flags

19 years agogst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
Andy Wingo [Mon, 29 Aug 2005 16:10:36 +0000 (16:10 +0000)]
gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.

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

* gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.

19 years agoMinor updates to developer cvs instructions, to more closely match what the freedeskt...
Michael Smith [Mon, 29 Aug 2005 09:52:44 +0000 (09:52 +0000)]
Minor updates to developer cvs instructions, to more closely match what the freedesktop people want. Also, test my cv...

Original commit message from CVS:
Minor updates to developer cvs instructions, to more closely match what
the freedesktop people want. Also, test my cvs commit access...

19 years agogst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init as having two argument...
Andy Wingo [Sun, 28 Aug 2005 17:45:58 +0000 (17:45 +0000)]
gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init as having two arguments instead of just one. Allows su...

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

* gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
as having two arguments instead of just one. Allows superclasses
to access information on subclasses -- see the terrible for() loop
in gtype.c:g_type_create_instance for the reason why. All callers
changed.

19 years agodocs/design/part-messages.txt: update info
Stefan Kost [Sat, 27 Aug 2005 10:57:00 +0000 (10:57 +0000)]
docs/design/part-messages.txt: update info

Original commit message from CVS:
* docs/design/part-messages.txt:
update info
* docs/gst/tmpl/.cvsignore:
* docs/gst/tmpl/gstcaps.sgml:
* docs/gst/tmpl/gstclock.sgml:
* gst/gstbus.c:
* gst/gstcaps.c:
* gst/gstcaps.h:
* gst/gstclock.c:
* gst/gstclock.h:
* gst/gstmessage.c:
added descriptions for bus and message
inline caps and clock docs

19 years agogst/gstmessage.*: doc fixes
Stefan Kost [Fri, 26 Aug 2005 22:32:51 +0000 (22:32 +0000)]
gst/gstmessage.*: doc fixes

Original commit message from CVS:
* gst/gstmessage.c:
* gst/gstmessage.h:
doc fixes

19 years agogst/base/gstbasetransform.c: fix div-by-zero
Stefan Kost [Fri, 26 Aug 2005 21:23:51 +0000 (21:23 +0000)]
gst/base/gstbasetransform.c: fix div-by-zero

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
fix div-by-zero

19 years agocheck/pipelines/simple_launch_lines.c (run_pipeline): Check element_set_state's retur...
Andy Wingo [Fri, 26 Aug 2005 14:21:43 +0000 (14:21 +0000)]
check/pipelines/simple_launch_lines.c (run_pipeline): Check element_set_state's return val.

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

* check/pipelines/simple_launch_lines.c (run_pipeline): Check
element_set_state's return val.
(test_2_elements): Add test that's been disabled for months.

* gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
can-activate-pull properties.

* gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
can-activate-pull properties. Implement is_seekable so fakesrc can
operate in pull mode.

* gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
properties.
(gst_base_sink_activate, gst_base_sink_activate_pull)
(gst_base_sink_activate_push): Make activation mode choosing work.
Cleanups.
(gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
is right. Make pull mode work. Post an eos before pausing in pull
mode.
(gst_base_sink_change_state): Pay attention to the core's
change_state() return val.

* gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
has-getrange properties. Cleanups.

* gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
has_getrange and replace with can_activate_pull and
can_activate_push.

* gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
locking comments. Remove has_loop, has_chain and replace with
can_activate_pull and can_activate_push.

19 years agoAdd metadata reading example that loops over a list of filenames, dumping any tags...
Jan Schmidt [Fri, 26 Aug 2005 13:28:01 +0000 (13:28 +0000)]
Add metadata reading example that loops over a list of filenames, dumping any tags found.

Original commit message from CVS:
* configure.ac:
* examples/Makefile.am:
* examples/metadata/Makefile.am:
* examples/metadata/read-metadata.c: (message_loop),
(have_pad_handler), (make_pipeline), (print_tag), (main):
Add metadata reading example that loops over a list of filenames,
dumping any tags found.

* gst/gstbus.c: (gst_bus_dispose):
* gst/gstelement.c: (gst_element_dispose):
Release a few potentially-held references in dispose.

19 years agodocs/gst/tmpl/gstminiobject.sgml: do *not* add tmpl/*.sgml files to CVS!
Stefan Kost [Fri, 26 Aug 2005 13:21:47 +0000 (13:21 +0000)]
docs/gst/tmpl/gstminiobject.sgml: do *not* add tmpl/*.sgml files to CVS!

Original commit message from CVS:
* docs/gst/tmpl/gstminiobject.sgml:
do *not* add tmpl/*.sgml files to CVS!

19 years agolibs/gst/bytestream/: removing obsolete files
Stefan Kost [Fri, 26 Aug 2005 13:17:54 +0000 (13:17 +0000)]
libs/gst/bytestream/: removing obsolete files

Original commit message from CVS:
* libs/gst/bytestream/.cvsignore:
* libs/gst/bytestream/Makefile.am:
* libs/gst/bytestream/adapter.c:
* libs/gst/bytestream/adapter.h:
* libs/gst/bytestream/bytestream.c:
* libs/gst/bytestream/bytestream.h:
* libs/gst/bytestream/filepad.c:
* libs/gst/bytestream/filepad.h:
removing obsolete files

19 years agodocs/: disabed additional index entries again, as this makes docs-gen just slow and...
Stefan Kost [Fri, 26 Aug 2005 12:48:29 +0000 (12:48 +0000)]
docs/: disabed additional index entries again, as this makes docs-gen just slow and they aren't useful yet

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/libs/gstreamer-libs-docs.sgml:
disabed additional index entries again, as this makes docs-gen just
slow and they aren't useful yet
* docs/libs/gstreamer-libs-sections.txt:
little -section.txt cleanup for libs

19 years agogst/base/: fix up some debugging
Thomas Vander Stichele [Fri, 26 Aug 2005 11:56:11 +0000 (11:56 +0000)]
gst/base/: fix up some debugging

Original commit message from CVS:

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
* gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
fix up some debugging
(gst_base_transform_get_unit_size),
(gst_base_transform_buffer_alloc), (gst_base_transform_event),
(gst_base_transform_handle_buffer):
* gst/base/gstbasetransform.h:
handle and store timed NEWSEGMENT events so that subclasses that
calculate time by counting samples have a segment_start time they
need to add to their timestamps - see audioresample

19 years agowhitespace, doc and debug fixing/additions
Thomas Vander Stichele [Fri, 26 Aug 2005 11:19:22 +0000 (11:19 +0000)]
whitespace, doc and debug fixing/additions

Original commit message from CVS:
whitespace, doc and debug fixing/additions

19 years agogst/gstbin.h: removed ';' from the end of macro defs
Stefan Kost [Thu, 25 Aug 2005 23:17:18 +0000 (23:17 +0000)]
gst/gstbin.h: removed ';' from the end of macro defs

Original commit message from CVS:
* gst/gstbin.h:
removed ';' from the end of macro defs
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/.cvsignore:
* gst/gstbus.h:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_set_state), (activate_pads),
(gst_element_save_thyself):
* gst/gstevent.c: (gst_event_new_newsegment):
* gst/gstevent.h:
* gst/gstiterator.c:
* gst/gstiterator.h:
* gst/gstpad.c:
* gst/gstprobe.h:
* gst/gstutils.c: (gst_pad_query_convert):
* gst/gstutils.h:
fixed parameter name mismatches between source, header and docs
added some more docs, resolved the last batch of unused elements in
docs (now someone needs to doc them)

19 years agorespect order of plugin dirs when loading pllugins and rebuilding registry
Thomas Vander Stichele [Thu, 25 Aug 2005 20:52:07 +0000 (20:52 +0000)]
respect order of plugin dirs when loading pllugins and rebuilding registry

Original commit message from CVS:
respect order of plugin dirs when loading pllugins and rebuilding registry

19 years agogst/base/gstbasetransform.*: Cache caps unit_size.
Wim Taymans [Thu, 25 Aug 2005 19:36:05 +0000 (19:36 +0000)]
gst/base/gstbasetransform.*: Cache caps unit_size.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_transform_size),
(gst_base_transform_configure_caps),
(gst_base_transform_get_unit_size),
(gst_base_transform_buffer_alloc),
(gst_base_transform_change_state):
* gst/base/gstbasetransform.h:
Cache caps unit_size.
Make sure we cannot negotiate up and downstream at the
same time.

19 years agomake registry respect order of GST_PLUGIN_PATH; make the installed location go last
Thomas Vander Stichele [Thu, 25 Aug 2005 18:55:34 +0000 (18:55 +0000)]
make registry respect order of GST_PLUGIN_PATH; make the installed location go last

Original commit message from CVS:
make registry respect order of GST_PLUGIN_PATH; make the installed location go last

19 years agoadd docs
Thomas Vander Stichele [Thu, 25 Aug 2005 18:54:00 +0000 (18:54 +0000)]
add docs

Original commit message from CVS:
add docs

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

Original commit message from CVS:
add a uint64 checking method

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Original commit message from CVS:
another fix

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Original commit message from CVS:
add pluginsdir to pkgconfig files

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

Original commit message from CVS:
changelog

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

Original commit message from CVS:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* gst/gstutils.h:
Cleanups.

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

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

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

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

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

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

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

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

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

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

Original commit message from CVS:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Original commit message from CVS:

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

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

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