platform/upstream/gstreamer.git
19 years agogst/elements/gstfilesink.c (gst_file_sink_start)
Andy Wingo [Wed, 9 Nov 2005 09:47:12 +0000 (09:47 +0000)]
gst/elements/gstfilesink.c (gst_file_sink_start)

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

* gst/elements/gstfilesink.c (gst_file_sink_start)
(gst_file_sink_stop): New functions, replace the state change
handler.
(gst_file_sink_class_init): Hook up the start and stop functions.
(gst_file_sink_base_init): Don't set the state change handler any
more. It was a bit ugly too, being set from here...
(gst_file_sink_get_property, gst_file_sink_set_property):
Cleanups...
(gst_file_sink_set_location): More robust check that doesn't call
GST_STATE. Ugggggg.

19 years agogst/base/gstbasetransform.c: Hold STREAM_LOCK while pushing newsegment or tag events...
Tim-Philipp Müller [Tue, 8 Nov 2005 12:33:09 +0000 (12:33 +0000)]
gst/base/gstbasetransform.c: Hold STREAM_LOCK while pushing newsegment or tag events as well.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_event):
Hold STREAM_LOCK while pushing newsegment or tag events as well.

19 years agorevert part of the patch so that paths are correct
Thomas Vander Stichele [Tue, 8 Nov 2005 11:52:24 +0000 (11:52 +0000)]
revert part of the patch so that paths are correct

Original commit message from CVS:
revert part of the patch so that paths are correct

19 years agogst/: Avoid excessive typechecking in macros.
Wim Taymans [Tue, 8 Nov 2005 11:13:07 +0000 (11:13 +0000)]
gst/: Avoid excessive typechecking in macros.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
(gst_base_sink_do_sync), (gst_base_sink_handle_event),
(gst_base_sink_chain), (gst_base_sink_change_state):
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.h:
* gst/gstelement.h:
* gst/gstevent.h:
Avoid excessive typechecking in macros.

* gst/gstminiobject.c: (gst_mini_object_get_type),
(gst_mini_object_init), (gst_mini_object_new),
(gst_mini_object_free):
* gst/gstobject.c: (gst_object_class_init), (gst_object_init),
(gst_object_finalize):
Remove cruft code, optimize alloc_trace.

19 years agodocs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it
Thomas Vander Stichele [Mon, 7 Nov 2005 18:16:13 +0000 (18:16 +0000)]
docs/faq/gst-uninstalled: fix up PS1 for systems that try to reset it

Original commit message from CVS:

* docs/faq/gst-uninstalled:
fix up PS1 for systems that try to reset it

19 years agogst/base/gstbasesrc.c: Set the segment_end to -1 initially. Fixed typefind.
Wim Taymans [Mon, 7 Nov 2005 10:33:07 +0000 (10:33 +0000)]
gst/base/gstbasesrc.c: Set the segment_end to -1 initially. Fixed typefind.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_init),
(gst_base_src_get_range):
Set the segment_end to -1 initially. Fixed typefind.

19 years agogst/base/gstadapter.c: Debug category should be 'adapter', not 'GstAdapter'.
Tim-Philipp Müller [Mon, 7 Nov 2005 10:13:47 +0000 (10:13 +0000)]
gst/base/gstadapter.c: Debug category should be 'adapter', not 'GstAdapter'.

Original commit message from CVS:
* gst/base/gstadapter.c:
Debug category should be 'adapter', not 'GstAdapter'.
* gst/base/gstcollectpads.c: (gst_collectpads_base_init),
(gst_collectpads_class_init), (gst_collectpads_init),
(gst_collectpads_peek), (gst_collectpads_pop),
(gst_collectpads_event), (gst_collectpads_chain):
Add debug category and some debugging output. Use boilerplate
macros. Remove some extraneous words from docs.

19 years agogst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate macro.
Andy Wingo [Sat, 5 Nov 2005 15:14:33 +0000 (15:14 +0000)]
gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate macro.

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

* gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
macro.

19 years agomore docs added
Stefan Kost [Fri, 4 Nov 2005 20:12:01 +0000 (20:12 +0000)]
more docs added

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstcaps.h:
* gst/gstinfo.c:
* gst/gstminiobject.h:
* gst/gstobject.h:
* gst/gstutils.h:
more docs added

19 years agogst/base/gstbasesrc.c: Small update to stop at the configured segment_end position.
Wim Taymans [Fri, 4 Nov 2005 15:33:40 +0000 (15:33 +0000)]
gst/base/gstbasesrc.c: Small update to stop at the configured segment_end position.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
Small update to stop at the configured segment_end
position.

19 years agogst/gstregistry.*: added missing docs
Stefan Kost [Fri, 4 Nov 2005 15:02:48 +0000 (15:02 +0000)]
gst/gstregistry.*: added missing docs

Original commit message from CVS:
* gst/gstregistry.c:
* gst/gstregistry.h:
added missing docs

19 years agogst/base/gstbasesrc.c: Check if we are doing a segment seek and have arrived at the...
Edward Hervey [Fri, 4 Nov 2005 14:35:10 +0000 (14:35 +0000)]
gst/base/gstbasesrc.c: Check if we are doing a segment seek and have arrived at the end of that segment.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
Check if we are doing a segment seek and have arrived at the
end of that segment.

