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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Original commit message from CVS:

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

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

Original commit message from CVS:
remove spider from dist

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

Original commit message from CVS:
removed from HEAD

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Original commit message from CVS:
cosmetic fixes

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

Original commit message from CVS:
add sizetype tests for fakesrc

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

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

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

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

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

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

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

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

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

Original commit message from CVS:
fixed distcheck breakage

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

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

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

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

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

Original commit message from CVS:
that one too

19 years agoadded missing pc files
Stefan Kost [Tue, 2 Aug 2005 21:38:14 +0000 (21:38 +0000)]
added missing pc files

Original commit message from CVS:
added missing pc files

19 years agoadded controller code removed dparam pc files
Stefan Kost [Tue, 2 Aug 2005 21:35:34 +0000 (21:35 +0000)]
added controller code removed dparam pc files

Original commit message from CVS:
added controller code
removed dparam pc files

19 years agogst/base/gstcollectpads.c: Broadcast the condition when shutting down, to make sure...
Jan Schmidt [Mon, 1 Aug 2005 21:17:01 +0000 (21:17 +0000)]
gst/base/gstcollectpads.c: Broadcast the condition when shutting down, to make sure we wake all threads up. Shut down...

Original commit message from CVS:
* gst/base/gstcollectpads.c: (gst_collectpads_finalize),
(gst_collectpads_stop):
Broadcast the condition when shutting down, to make sure we wake all
threads up. Shut down pads on finalize, for safety.

19 years agogst/base/gstbasetransform.c: Handle PAUSED->READY->PAUSED transition after negotiatio...
Jan Schmidt [Mon, 1 Aug 2005 17:26:00 +0000 (17:26 +0000)]
gst/base/gstbasetransform.c: Handle PAUSED->READY->PAUSED transition after negotiation occurred already.

Original commit message from CVS:
2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
* gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_handle_buffer),
(gst_base_transform_change_state):
Handle PAUSED->READY->PAUSED transition after negotiation
occurred already.
* gst/gstmessage.c: (gst_message_init):
Extra piece of debug for new messages.

19 years agoremove dparams deps from the docs
Stefan Kost [Mon, 1 Aug 2005 16:43:58 +0000 (16:43 +0000)]
remove dparams deps from the docs

Original commit message from CVS:
remove dparams deps from the docs

19 years agodeactivate and remove dparams (libgstcontrol)
Stefan Kost [Mon, 1 Aug 2005 16:17:31 +0000 (16:17 +0000)]
deactivate and remove dparams (libgstcontrol)

Original commit message from CVS:
deactivate and remove dparams (libgstcontrol)

19 years agogst/elements/gsttypefindelement.*: Set caps on all outgoing buffers, not just the...
Tim-Philipp Müller [Mon, 1 Aug 2005 11:15:47 +0000 (11:15 +0000)]
gst/elements/gsttypefindelement.*: Set caps on all outgoing buffers, not just the first one.

Original commit message from CVS:
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_have_type), (gst_type_find_element_init),
(stop_typefinding), (gst_type_find_element_handle_event),
(gst_type_find_element_chain), (gst_type_find_element_getrange):
* gst/elements/gsttypefindelement.h:
Set caps on all outgoing buffers, not just the first one.

19 years agogst/elements/gsttypefindelement.*: Set caps on first outgoing buffer when we've found...
Tim-Philipp Müller [Mon, 1 Aug 2005 09:10:01 +0000 (09:10 +0000)]
gst/elements/gsttypefindelement.*: Set caps on first outgoing buffer when we've found the type.

Original commit message from CVS:
* gst/elements/gsttypefindelement.c:
(gst_type_find_element_have_type),
(gst_type_find_element_check_set_buffer_caps),
(gst_type_find_element_init), (stop_typefinding),
(gst_type_find_element_handle_event),
(gst_type_find_element_chain), (gst_type_find_element_getrange):
* gst/elements/gsttypefindelement.h:
Set caps on first outgoing buffer when we've found the type.