19 years agogst/gstbus.c: Don't leak a mutex unlock in case of an error.
Wim Taymans [Fri, 4 Nov 2005 12:08:19 +0000 (12:08 +0000)]
gst/gstbus.c: Don't leak a mutex unlock in case of an error.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
Don't leak a mutex unlock in case of an error.

* gst/gstbus.h:
Doc fixes.

19 years agogst/gstbus.c: Get the context to wake up only once.
Wim Taymans [Fri, 4 Nov 2005 11:43:10 +0000 (11:43 +0000)]
gst/gstbus.c: Get the context to wake up only once.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
(gst_bus_post):
Get the context to wake up only once.

19 years agocheck/states/sinks.c: Uncomment fixed check.
Stefan Kost [Thu, 3 Nov 2005 20:17:24 +0000 (20:17 +0000)]
check/states/sinks.c: Uncomment fixed check.

Original commit message from CVS:
* check/states/sinks.c: (GST_START_TEST):
Uncomment fixed check.
* docs/design/part-TODO.txt:
Updated TODO.
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_do_sync),
(gst_base_sink_get_position):
If we are going to PLAYING, post the right pending state
when we post the intermediate paused message.
* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func), (gst_element_change_state):
Don't post state changes that were between the same state
and were not ASYNC.

19 years agocheck/states/sinks.c: Uncomment fixed check.
Wim Taymans [Thu, 3 Nov 2005 20:14:24 +0000 (20:14 +0000)]
check/states/sinks.c: Uncomment fixed check.

Original commit message from CVS:
* check/states/sinks.c: (GST_START_TEST):
Uncomment fixed check.

* docs/design/part-TODO.txt:
Updated TODO.

* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_do_sync),
(gst_base_sink_get_position):
If we are going to PLAYING, post the right pending state
when we post the intermediate paused message.

* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func), (gst_element_change_state):
Don't post state changes that were between the same state
and were not ASYNC.

19 years agodoc fixes
Stefan Kost [Thu, 3 Nov 2005 19:38:48 +0000 (19:38 +0000)]
doc fixes

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.c:
* gst/gstminiobject.c:
doc fixes

19 years agocheck/states/sinks.c (test_livesrc_sink): Add checks that the state-changed messages...
Andy Wingo [Thu, 3 Nov 2005 17:53:27 +0000 (17:53 +0000)]
check/states/sinks.c (test_livesrc_sink): Add checks that the state-changed messages actually have the right order an...

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

* check/states/sinks.c (test_livesrc_sink): Add checks that the
state-changed messages actually have the right order and the right
values.

19 years agocheck/states/sinks.c: Added some more checks. Specifically the case where NO_PREROLL...
Wim Taymans [Thu, 3 Nov 2005 17:12:00 +0000 (17:12 +0000)]
check/states/sinks.c: Added some more checks. Specifically the case where NO_PREROLL elements are in the pipeline.

Original commit message from CVS:
* check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
Added some more checks. Specifically the case where NO_PREROLL
elements are in the pipeline.

* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_do_sync),
(gst_base_sink_get_position):
Post READY->PAUSED state change messages too.
Fix bug where VOID was posted as pending state...

* gst/gstbin.c: (gst_bin_recalc_state):
use _element_continue_state() to continue the state change.

* gst/gstelement.c: (gst_element_continue_state),
(gst_element_commit_state), (gst_element_set_state_func),
(gst_element_change_state), (gst_element_change_state_func):
Lots of state change cleanups, assign the STATE_RETURN in
a new continue_state() function that also propagates the
last return value from a state change to the app.
Update some debug statements with proper category.

19 years agodocs/: Small docs updates.
Wim Taymans [Thu, 3 Nov 2005 14:22:44 +0000 (14:22 +0000)]
docs/: Small docs updates.

Original commit message from CVS:
* docs/design/part-events.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-messages.txt:
* docs/design/part-overview.txt:
* docs/design/part-seeking.txt:
* docs/design/part-states.txt:
* docs/design/part-trickmodes.txt:
* docs/manual/advanced-position.xml:
Small docs updates.

* gst/gstobject.h:
People think !! is ugly, this looks better.

* gst/gstpad.c: (gst_pad_set_blocked_async):
Remove !! since it's fixed elsewhere now.

19 years agogst/: Add !! to _FLAG_IS_SET macros to make the result boolean.
Tim-Philipp Müller [Thu, 3 Nov 2005 13:52:59 +0000 (13:52 +0000)]
gst/: Add !! to _FLAG_IS_SET macros to make the result boolean.

Original commit message from CVS:
* gst/gstminiobject.h:
* gst/gstobject.h:
Add !! to _FLAG_IS_SET macros to make the result boolean.

19 years agogst/gstpad.c: comparing a flag and a gboolean rarely returns coherent results...
Edward Hervey [Thu, 3 Nov 2005 12:48:30 +0000 (12:48 +0000)]
gst/gstpad.c: comparing a flag and a gboolean rarely returns coherent results...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_blocked_async):
comparing a flag and a gboolean rarely returns coherent results...
Added two characters (!!) to make that work correctly.

19 years agogst/gstbus.c: Fix some typos.
Tim-Philipp Müller [Thu, 3 Nov 2005 12:16:49 +0000 (12:16 +0000)]
gst/gstbus.c: Fix some typos.

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_class_init):
Fix some typos.
* gst/gstqueue.c: (gst_queue_loop):
Don't assume a miniobject that isn't a buffer is an
event (it could be that there is a refcounting
problem somewhere and the pointer is stale and
refers to an already destroyed miniobject).

19 years agogst/gstpad.c: Fix some typos.
Julien Moutte [Thu, 3 Nov 2005 10:56:23 +0000 (10:56 +0000)]
gst/gstpad.c: Fix some typos.

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

* gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.

19 years agodocs/manual/advanced-position.xml: Update seek example and explanations to current...
Tim-Philipp Müller [Thu, 3 Nov 2005 09:18:53 +0000 (09:18 +0000)]
docs/manual/advanced-position.xml: Update seek example and explanations to current 0.9 API.

Original commit message from CVS:
* docs/manual/advanced-position.xml:
Update seek example and explanations to current 0.9 API.
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_activate):
Remove FIXME comment now that the found caps
are unreffed.

19 years agoAdd another GST_STR_NULL instance
Thomas Vander Stichele [Thu, 3 Nov 2005 00:39:54 +0000 (00:39 +0000)]
Add another GST_STR_NULL instance

Original commit message from CVS:
Add another GST_STR_NULL instance

19 years agogst/gstpad.c: Follow-up to Wim's patch, solves deadlock for blocked and flushing...
Edward Hervey [Wed, 2 Nov 2005 19:04:20 +0000 (19:04 +0000)]
gst/gstpad.c: Follow-up to Wim's patch, solves deadlock for blocked and flushing pads

Original commit message from CVS:
* gst/gstpad.c: (handle_pad_block):
Follow-up to Wim's patch, solves deadlock for blocked and flushing pads

19 years agogst/gstbin.c: Fix typo in docs.
Wim Taymans [Wed, 2 Nov 2005 18:44:20 +0000 (18:44 +0000)]
gst/gstbin.c: Fix typo in docs.

Original commit message from CVS:
* gst/gstbin.c:
Fix typo in docs.

* gst/gstelement.c: (gst_element_commit_state):
Remove unused value.

* gst/gstiterator.c:
Mention that the returned element is reffed in the docs.

19 years agogst/gstpad.c: Unlock blocked pads when they are flushed.
Wim Taymans [Wed, 2 Nov 2005 18:33:00 +0000 (18:33 +0000)]
gst/gstpad.c: Unlock blocked pads when they are flushed.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
(gst_pad_push), (gst_pad_push_event):
Unlock blocked pads when they are flushed.

19 years agodoc updates
Thomas Vander Stichele [Wed, 2 Nov 2005 15:34:23 +0000 (15:34 +0000)]
doc updates

Original commit message from CVS:

* docs/README:
* docs/gst/gstreamer-sections.txt:
* gst/gstbin.c:
doc updates
* gst/gstregistry.c: (gst_registry_scan_path_level):
fix for a nasty little missed situation where an installed plug-in
which was in the cache did not get overridden by an uninstalled one
which was earlier in the plugin path because the newly created plugin
for the uninstalled one (not in the registry) didn't get its
->registered set to TRUE

19 years agogst/base/gstcollectpads.c: Guard public API with assertions.
Tim-Philipp Müller [Wed, 2 Nov 2005 15:08:05 +0000 (15:08 +0000)]
gst/base/gstcollectpads.c: Guard public API with assertions.

Original commit message from CVS:
* gst/base/gstcollectpads.c: (gst_collectpads_set_function),
(gst_collectpads_add_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):
Guard public API with assertions.
* gst/gstpad.c:
Fix docs for gst_pad_set_link_function().

19 years agogst/elements/gsttypefindelement.c (gst_type_find_element_activate): Unref found_caps...
Johan Dahlin [Wed, 2 Nov 2005 14:28:02 +0000 (14:28 +0000)]
gst/elements/gsttypefindelement.c (gst_type_find_element_activate): Unref found_caps after we used it.

Original commit message from CVS:
* gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
Unref found_caps after we used it.

19 years agogst/base/gstcollectpads.c: Don't try to ref NULL.
Tim-Philipp Müller [Wed, 2 Nov 2005 12:20:54 +0000 (12:20 +0000)]
gst/base/gstcollectpads.c: Don't try to ref NULL.

Original commit message from CVS:
* gst/base/gstcollectpads.c: (gst_collectpads_peek):
Don't try to ref NULL.

19 years agoadd more symbols
Thomas Vander Stichele [Wed, 2 Nov 2005 09:31:02 +0000 (09:31 +0000)]
add more symbols

Original commit message from CVS:
add more symbols

19 years agoadd more symbols
Thomas Vander Stichele [Wed, 2 Nov 2005 09:27:33 +0000 (09:27 +0000)]
add more symbols

Original commit message from CVS:
add more symbols

19 years agoupdate generated config
Thomas Vander Stichele [Wed, 2 Nov 2005 09:24:58 +0000 (09:24 +0000)]
update generated config

Original commit message from CVS:
update generated config

19 years agoprovide a GST_FUNCTION that just gives a string for now
Thomas Vander Stichele [Wed, 2 Nov 2005 09:24:03 +0000 (09:24 +0000)]
provide a GST_FUNCTION that just gives a string for now