19 years agodocs/gst/: Remove some old cruft from docs.
Tim-Philipp Müller [Mon, 1 Aug 2005 08:52:31 +0000 (08:52 +0000)]
docs/gst/: Remove some old cruft from docs.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstscheduler.sgml:
* docs/gst/tmpl/gstschedulerfactory.sgml:
Remove some old cruft from docs.

19 years agogst/gstpad.h: Fix inline docs for GstPadLinkReturn.
Tim-Philipp Müller [Sun, 31 Jul 2005 11:59:33 +0000 (11:59 +0000)]
gst/gstpad.h: Fix inline docs for GstPadLinkReturn.

Original commit message from CVS:
* gst/gstpad.h:
Fix inline docs for GstPadLinkReturn.
* gst/gststructure.c: (gst_structure_has_name):
* gst/gststructure.h:
* docs/gst/gstreamer-sections.txt:
New API: gst_structure_has_name().

19 years agoconfigure.ac: Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64 and _LARGEFIL...
Tim-Philipp Müller [Sat, 30 Jul 2005 15:00:07 +0000 (15:00 +0000)]
configure.ac: Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE in config.h as required...

Original commit message from CVS:
* configure.ac:
Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
and _LARGEFILE_SOURCE in config.h as required. Do not
export those flags in our .pc files any longer (#142209).
Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
* gst/elements/gstfilesink.c: (gst_file_sink_class_init),
(gst_file_sink_do_seek), (gst_file_sink_event),
(gst_file_sink_get_current_offset), (gst_file_sink_render):
Redo seek/tell calls with large file support in mind; add some
debugging messages; add log message that tells us when large
file support is unavailable or not enabled for some reason.
* gst/elements/gstfilesrc.c: (gst_file_src_class_init):
Add log message that tells us when large file support
is unavailable or not enabled for some reason.

19 years agocheck/gst/gstghostpad.c: Added test for removing an element with ghostpad from a...
Wim Taymans [Fri, 29 Jul 2005 19:22:28 +0000 (19:22 +0000)]
check/gst/gstghostpad.c: Added test for removing an element with ghostpad from a bin.

Original commit message from CVS:
* check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
Added test for removing an element with ghostpad from a bin.
Fixed test as current implementation does the right thing.

* gst/gstghostpad.c: (gst_proxy_pad_class_init),
(gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
(gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
(gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
(gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
(gst_proxy_pad_get_target), (gst_proxy_pad_init),
(gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
(gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
(gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
(gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
* gst/gstghostpad.h:
Clean up ghostpads, remove properties for internal stuff.
Make threadsafe.
Fix refcounting.
Prepare for switching targets, not all use cases work yet.

19 years agodocs/design/part-gstghostpad.txt: Small update.
Wim Taymans [Fri, 29 Jul 2005 19:19:29 +0000 (19:19 +0000)]
docs/design/part-gstghostpad.txt: Small update.

Original commit message from CVS:
* docs/design/part-gstghostpad.txt:
Small update.

* gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
(gst_bin_remove_func):
Unlinking pads while holding the bin LOCK is not a good
idea.

* gst/gstpad.c: (gst_pad_class_init),
(gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
(gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
No prob setting template after creating the pad.

19 years agogst/gstbus.c: gst_bus_poll may be called from other threads. Handle this nicely by...
Jan Schmidt [Fri, 29 Jul 2005 15:34:52 +0000 (15:34 +0000)]
gst/gstbus.c: gst_bus_poll may be called from other threads. Handle this nicely by not making poll_data disappear off...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
(gst_bus_peek), (gst_bus_source_dispatch),
(gst_bus_add_watch_full), (poll_handler), (poll_timeout),
(poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
gst_bus_poll may be called from other threads. Handle
this nicely by not making poll_data disappear off the
stack once gst_bus_poll returns.
gst_bus_peek now increments the refcount on the returned
message.

19 years agodocs/design/part-gstghostpad.txt: Overview of current GhostPad datastructures and...
Wim Taymans [Fri, 29 Jul 2005 11:29:52 +0000 (11:29 +0000)]
docs/design/part-gstghostpad.txt: Overview of current GhostPad datastructures and use cases for changing the target.

Original commit message from CVS:
* docs/design/part-gstghostpad.txt:
Overview of current GhostPad datastructures and use
cases for changing the target.

19 years agocheck/gst/gstbin.c: Added checks for hierarchy consistency whan adding linked element...
Wim Taymans [Thu, 28 Jul 2005 15:38:46 +0000 (15:38 +0000)]
check/gst/gstbin.c: Added checks for hierarchy consistency whan adding linked elements to bins.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
Added checks for hierarchy consistency whan adding linked
elements to bins.

* check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
Added check to test element scheduling without bin/pipeline.

* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
First add elements to bin, then link.

* gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
(gst_bin_remove_func):
Unlink pads from elements added/removed from bin to maintain
hierarchy consistency.

19 years agogst/base/gstbasetransform.*: Remove broken delay_configure (fixes renegotiation of...
Ronald S. Bultje [Thu, 28 Jul 2005 11:49:56 +0000 (11:49 +0000)]
gst/base/gstbasetransform.*: Remove broken delay_configure (fixes renegotiation of software scaling pipelines); remov...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
(gst_base_transform_handle_buffer):
* gst/base/gstbasetransform.h:
Remove broken delay_configure (fixes renegotiation of software
scaling pipelines); remove some leftover printf()s.

19 years agocheck/gst/gstghostpad.c: Added some more tests for wrong hierarchy
Wim Taymans [Thu, 28 Jul 2005 11:24:33 +0000 (11:24 +0000)]
check/gst/gstghostpad.c: Added some more tests for wrong hierarchy

Original commit message from CVS:
* check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
Added some more tests for wrong hierarchy

* docs/design/part-overview.txt:
Some updates.

* gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
Cleanups.

* gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
(gst_element_dispose):
Some more cleanups.

* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
(gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
(gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
(gst_pad_set_caps), (gst_pad_send_event):
Check for correct hierarchy when linking pads. Moving to
strict requirement for ghostpads when linking elements in
different bins.

* gst/gstpad.h:
Clean ups. Added WRONG_HIERARCHY return value.

19 years agogst/base/gstbasetransform.c: Better debug if no transform is possible.
Ronald S. Bultje [Thu, 28 Jul 2005 10:38:02 +0000 (10:38 +0000)]
gst/base/gstbasetransform.c: Better debug if no transform is possible.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
Better debug if no transform is possible.

19 years agodocs/random/wtay/network-transp: Some old doc I had.
Wim Taymans [Wed, 27 Jul 2005 20:22:48 +0000 (20:22 +0000)]
docs/random/wtay/network-transp: Some old doc I had.

Original commit message from CVS:
* docs/random/wtay/network-transp:
Some old doc I had.

19 years agolibs/gst/dataprotocol/dataprotocol.c: Fix serialization of seek events.
Wim Taymans [Wed, 27 Jul 2005 19:00:36 +0000 (19:00 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Fix serialization of seek events.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Fix serialization of seek events.

19 years agoFix compilation and fix event serialization.
Wim Taymans [Wed, 27 Jul 2005 18:47:48 +0000 (18:47 +0000)]
Fix compilation and fix event serialization.

Original commit message from CVS:
* check/gst-libs/gdp.c: (GST_START_TEST):
* gst/elements/gstfakesink.c: (gst_fake_sink_event):
Fix compilation and fix event serialization.

19 years agoSome docs updates
Wim Taymans [Wed, 27 Jul 2005 18:33:03 +0000 (18:33 +0000)]
Some docs updates

Original commit message from CVS:
* CHANGES-0.9:
* docs/design/part-TODO.txt:
* docs/design/part-events.txt:
Some docs updates

* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_activate_push), (gst_base_sink_activate_pull):
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
(gst_base_src_do_seek), (gst_base_src_event_handler),
(gst_base_src_loop):
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
(gst_base_transform_event), (gst_base_transform_handle_buffer),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough):
* gst/elements/gstfakesink.c: (gst_fake_sink_event):
* gst/elements/gstfilesink.c: (gst_file_sink_event):
Event updates.

* gst/gstbuffer.h:
Use faster casts.

* gst/gstelement.c: (gst_element_seek):
* gst/gstelement.h:
Update gst_element_seek.

* gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
(gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
(gst_event_new_flush_start), (gst_event_new_flush_stop),
(gst_event_new_eos), (gst_event_new_newsegment),
(gst_event_parse_newsegment), (gst_event_new_tag),
(gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
(gst_event_parse_qos), (gst_event_new_seek),
(gst_event_parse_seek), (gst_event_new_navigation):
* gst/gstevent.h:
Make GstEvent use GstStructure. Add parsing code, make sure the
API is sufficiently generic.
Mark possible directions of events and serialization.

* gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
(_gst_message_copy), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_custom),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done):
Small cleanups.

* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
(gst_pad_set_caps), (gst_pad_send_event):
Update for new events.
Catch events sent in wrong directions.

* gst/gstqueue.c: (gst_queue_link_src),
(gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
(gst_queue_handle_src_query):
Event updates.

* gst/gsttag.c:
* gst/gsttag.h:
Remove event code from this file.

* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
(gst_dp_event_from_packet):
Event updates.

19 years agogst/base/gstbasetransform.c: Make debugging actually useful.
Ronald S. Bultje [Wed, 27 Jul 2005 15:05:45 +0000 (15:05 +0000)]
gst/base/gstbasetransform.c: Make debugging actually useful.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
(gst_base_transform_get_size), (gst_base_transform_handle_buffer):
Make debugging actually useful.

19 years agogst/gstpad.c: Implement default fixation once again, so that gst_pad_fixate() actuall...
Ronald S. Bultje [Mon, 25 Jul 2005 12:31:08 +0000 (12:31 +0000)]
gst/gstpad.c: Implement default fixation once again, so that gst_pad_fixate() actually does anything at all. This pro...

Original commit message from CVS:
* gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
(gst_pad_fixate_caps):
Implement default fixation once again, so that gst_pad_fixate()
actually does anything at all. This probably needs to be some
sort of a last resort, and use profile-based fixation first, but
since that doesn't exist yet, this is the best we have. Fixes
visualization in Totem.

19 years agodocs/design/part-events.txt: Small update.
Wim Taymans [Fri, 22 Jul 2005 11:47:10 +0000 (11:47 +0000)]
docs/design/part-events.txt: Small update.

Original commit message from CVS:
* docs/design/part-events.txt:
Small update.

* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull):
Some more comments.

* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
(gst_fake_src_create):
Fix handoff marshall.

* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_transform_ip):
We're a real inplace element.

* gst/gstbus.c: (gst_bus_post):
Added some comments.

* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
* tests/muxing/case1.c: (main):
* tests/sched/dynamic-pipeline.c: (main):
* tests/sched/interrupt1.c: (main):
* tests/sched/interrupt2.c: (main):
* tests/sched/interrupt3.c: (main):
* tests/sched/runxml.c: (main):
* tests/sched/sched-stress.c: (main):
* tests/seeking/seeking1.c: (event_received), (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
* tests/threadstate/threadstate3.c: (main):
* tests/threadstate/threadstate4.c: (main):
* tests/threadstate/threadstate5.c: (main):
Fix the tests.

19 years agodocs/design/part-seeking.txt: Some small additions.
Wim Taymans [Thu, 21 Jul 2005 17:22:13 +0000 (17:22 +0000)]
docs/design/part-seeking.txt: Some small additions.

Original commit message from CVS:
* docs/design/part-seeking.txt:
Some small additions.

* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_get_times), (gst_base_sink_do_sync),
(gst_base_sink_activate_push), (gst_base_sink_activate_pull):
* gst/base/gstbasesink.h:
discont values are gint64, handle the math correctly.

* gst/base/gstbasesrc.c: (gst_base_src_loop):
Make the basesrc report error if the source pad is not linked.

* gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
(gst_queue_loop), (gst_queue_handle_src_query),
(gst_queue_src_activate_push):
Make queue collect data even if the srcpad is not linked.
Start pushing out data as soon as it is linked.

* gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
* gst/gstutils.h:
Added gst_flow_get_name() to ease error reporting.

19 years agogst/gstmessage.*: Added a bunch of messages for advanced seeking.
Wim Taymans [Wed, 20 Jul 2005 18:02:13 +0000 (18:02 +0000)]
gst/gstmessage.*: Added a bunch of messages for advanced seeking.

Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_parse_segment_start),
(gst_message_parse_segment_done):
* gst/gstmessage.h:
Added a bunch of messages for advanced seeking.

* gst/parse/grammar.y:
* libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
(gst_dpman_state_changed):
Fix some new-pad -> pad-added signals

19 years agodocs/: Document new-pad/state-change signal renames and the FixedList type rename.
Ronald S. Bultje [Wed, 20 Jul 2005 17:22:27 +0000 (17:22 +0000)]
docs/: Document new-pad/state-change signal renames and the FixedList type rename.

Original commit message from CVS:
* docs/manual/appendix-porting.xml:
* docs/pwg/appendix-porting.xml:
Document new-pad/state-change signal renames and the FixedList
type rename.

19 years agoGstElement::new-pad -> pad-added, GstElement::state-change -> state-changed, GstValue...
Ronald S. Bultje [Wed, 20 Jul 2005 17:16:44 +0000 (17:16 +0000)]
GstElement::new-pad -> pad-added, GstElement::state-change -> state-changed, GstValueFixedList -> GstValueArray, add ...

Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
* docs/random/ds/0.9-suggested-changes:
* gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
* gst/gstelement.h:
* gst/gstevent.h:
* gst/gstformat.h:
* gst/gstquery.h:
* gst/gststructure.c: (gst_structure_value_get_generic_type),
(gst_structure_parse_array), (gst_structure_parse_value):
* gst/gstvalue.c: (gst_type_is_fixed),
(gst_value_list_prepend_value), (gst_value_list_append_value),
(gst_value_list_get_size), (gst_value_list_get_value),
(gst_value_transform_array_string), (gst_value_serialize_array),
(gst_value_deserialize_array), (gst_value_intersect_array),
(gst_value_is_fixed), (_gst_value_initialize):
* gst/gstvalue.h:
GstElement::new-pad -> pad-added, GstElement::state-change ->
state-changed, GstValueFixedList -> GstValueArray, add format and
flags as their own arguments in gst_element_seek() (should improve
"bindeability"), remove function generators since they don't work
under a whole bunch of compilers (they were deprecated already
anyway).

19 years agopatch from Edgard to properly suppress these warnings
Thomas Vander Stichele [Wed, 20 Jul 2005 17:15:19 +0000 (17:15 +0000)]
patch from Edgard to properly suppress these warnings

Original commit message from CVS:
patch from Edgard to properly suppress these warnings

19 years agogst/gstinfo.*: Fix illegal cast on some platforms (#309253).
Ronald S. Bultje [Wed, 20 Jul 2005 16:20:39 +0000 (16:20 +0000)]
gst/gstinfo.*: Fix illegal cast on some platforms (#309253).

Original commit message from CVS:
* gst/gstinfo.c: (_gst_debug_nameof_funcptr),
(_gst_debug_register_funcptr):
* gst/gstinfo.h:
Fix illegal cast on some platforms (#309253).

19 years agogst/gstmessage.*: Add _new_custom, make _new_application a macro to _new_custom.
Ronald S. Bultje [Wed, 20 Jul 2005 11:35:18 +0000 (11:35 +0000)]
gst/gstmessage.*: Add _new_custom, make _new_application a macro to _new_custom.

Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_custom):
* gst/gstmessage.h:
Add _new_custom, make _new_application a macro to _new_custom.

19 years agogst/base/gstbasesrc.*: Add a gboolean to decide when to push out a discont.
Wim Taymans [Wed, 20 Jul 2005 10:58:10 +0000 (10:58 +0000)]
gst/base/gstbasesrc.*: Add a gboolean to decide when to push out a discont.

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):
* gst/base/gstbasesrc.h:
Add a gboolean to decide when to push out a discont.

* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_loop), (gst_queue_handle_src_query),
(gst_queue_sink_activate_push), (gst_queue_src_activate_push),
(gst_queue_set_property), (gst_queue_get_property):
Some cleanups.

* tests/threadstate/threadstate1.c: (main):
Make a thread test compile and run... very silly..

19 years agodocs/manual/appendix-porting.xml: Mention removal of libgstgconf-0.9.la and existence...
Ronald S. Bultje [Wed, 20 Jul 2005 10:13:46 +0000 (10:13 +0000)]
docs/manual/appendix-porting.xml: Mention removal of libgstgconf-0.9.la and existence of gconf elements.

Original commit message from CVS:
* docs/manual/appendix-porting.xml:
Mention removal of libgstgconf-0.9.la and existence of gconf
elements.

19 years agodocs/pwg/: Document base classes, update sections of n-to-1 and 1-to-n (muxer, fix...
Ronald S. Bultje [Wed, 20 Jul 2005 08:29:06 +0000 (08:29 +0000)]
docs/pwg/: Document base classes, update sections of n-to-1 and 1-to-n (muxer, fix some code examples and links and u...

Original commit message from CVS:
* docs/pwg/advanced-clock.xml:
* docs/pwg/appendix-porting.xml:
* docs/pwg/intro-preface.xml:
* docs/pwg/other-base.xml:
* docs/pwg/other-manager.xml:
* docs/pwg/other-nton.xml:
* docs/pwg/other-ntoone.xml:
* docs/pwg/other-oneton.xml:
* docs/pwg/pwg.xml:
Document base classes, update sections of n-to-1 and 1-to-n (muxer,
demuxer), remove n-to-n (was never written), fix some code examples
and links and update the porting section to include all this.

19 years agogst/gstqueue.*: Propagate GstFlowReturn more intelligently upstream and output an...
Wim Taymans [Tue, 19 Jul 2005 17:46:37 +0000 (17:46 +0000)]
gst/gstqueue.*: Propagate GstFlowReturn more intelligently upstream and output an ERROR/EOS when streaming stopped du...

Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
(gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
(gst_queue_handle_src_query), (gst_queue_sink_activate_push),
(gst_queue_src_activate_push), (gst_queue_change_state),
(gst_queue_get_property):
* gst/gstqueue.h:
Propagate GstFlowReturn more intelligently upstream and output
an ERROR/EOS when streaming stopped due to fatal error.

19 years agotools/gst-launch.c: Don't block forever for the state change to complete, the pipelin...
Wim Taymans [Tue, 19 Jul 2005 14:52:59 +0000 (14:52 +0000)]
tools/gst-launch.c: Don't block forever for the state change to complete, the pipeline already did with a sensible ti...

Original commit message from CVS:
* tools/gst-launch.c: (check_intr), (event_loop), (main):
Don't block forever for the state change to complete, the
pipeline already did with a sensible timeout.

19 years agogst/base/gstbasesrc.c: Make sure we never call the create function is we got deactivated.
Wim Taymans [Tue, 19 Jul 2005 13:43:50 +0000 (13:43 +0000)]
gst/base/gstbasesrc.c: Make sure we never call the create function is we got deactivated.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
Make sure we never call the create function is we
got deactivated.

19 years agoupdate for latest changes
Christian Schaller [Tue, 19 Jul 2005 11:27:07 +0000 (11:27 +0000)]
update for latest changes

Original commit message from CVS:
update for latest changes

19 years agogst/parse/parse.l: Attempt to solve bug #172815.
Andy Wingo [Tue, 19 Jul 2005 10:40:49 +0000 (10:40 +0000)]
gst/parse/parse.l: Attempt to solve bug #172815.

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

* gst/parse/parse.l: Attempt to solve bug #172815.

19 years agoSmall docs updates.
Wim Taymans [Tue, 19 Jul 2005 09:19:06 +0000 (09:19 +0000)]
Small docs updates.

Original commit message from CVS:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* gst/base/gstbasesrc.c: (gst_base_src_do_seek):
Small docs updates.
Only update the seeking values when we are not
busy streaming.

19 years agoOops, ignore the result of gst_pad_push_event here.
Jan Schmidt [Mon, 18 Jul 2005 17:43:52 +0000 (17:43 +0000)]
Oops, ignore the result of gst_pad_push_event here.

Original commit message from CVS:
Oops, ignore the result of gst_pad_push_event here.

19 years agogst/base/gstbasesrc.c: Send discont event from the loop function, as pads aren't...
Jan Schmidt [Mon, 18 Jul 2005 17:12:36 +0000 (17:12 +0000)]
gst/base/gstbasesrc.c: Send discont event from the loop function, as pads aren't activated yet in the activate_push h...

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_loop),
(gst_base_src_activate_push):
Send discont event from the loop function, as pads
aren't activated yet in the activate_push handler.

* gst/gstbin.c: (bin_bus_handler):
Don't leak element name.

19 years agoconfigure.ac: Use AS_LIBTOOL_TAGS.
Andy Wingo [Mon, 18 Jul 2005 14:47:39 +0000 (14:47 +0000)]
configure.ac: Use AS_LIBTOOL_TAGS.

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

* configure.ac: Use AS_LIBTOOL_TAGS.

19 years agodocs/gst/gstreamer.types: Remove deleted types.
Wim Taymans [Mon, 18 Jul 2005 12:58:27 +0000 (12:58 +0000)]
docs/gst/gstreamer.types: Remove deleted types.

Original commit message from CVS:
* docs/gst/gstreamer.types:
Remove deleted types.

19 years agoRemoved plugable schedulers.
Wim Taymans [Mon, 18 Jul 2005 12:49:53 +0000 (12:49 +0000)]
Removed plugable schedulers.

Original commit message from CVS:
Removed plugable schedulers.
Removed Scheduler/Manager from elements.
Removed gsttypes.h, rearranged includes.
Removed dependency pad<->element, element<>pipeline, and
various others,  fix includes.
implement gst_pad_get_parent() with gst_object_get_parent()
Make GstTask sefcontained.
Fix _get_state() on GstBin, it did not return ASYNC with a 0
timeout.
Fix endless loop in iterator_fold_with_resync.

19 years agogst/: Remove old file.
Wim Taymans [Mon, 18 Jul 2005 09:22:55 +0000 (09:22 +0000)]
gst/: Remove old file.

Original commit message from CVS:
* gst/Makefile.am:
* gst/gstarch.h:
Remove old file.

19 years agogst/Makefile.am: No more cothreads.h
Wim Taymans [Mon, 18 Jul 2005 08:51:31 +0000 (08:51 +0000)]
gst/Makefile.am: No more cothreads.h

Original commit message from CVS:
* gst/Makefile.am:
No more cothreads.h

19 years agogst/cothreads.*: Let's remove these.
Wim Taymans [Mon, 18 Jul 2005 08:43:27 +0000 (08:43 +0000)]
gst/cothreads.*: Let's remove these.

Original commit message from CVS:
* gst/cothreads.c:
* gst/cothreads.h:
Let's remove these.

19 years agodocs/design/: Some more docs in the works.
Wim Taymans [Mon, 18 Jul 2005 08:28:48 +0000 (08:28 +0000)]
docs/design/: Some more docs in the works.

Original commit message from CVS:
* docs/design/part-dynamic.txt:
* docs/design/part-events.txt:
* docs/design/part-seeking.txt:
Some more docs in the works.

* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
(gst_base_transform_getcaps), (gst_base_transform_configure_caps),
(gst_base_transform_setcaps), (gst_base_transform_get_size),
(gst_base_transform_buffer_alloc), (gst_base_transform_event),
(gst_base_transform_handle_buffer),
(gst_base_transform_sink_activate_push),
(gst_base_transform_src_activate_pull),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough):
Refcounting fixes.

* gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
Cleanups.

* gst/gstevent.c: (gst_event_finalize):
Set SRC to NULL.

* gst/gstutils.c: (gst_element_unlink),
(gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
(gst_pad_proxy_setcaps):
* gst/gstutils.h:
Add _get_parent_element() to get a pads parent as an element.

19 years agocheck/gst/gstbin.c: Remove bogus test.
Wim Taymans [Sun, 17 Jul 2005 22:44:00 +0000 (22:44 +0000)]
check/gst/gstbin.c: Remove bogus test.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
Remove bogus test.

19 years agogst/base/gstbasesink.c: Refcounting fixes.
Wim Taymans [Sun, 17 Jul 2005 22:26:02 +0000 (22:26 +0000)]
gst/base/gstbasesink.c: Refcounting fixes.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
(gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
(gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_chain), (gst_base_sink_loop),
(gst_base_sink_deactivate), (gst_base_sink_activate_push),
(gst_base_sink_activate_pull), (gst_base_sink_change_state):
Refcounting fixes.
Fix logic for returning ASYNC when not prerolled.

19 years agogst/gstqueue.c: Fix nasty refcount bug.
Wim Taymans [Sun, 17 Jul 2005 22:22:52 +0000 (22:22 +0000)]
gst/gstqueue.c: Fix nasty refcount bug.

Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_handle_sink_event):
Fix nasty refcount bug.

19 years agoMoved fdsrc to gst-plugins.
Philippe Kalaf [Sat, 16 Jul 2005 19:25:41 +0000 (19:25 +0000)]
Moved fdsrc to gst-plugins.

Original commit message from CVS:
Moved fdsrc to gst-plugins.

19 years agoForgot changelog entry
Philippe Kalaf [Sat, 16 Jul 2005 15:43:10 +0000 (15:43 +0000)]
Forgot changelog entry

Original commit message from CVS:
Forgot changelog entry

19 years agogst/elements/gstfdsrc.c gst/elements/gstfdsrc.h gst/elements/gstelements.c gst/elemen...
Philippe Kalaf [Sat, 16 Jul 2005 15:41:04 +0000 (15:41 +0000)]
gst/elements/gstfdsrc.c gst/elements/gstfdsrc.h gst/elements/gstelements.c gst/elements/Makefile.am

Original commit message from CVS:
2005-07-16 Philippe Khalaf <burger@speedy.org>
* gst/elements/gstfdsrc.c
* gst/elements/gstfdsrc.h
* gst/elements/gstelements.c
* gst/elements/Makefile.am
Ported fdsrc to 0.9.

19 years agogst/base/gstbasesink.c: Fix compile error.
Wim Taymans [Sat, 16 Jul 2005 14:52:15 +0000 (14:52 +0000)]
gst/base/gstbasesink.c: Fix compile error.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync):
Fix compile error.