Original commit message from CVS:
provide a GST_FUNCTION that just gives a string for now

19 years agoupdate win32 copies
Thomas Vander Stichele [Wed, 2 Nov 2005 08:56:00 +0000 (08:56 +0000)]
update win32 copies

Original commit message from CVS:
update win32 copies

19 years agomore doc updates
Thomas Vander Stichele [Tue, 1 Nov 2005 19:16:58 +0000 (19:16 +0000)]
more doc updates

Original commit message from CVS:
more doc updates

19 years agogst/gst.c: fix docs. popt is death, long live GOption.
Luca Ognibene [Tue, 1 Nov 2005 17:45:46 +0000 (17:45 +0000)]
gst/gst.c: fix docs. popt is death, long live GOption.

Original commit message from CVS:
* gst/gst.c:
fix docs. popt is death, long live GOption.

19 years agogst/gstbuffer.h: Small doc fix.
Wim Taymans [Mon, 31 Oct 2005 11:44:32 +0000 (11:44 +0000)]
gst/gstbuffer.h: Small doc fix.

Original commit message from CVS:
* gst/gstbuffer.h:
Small doc fix.

19 years agoBoo!
Andy Wingo [Mon, 31 Oct 2005 09:52:13 +0000 (09:52 +0000)]
Boo!

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

* Boo!

* gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.

* gst/gstobject.c (gst_object_dispatch_properties_changed): No
need to serialize property notifications on GLib 2.8. GLib 2.6 has
the possibility of deadlocks here if code calling notify() or
set() has a lock that can be taken in another notify handler (ABBA
with class lock and e.g. python GIL state lock).

19 years agogst/gstbus.c: Doc updates.
Julien Moutte [Fri, 28 Oct 2005 18:18:23 +0000 (18:18 +0000)]
gst/gstbus.c: Doc updates.

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

* gst/gstbus.c: Doc updates.

19 years agoDoc updates.
Wim Taymans [Fri, 28 Oct 2005 18:14:24 +0000 (18:14 +0000)]
Doc updates.

Original commit message from CVS:
* docs/design/part-TODO.txt:
* gst/gstiterator.c:
* gst/gstsystemclock.c:
* gst/gstsystemclock.h:
Doc updates.

19 years agodocs/gst/: the GstURIType documentation page is private, it only defines GstURIType...
Edward Hervey [Fri, 28 Oct 2005 18:10:41 +0000 (18:10 +0000)]
docs/gst/: the GstURIType documentation page is private, it only defines GstURIType which should be defined in the Gs...

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
the GstURIType documentation page is private, it only defines GstURIType
which should be defined in the GstURIHandler page

19 years agoDocumentation updates.
Thomas Vander Stichele [Fri, 28 Oct 2005 17:35:43 +0000 (17:35 +0000)]
Documentation updates.

Original commit message from CVS:
Documentation updates.

19 years agoDocumented the clocks.
Wim Taymans [Fri, 28 Oct 2005 17:35:05 +0000 (17:35 +0000)]
Documented the clocks.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.c:
* gst/gstclock.h:
Documented the clocks.

19 years agoupdated config
Thomas Vander Stichele [Fri, 28 Oct 2005 17:34:32 +0000 (17:34 +0000)]
updated config

Original commit message from CVS:
updated config

19 years agoWork around gtkdoc deficiencies, document a macro differently.
Michael Smith [Fri, 28 Oct 2005 17:20:45 +0000 (17:20 +0000)]
Work around gtkdoc deficiencies, document a macro differently.

Original commit message from CVS:
Work around gtkdoc deficiencies, document a macro differently.

19 years agoImprove GstBuffer documentation. It's now 100% Spiffier.
Michael Smith [Fri, 28 Oct 2005 17:01:14 +0000 (17:01 +0000)]
Improve GstBuffer documentation. It's now 100% Spiffier.

Original commit message from CVS:
Improve GstBuffer documentation. It's now 100% Spiffier.

19 years agosome style fixes
Thomas Vander Stichele [Fri, 28 Oct 2005 16:54:15 +0000 (16:54 +0000)]
some style fixes

Original commit message from CVS:
some style fixes

19 years agodocs/gst/gstreamer-sections.txt: move some macros to private sections
Stefan Kost [Fri, 28 Oct 2005 16:46:58 +0000 (16:46 +0000)]
docs/gst/gstreamer-sections.txt: move some macros to private sections

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
move some macros to private sections
* gst/gstminiobject.c:
* gst/gstminiobject.h:
add descriptions provided by ds and some more
* gst/gstpad.h:
mark macro as to be removed

19 years agodocs/design/part-TODO.txt: Add an item to TODO.
Wim Taymans [Fri, 28 Oct 2005 16:21:29 +0000 (16:21 +0000)]
docs/design/part-TODO.txt: Add an item to TODO.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Add an item to TODO.

* gst/gstiterator.c: (gst_iterator_fold),
(gst_iterator_find_custom):
* gst/gstiterator.h:
Add iterator docs.

19 years agoadd style guide
Thomas Vander Stichele [Fri, 28 Oct 2005 16:08:52 +0000 (16:08 +0000)]
add style guide

Original commit message from CVS:
add style guide

19 years agogst/base/gstbasetransform.c: Don't leak class.
Wim Taymans [Fri, 28 Oct 2005 10:45:33 +0000 (10:45 +0000)]
gst/base/gstbasetransform.c: Don't leak class.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
(gst_base_transform_init):
Don't leak class.

* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
An EOS event marks the queue as completely filled.

19 years agogst/base/gstbasesink.c: Some more debugging.
Wim Taymans [Thu, 27 Oct 2005 20:59:00 +0000 (20:59 +0000)]
gst/base/gstbasesink.c: Some more debugging.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_get_position):
Some more debugging.

* gst/base/gstbasetransform.c: (gst_base_transform_finalize),
(gst_base_transform_init), (gst_base_transform_buffer_alloc),
(gst_base_transform_event), (gst_base_transform_getrange),
(gst_base_transform_chain):
* gst/base/gstbasetransform.h:
Fix debugging,
Protect transform and concurrent buffer alloc with a new lock.
Try not to break ABI/API.

19 years agogst/base/gstbasesrc.c: Move some stuff around and cleanup things.
Wim Taymans [Thu, 27 Oct 2005 19:37:25 +0000 (19:37 +0000)]
gst/base/gstbasesrc.c: Move some stuff around and cleanup things.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_query),
(gst_base_src_default_newsegment),
(gst_base_src_configure_segment), (gst_base_src_do_seek),
(gst_base_src_send_event), (gst_base_src_event_handler),
(gst_base_src_pad_get_range), (gst_base_src_loop),
(gst_base_src_unlock), (gst_base_src_default_negotiate),
(gst_base_src_start), (gst_base_src_deactivate),
(gst_base_src_activate_push), (gst_base_src_change_state):
Move some stuff around and cleanup things.

19 years agogst/base/gstbasesrc.c: Add missing break statements.
Tim-Philipp Müller [Thu, 27 Oct 2005 15:48:56 +0000 (15:48 +0000)]
gst/base/gstbasesrc.c: Add missing break statements.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_query):
Add missing break statements.

19 years agocheck/gst/gstbin.c: An extra refcount is taken in basesrc.
Wim Taymans [Thu, 27 Oct 2005 13:47:33 +0000 (13:47 +0000)]
check/gst/gstbin.c: An extra refcount is taken in basesrc.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
An extra refcount is taken in basesrc.

* gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
(gst_base_src_get_range), (gst_base_src_pad_get_range),
(gst_base_src_loop):
Small cleanups, check for flushing after being unlocked from the
LIVE_LOCK. take refcounts correctly (not yet everywhere).
Don't send out EOS when going to READY.

19 years agogst/base/gstbasesink.c: Some more debug.
Wim Taymans [Thu, 27 Oct 2005 08:55:44 +0000 (08:55 +0000)]
gst/base/gstbasesink.c: Some more debug.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_get_position):
Some more debug.

* gst/gstbin.c: (message_check), (bin_replace_message),
(bin_remove_messages), (is_eos), (gst_bin_add_func),
(update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
(bin_query_duration_init), (bin_query_duration_fold),
(bin_query_duration_done), (bin_query_generic_fold),
(gst_bin_query):
* tools/gst-launch.c: (main):
Remove old option.

19 years agofixing examples fixing docs typos changing log priority in error situations
Stefan Kost [Wed, 26 Oct 2005 18:57:43 +0000 (18:57 +0000)]
fixing examples fixing docs typos changing log priority in error situations

Original commit message from CVS:
* examples/controller/audio-example.c: (main):
* examples/queue/queue.c: (event_loop):
* gst/base/gstbasetransform.h:
* gst/gstelement.c: (gst_element_send_event):
* gst/gstevent.h:
* gst/gstpad.c: (gst_pad_send_event):
fixing examples
fixing docs typos
changing log priority in error situations

19 years agomake sure dirs get checked out
Thomas Vander Stichele [Wed, 26 Oct 2005 10:11:25 +0000 (10:11 +0000)]
make sure dirs get checked out

Original commit message from CVS:
make sure dirs get checked out

19 years agofix dist
Thomas Vander Stichele [Wed, 26 Oct 2005 09:56:43 +0000 (09:56 +0000)]
fix dist

Original commit message from CVS:
fix dist

19 years agogst/gstbin.c: Some doc and debug updates.
Wim Taymans [Tue, 25 Oct 2005 17:41:24 +0000 (17:41 +0000)]
gst/gstbin.c: Some doc and debug updates.

Original commit message from CVS:
* gst/gstbin.c: (message_check), (bin_replace_message),
(bin_remove_messages), (is_eos), (gst_bin_add_func),
(update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
(bin_query_duration_init), (bin_query_duration_fold),
(bin_query_duration_done), (bin_query_generic_fold),
(gst_bin_query):
Some doc and debug updates.
Cache previously requested query DURATION for speed. invalidate
cached duration if element posts a DURATION message.

19 years agodocs/design/part-TODO.txt: Update TODO.
Wim Taymans [Tue, 25 Oct 2005 15:39:36 +0000 (15:39 +0000)]
docs/design/part-TODO.txt: Update TODO.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Update TODO.

* gst/gstbin.c: (message_check), (bin_replace_message),
(bin_remove_messages), (is_eos), (gst_bin_add_func),
(update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
(bin_query_duration_init), (bin_query_duration_fold),
(bin_query_duration_done), (bin_query_generic_fold),
(gst_bin_query):
Handle SEGMENT_START/DONE messages correctly.
More evolved query algorithm that handles duration queries
correctly.

* gst/gstelement.c: (gst_element_send_event), (gst_element_query),
(gst_element_get_state_func), (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state):
Some more debugging.

* gst/gstmessage.h:
Added doc.

19 years agogst/base/gstbasesink.c: Don't use invalid stream_time.
Wim Taymans [Tue, 25 Oct 2005 10:15:45 +0000 (10:15 +0000)]
gst/base/gstbasesink.c: Don't use invalid stream_time.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_get_position):
Don't use invalid stream_time.

* gst/gstevent.c: (gst_event_new_newsegment):
stream_time in newsegment cannot be undefined.

19 years agoForgot the changelog last time
Wim Taymans [Tue, 25 Oct 2005 10:12:13 +0000 (10:12 +0000)]
Forgot the changelog last time

Original commit message from CVS:
Forgot the changelog last time

19 years agogst/gstbus.c: Doc fix.
Wim Taymans [Mon, 24 Oct 2005 15:41:48 +0000 (15:41 +0000)]
gst/gstbus.c: Doc fix.

Original commit message from CVS:
* gst/gstbus.c:
Doc fix.

* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_loop):
Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.

19 years agodocs/libs/tmpl/: these are obsolete
Stefan Kost [Mon, 24 Oct 2005 11:56:03 +0000 (11:56 +0000)]
docs/libs/tmpl/: these are obsolete

Original commit message from CVS:
* docs/libs/tmpl/gstdparam.sgml:
* docs/libs/tmpl/gstdplinint.sgml:
* docs/libs/tmpl/gstdpman.sgml:
* docs/libs/tmpl/gstdpsmooth.sgml:
* docs/libs/tmpl/gstunitconvert.sgml:
these are obsolete

19 years agoFix some minor documentation typos
Michael Smith [Mon, 24 Oct 2005 09:13:27 +0000 (09:13 +0000)]
Fix some minor documentation typos

Original commit message from CVS:
Fix some minor documentation typos

19 years agoback to HEAD
Thomas Vander Stichele [Sun, 23 Oct 2005 23:04:38 +0000 (23:04 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

19 years agotime to release RELEASE-0_9_4
Thomas Vander Stichele [Sun, 23 Oct 2005 22:30:17 +0000 (22:30 +0000)]
time to release

Original commit message from CVS:
time to release

19 years agoadd more files
Thomas Vander Stichele [Sun, 23 Oct 2005 10:49:26 +0000 (10:49 +0000)]
add more files

Original commit message from CVS:
add more files

19 years agogst/elements/gstfilesink.c: Use fseeko() and ftello() if available. When falling...
Tim-Philipp Müller [Sun, 23 Oct 2005 10:29:51 +0000 (10:29 +0000)]
gst/elements/gstfilesink.c: Use fseeko() and ftello() if available. When falling back on lseek() to get the current o...

Original commit message from CVS:
* gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
(gst_file_sink_get_current_offset):
Use fseeko() and ftello() if available. When falling back on
lseek() to get the current offset, fflush() first to make sure
everything is up-to-date and we get the right offset.

19 years agoremove prematurely added error category and clean up the instances
Thomas Vander Stichele [Sun, 23 Oct 2005 09:08:44 +0000 (09:08 +0000)]
remove prematurely added error category and clean up the instances

Original commit message from CVS:
remove prematurely added error category and clean up the instances

19 years agogst/base/gstbasesink.c: Simply set the right flag when going to playing, that's all...
Wim Taymans [Fri, 21 Oct 2005 17:53:31 +0000 (17:53 +0000)]
gst/base/gstbasesink.c: Simply set the right flag when going to playing, that's all we need to do instead of calling ...

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_get_position), (gst_base_sink_query),
(gst_base_sink_change_state):
Simply set the right flag when going to playing, that's all
we need to do instead of calling a function inside the object
lock (that could take the lock as well and deadlock)

19 years agogst/base/gstbasesrc.c: Don't warn, the peer element knows what to do best when the...
Wim Taymans [Fri, 21 Oct 2005 16:18:54 +0000 (16:18 +0000)]
gst/base/gstbasesrc.c: Don't warn, the peer element knows what to do best when the seek failed, it might try somethin...

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_do_seek),
(gst_base_src_loop):
Don't warn, the peer element knows what to do best when
the seek failed, it might try something else.

19 years agogst/base/gstbasesrc.c: Fix seeking.
Wim Taymans [Fri, 21 Oct 2005 16:14:34 +0000 (16:14 +0000)]
gst/base/gstbasesrc.c: Fix seeking.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_init),
(gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
Fix seeking.

19 years agodocs/design/part-segments.txt: More docs.
Wim Taymans [Fri, 21 Oct 2005 15:13:08 +0000 (15:13 +0000)]
docs/design/part-segments.txt: More docs.

Original commit message from CVS:
* docs/design/part-segments.txt:
More docs.

* gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
Correctly set caps, even on the subbufer.

19 years agoAnd 2% more doc coverage.
Wim Taymans [Fri, 21 Oct 2005 11:36:32 +0000 (11:36 +0000)]
And 2% more doc coverage.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.h:
* gst/gstevent.c:
* gst/gstevent.h:
* gst/gstmessage.h:
* gst/gstpad.h:
* gst/gstparse.h:
* gst/gsttask.c: (gst_task_finalize), (gst_task_func):
* gst/gsttask.h:
* gst/gstutils.c:
* gst/gstutils.h:
And 2% more doc coverage.

19 years agogst/base/gstbasesrc.c (gst_base_src_query): Clean up percent position reporting.
Andy Wingo [Fri, 21 Oct 2005 09:24:28 +0000 (09:24 +0000)]
gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent position reporting.

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

* gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
position reporting.

19 years agogst/: More docs.
Wim Taymans [Thu, 20 Oct 2005 21:08:47 +0000 (21:08 +0000)]
gst/: More docs.

Original commit message from CVS:
* gst/gsterror.c: (gst_error_get_message):
* gst/gstparse.h:
* gst/gstquery.h:
* gst/gststructure.c:
* gst/gsttrace.c:
* gst/gstutils.c:
More docs.

19 years agogst/: Another 1% more coverage.
Wim Taymans [Thu, 20 Oct 2005 20:46:17 +0000 (20:46 +0000)]
gst/: Another 1% more coverage.

Original commit message from CVS:
* gst/gstbuffer.h:
* gst/gstpad.c:
* gst/gstparse.c:
Another 1% more coverage.

19 years agoYay! 1% more docs coverage.
Wim Taymans [Thu, 20 Oct 2005 20:25:55 +0000 (20:25 +0000)]
Yay! 1% more docs coverage.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.c: (gst_element_get_state_func),
(gst_element_abort_state), (gst_element_commit_state),
(gst_element_lost_state):
* gst/gstevent.h:
* gst/gstquery.c: (gst_query_set_position),
(gst_query_parse_position), (gst_query_set_duration),
(gst_query_parse_duration), (gst_query_new_convert):
* gst/gstutils.c:
Yay! 1% more docs coverage.

19 years agogst/: Docs and consistency fixes.
Wim Taymans [Thu, 20 Oct 2005 19:47:07 +0000 (19:47 +0000)]
gst/: Docs and consistency fixes.

Original commit message from CVS:
* gst/gstpad.h:
* gst/gstquery.c: (gst_query_set_position),
(gst_query_parse_position), (gst_query_set_duration),
(gst_query_parse_duration), (gst_query_new_convert):
* gst/gstquery.h:
* gst/gstutils.c: (gst_element_query_convert):
* gst/gstutils.h:
Docs and consistency fixes.

19 years agogst/gsttask.*: More docs.
Wim Taymans [Thu, 20 Oct 2005 19:30:57 +0000 (19:30 +0000)]
gst/gsttask.*: More docs.

Original commit message from CVS:
* gst/gsttask.c:
* gst/gsttask.h:
More docs.

19 years agogst/gstbin.c: Reworked the message handling a bit, cache the messages instead of...
Wim Taymans [Thu, 20 Oct 2005 17:22:40 +0000 (17:22 +0000)]
gst/gstbin.c: Reworked the message handling a bit, cache the messages instead of only the senders. alows us to do mor...

Original commit message from CVS:
* gst/gstbin.c: (message_check), (bin_replace_message),
(bin_remove_messages), (is_eos), (gst_bin_add_func),
(update_degree), (gst_bin_sort_iterator_next),
(gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
Reworked the message handling a bit, cache the messages instead of
only the senders. alows us to do more in the future.

19 years agodocs/design/part-TODO.txt: Update TODO
Wim Taymans [Thu, 20 Oct 2005 17:18:12 +0000 (17:18 +0000)]
docs/design/part-TODO.txt: Update TODO

Original commit message from CVS:
* docs/design/part-TODO.txt:
Update TODO

* gst/base/gstbasesink.c: (gst_base_sink_get_position),
(gst_base_sink_query):
Don't use clock time to report position when in EOS.

19 years agotools/gst-inspect.c: Fix interface output with gst-inspect -a; don't print newlines...
Tim-Philipp Müller [Thu, 20 Oct 2005 13:10:13 +0000 (13:10 +0000)]
tools/gst-inspect.c: Fix interface output with gst-inspect -a; don't print newlines after double/float properties.

Original commit message from CVS:
* tools/gst-inspect.c: (print_interfaces),
(print_element_properties_info), (print_element_info):
Fix interface output with gst-inspect -a; don't print
newlines after double/float properties.

19 years agogst/base/gstbasesink.c: Speed up current position calculation.
Wim Taymans [Thu, 20 Oct 2005 11:48:53 +0000 (11:48 +0000)]
gst/base/gstbasesink.c: Speed up current position calculation.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_get_position),
(gst_base_sink_query):
Speed up current position calculation.

* gst/base/gstbasesrc.c: (gst_base_src_query),
(gst_base_src_default_newsegment):
Correctly set stream position in newsegment.

* gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
(update_degree), (gst_bin_sort_iterator_next),
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
* gst/gstmessage.c: (gst_message_new_custom):
Clean up debugging info

* gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
(gst_queue_loop), (gst_queue_handle_src_query):
Pause task faster.

19 years agogst/base/gstbasesink.c: Fix query handling again.
Wim Taymans [Wed, 19 Oct 2005 17:06:56 +0000 (17:06 +0000)]
gst/base/gstbasesink.c: Fix query handling again.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
Fix query handling again.

19 years agogst/: API change fix.
Wim Taymans [Wed, 19 Oct 2005 15:50:10 +0000 (15:50 +0000)]
gst/: API change fix.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
* gst/base/gstbasesrc.c: (gst_base_src_query):
* gst/elements/gstfilesink.c: (gst_file_sink_query):
* gst/elements/gsttypefindelement.c:
(gst_type_find_handle_src_query), (find_element_get_length),
(gst_type_find_element_activate):
API change fix.

* gst/gstquery.c: (gst_query_new_position),
(gst_query_set_position), (gst_query_parse_position),
(gst_query_new_duration), (gst_query_set_duration),
(gst_query_parse_duration), (gst_query_set_segment),
(gst_query_parse_segment):
* gst/gstquery.h:
Bundling query position/duration is not a good idea since duration
does not change much and we don't want to recalculate it for every
position query, so they are separated again..
Base value in segment query is not needed.

* gst/gstqueue.c: (gst_queue_handle_src_query):
* gst/gstutils.c: (gst_element_query_position),
(gst_element_query_duration), (gst_pad_query_position),
(gst_pad_query_duration):
* gst/gstutils.h:
Updates for query API change.
Added some docs here and there.

19 years agocheck/: wait on thread to die so we can check refcount correctly
Thomas Vander Stichele [Wed, 19 Oct 2005 11:43:42 +0000 (11:43 +0000)]
check/: wait on thread to die so we can check refcount correctly

Original commit message from CVS:

* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstghostpad.c: (GST_START_TEST):
* check/pipelines/cleanup.c: (GST_START_TEST):
wait on thread to die so we can check refcount correctly

19 years agoupdate tools package naming
Christian Schaller [Wed, 19 Oct 2005 11:43:18 +0000 (11:43 +0000)]
update tools package naming

Original commit message from CVS:
update tools package naming

19 years agolog an if branch
Thomas Vander Stichele [Wed, 19 Oct 2005 11:42:39 +0000 (11:42 +0000)]
log an if branch

Original commit message from CVS:
log an if branch

19 years agocheck/pipelines/stress.c: Make check a little more time consuming.
Wim Taymans [Tue, 18 Oct 2005 17:30:50 +0000 (17:30 +0000)]
check/pipelines/stress.c: Make check a little more time consuming.

Original commit message from CVS:
* check/pipelines/stress.c: (GST_START_TEST):
Make check a little more time consuming.

19 years agocheck/: Small state change torture test.
Wim Taymans [Tue, 18 Oct 2005 17:06:29 +0000 (17:06 +0000)]
check/: Small state change torture test.

Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/stress.c: (GST_START_TEST),
(simple_launch_lines_suite), (main):
Small state change torture test.

* docs/design/part-states.txt:
* gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
(gst_base_sink_change_state):
Never take state lock from streaming thread, clean up ugly
hacks. Unfortunatly core does not yet support nice ways to
async commit state.

* gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
(bin_bus_handler):
Start state recalc if a STATE_DIRTY message is posted, but only
on the toplevel bin.

* gst/gstelement.c: (gst_element_sync_state_with_parent),
(gst_element_get_state_func), (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state),
(gst_element_set_state_func), (gst_element_change_state):
* gst/gstelement.h:
State variables are now protected with the LOCK, the state
lock is only used to serialize _set_state().

19 years agoSeriously, this is better than a previous commit as we only need to notify the fact...
Wim Taymans [Tue, 18 Oct 2005 16:25:38 +0000 (16:25 +0000)]
Seriously, this is better than a previous commit as we only need to notify the fact that an element changed state in ...

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstmessage.c: (GST_START_TEST):
* check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
(bin_bus_handler):
* gst/gstelement.c: (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state):
* gst/gstmessage.c: (gst_message_new_state_changed),
(gst_message_new_state_dirty), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_duration),
(gst_message_parse_state_changed),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done), (gst_message_parse_duration):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
Seriously, this is better than a previous commit as we only need
to notify the fact that an element changed state in a streaming
thread, marking the state of the parents dirty, hence the
STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
message.

19 years agogst/: Cleanups, prepare for state change fixes.
Wim Taymans [Tue, 18 Oct 2005 15:15:11 +0000 (15:15 +0000)]
gst/: Cleanups, prepare for state change fixes.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
(gst_bin_recalc_func):
* gst/gstelement.c: (gst_element_set_clock),
(gst_element_abort_state), (gst_element_lost_state):
Cleanups, prepare for state change fixes.

19 years agogst/: Pending ABI changes.
Wim Taymans [Tue, 18 Oct 2005 14:29:21 +0000 (14:29 +0000)]
gst/: Pending ABI changes.

Original commit message from CVS:
* gst/gstbin.h:
* gst/gstelement.c: (gst_element_class_init),
(gst_element_set_state), (gst_element_set_state_func):
* gst/gstelement.h:
Pending ABI changes.
GThreadPool in GstBinClass to monitor async state changes.
state_cookie in GstElement to detect concurrent gst/set state.
set_state is now virtual too in case a very complicated element
has to be constructed.