platform/upstream/gstreamer.git
18 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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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

18 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.

18 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.

18 years agogst/base/gstbasesink.*: Store and use discont values when syncing buffers as describe...
Wim Taymans [Sat, 16 Jul 2005 14:41:25 +0000 (14:41 +0000)]
gst/base/gstbasesink.*: Store and use discont values when syncing buffers as described in design docs.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_get_times),
(gst_base_sink_do_sync), (gst_base_sink_change_state):
* gst/base/gstbasesink.h:
Store and use discont values when syncing buffers as described
in design docs.

* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
(gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
(gst_base_src_activate_push):
Push discont event when starting.

* gst/elements/gstidentity.c: (gst_identity_transform):
Small cleanups.

* gst/gstbin.c: (gst_bin_change_state):
Small cleanups in base_time  distribution.

* gst/gstelement.c: (gst_element_set_base_time),
(gst_element_get_base_time), (gst_element_change_state):
* gst/gstelement.h:
Added methods for the base_time of the element.
Some MT fixes.

* gst/gstpipeline.c: (gst_pipeline_send_event),
(gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
(gst_pipeline_get_last_stream_time):
* gst/gstpipeline.h:
MT fixes.
Handle seeking as described in design doc, remove stream_time
hack.
Cleanups clock and stream_time selection code. Added accessors
for the stream_time.

18 years agogst/gsterror.c (_gst_core_errors_init): Use the magic word..
Andy Wingo [Sat, 16 Jul 2005 14:06:21 +0000 (14:06 +0000)]
gst/gsterror.c (_gst_core_errors_init): Use the magic word..

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

* gst/gsterror.c (_gst_core_errors_init): Use the magic word..

18 years agocheck/gst/gstbin.c: Make elements silent as the deep_notify refs the parent, which...
Wim Taymans [Sat, 16 Jul 2005 13:50:37 +0000 (13:50 +0000)]
check/gst/gstbin.c: Make elements silent as the deep_notify refs the parent, which might make the test fail.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
Make elements silent as the deep_notify refs the
parent, which might make the test fail.

* gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
Don't hold the lock for too long.

18 years agogst/base/gstbasesrc.c: Don't unref the caps we passed to gst_caps_make_writable(...
Tim-Philipp Müller [Sat, 16 Jul 2005 12:33:13 +0000 (12:33 +0000)]
gst/base/gstbasesrc.c: Don't unref the caps we passed to gst_caps_make_writable() after passing them. gst_caps_make_w...

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
Don't unref the caps we passed to gst_caps_make_writable() after
passing them. gst_caps_make_writable() will do that for us.

18 years agogst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro (#157311).
Andy Wingo [Fri, 15 Jul 2005 16:10:41 +0000 (16:10 +0000)]
gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro (#157311).

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

* gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
(#157311).

18 years agogst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our own marshalling...
Andy Wingo [Fri, 15 Jul 2005 14:59:22 +0000 (14:59 +0000)]
gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our own marshalling function for the handoff signal. Pro...

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

* gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
own marshalling function for the handoff signal. Properly type the
buffer as a buffer. Fixes some warnings. Should do a more general
solution.
(gst_identity_class_init): Plug into the right marshaller.

18 years agodocs/design/: Updated docs, mostly DISCONT related.
Wim Taymans [Fri, 15 Jul 2005 13:44:19 +0000 (13:44 +0000)]
docs/design/: Updated docs, mostly DISCONT related.

Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-clocks.txt:
* docs/design/part-element-sink.txt:
* docs/design/part-events.txt:
* docs/design/part-gstpipeline.txt:
Updated docs, mostly DISCONT related.

18 years agodocs/pwg/building-pads.xml: s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
Tim-Philipp Müller [Fri, 15 Jul 2005 12:55:30 +0000 (12:55 +0000)]
docs/pwg/building-pads.xml: s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()

Original commit message from CVS:
* docs/pwg/building-pads.xml:
s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()

18 years agoremove irrelevant code
Andy Wingo [Fri, 15 Jul 2005 11:05:52 +0000 (11:05 +0000)]
remove irrelevant code

Original commit message from CVS:
remove irrelevant code

18 years agotools/gst-typefind.c: Update, add copyright block.
Andy Wingo [Fri, 15 Jul 2005 11:04:18 +0000 (11:04 +0000)]
tools/gst-typefind.c: Update, add copyright block.

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

* tools/gst-typefind.c: Update, add copyright block.

* gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
Normalize and truncate caps before fixation.

* gst/gstcaps.h:
* gst/gstcaps.c (gst_caps_truncate): New function, destructively
discards all but the first structure from its argument.

18 years agogst/base/gstbasetransform.*: Make passthrough work using the bufferpools.
Wim Taymans [Fri, 15 Jul 2005 10:41:32 +0000 (10:41 +0000)]
gst/base/gstbasetransform.*: Make passthrough work using the bufferpools.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_init),
(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_handle_buffer), (gst_base_transform_getrange),
(gst_base_transform_chain), (gst_base_transform_change_state),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough):
* gst/base/gstbasetransform.h:
Make passthrough work using the bufferpools.
Changed API a bit, subclasses have to write into a buffer
provided by the base class.
More debug info in nego functions.

* gst/elements/gstidentity.c: (gst_identity_init),
(gst_identity_transform):
Port to new base class.

18 years agoTotally dump messages in -launch with the -m option.
Wim Taymans [Fri, 15 Jul 2005 10:30:49 +0000 (10:30 +0000)]
Totally dump messages in -launch with the -m option.

Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_state_changed):
* tools/gst-launch.c: (event_loop), (main):
Totally dump messages in -launch with the -m option.
Fix message name for State messages,

18 years agogst/base/gstbasesrc.c: Post error messages on errors.
Wim Taymans [Thu, 14 Jul 2005 18:45:51 +0000 (18:45 +0000)]
gst/base/gstbasesrc.c: Post error messages on errors.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_loop):
Post error messages on errors.

18 years agogst/gstcaps.c: Remove debug info.
Wim Taymans [Thu, 14 Jul 2005 18:10:04 +0000 (18:10 +0000)]
gst/gstcaps.c: Remove debug info.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_do_simplify):
Remove debug info.

* gst/gsterror.h:
Define error for stream stopped.

* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
Do proper return values.

* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
(gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
(gst_pad_get_range):
Better return values.

* gst/gstpad.h:
Reorganise return values, add macro to check for fatal errors.

* gst/gstqueue.c: (gst_queue_chain):
Return proper GstFlowReturn values,

18 years agomore autistic cleanliness in functions/names/defines
Thomas Vander Stichele [Thu, 14 Jul 2005 09:35:12 +0000 (09:35 +0000)]
more autistic cleanliness in functions/names/defines

Original commit message from CVS:
more autistic cleanliness in functions/names/defines

18 years agofix debug ifdef
Thomas Vander Stichele [Wed, 13 Jul 2005 18:29:41 +0000 (18:29 +0000)]
fix debug ifdef

Original commit message from CVS:
fix debug ifdef

18 years agogst/base/gstbasesrc.c (gst_base_src_start): Post an error if the source couldn't...
Andy Wingo [Wed, 13 Jul 2005 16:26:07 +0000 (16:26 +0000)]
gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the source couldn't negotiate.

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

* gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
source couldn't negotiate.

18 years agoadd a suppression from Edgard
Thomas Vander Stichele [Wed, 13 Jul 2005 13:14:57 +0000 (13:14 +0000)]
add a suppression from Edgard

Original commit message from CVS:
add a suppression from Edgard

18 years agomove two testsuite apps over to the check dir
Thomas Vander Stichele [Wed, 13 Jul 2005 13:10:18 +0000 (13:10 +0000)]
move two testsuite apps over to the check dir

Original commit message from CVS:

* testsuite/caps/Makefile.am:
* testsuite/caps/value_compare.c:
* testsuite/caps/value_intersect.c:
* check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
move two testsuite apps over to the check dir

18 years agogst/base/gstbasetransform.c: Added more debug info in the negotiate process.
Wim Taymans [Tue, 12 Jul 2005 17:17:34 +0000 (17:17 +0000)]
gst/base/gstbasetransform.c: Added more debug info in the negotiate process.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
Added more debug info in the negotiate process.

* gst/gstmessage.h:
Prepare for segment playback.

* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
Better debugging.

* gst/gstutils.c:
Some more docs.

* tools/gst-launch.c: (main):
NULL pipeline on errors.

18 years agogst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or not it comes from...
Andy Wingo [Tue, 12 Jul 2005 17:04:41 +0000 (17:04 +0000)]
gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or not it comes from a malloc region. Make sure our copy ...

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

* gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
not it comes from a malloc region. Make sure our copy gets freed.

18 years agofix refcounting of warning and error messages
Thomas Vander Stichele [Tue, 12 Jul 2005 16:28:36 +0000 (16:28 +0000)]
fix refcounting of warning and error messages

Original commit message from CVS:
fix refcounting of warning and error messages

18 years agore-enable leak checking :)
Thomas Vander Stichele [Tue, 12 Jul 2005 13:26:22 +0000 (13:26 +0000)]
re-enable leak checking :)

Original commit message from CVS:
re-enable leak checking :)

18 years agocheck/Makefile.am: add per-test valgrind targets
Thomas Vander Stichele [Tue, 12 Jul 2005 12:20:01 +0000 (12:20 +0000)]
check/Makefile.am: add per-test valgrind targets

Original commit message from CVS:

* check/Makefile.am:
add per-test valgrind targets
* check/gst-libs/gdp.c: (GST_START_TEST),
(gst_data_protocol_suite), (main):
clean up

18 years agocheck/Makefile.am: instate more valgrindable tests
Thomas Vander Stichele [Tue, 12 Jul 2005 09:41:00 +0000 (09:41 +0000)]
check/Makefile.am: instate more valgrindable tests

Original commit message from CVS:
2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>

* check/Makefile.am:
instate more valgrindable tests
* check/elements/gstfakesrc.c: (chain_func), (event_func),
(GST_START_TEST), (fakesrc_suite):
* check/gst/gstpad.c: (GST_START_TEST):
* check/gst/gststructure.c: (GST_START_TEST):
fix test leaks
* docs/gst/tmpl/gstminiobject.sgml:
* gst/gstpad.c: (gst_pad_finalize):
fix the static mutex leak

18 years agocheck/Makefile.am: add two more tests for valgrinding
Thomas Vander Stichele [Mon, 11 Jul 2005 18:41:49 +0000 (18:41 +0000)]
check/Makefile.am: add two more tests for valgrinding

Original commit message from CVS:
* check/Makefile.am:
add two more tests for valgrinding
* check/gst/gstvalue.c: (GST_START_TEST):
test refcount of deserialized buffer, found a leak
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* docs/gst/tmpl/gstminiobject.sgml:
add miniobject to docs
* gst/gstminiobject.c:
add some docs
* gst/gstvalue.c: (gst_value_deserialize_buffer),
(gst_string_unwrap):
fix a hard-to-find invalid write for one of the tests
fix a leak for deserialized buffers

18 years agodon't valgrind as part of make check for now
Thomas Vander Stichele [Mon, 11 Jul 2005 15:41:07 +0000 (15:41 +0000)]
don't valgrind as part of make check for now

Original commit message from CVS:
don't valgrind as part of make check for now

18 years agospecify tool
Thomas Vander Stichele [Mon, 11 Jul 2005 15:22:24 +0000 (15:22 +0000)]
specify tool

Original commit message from CVS:
specify tool

18 years agodocs/pwg/: Rewrite scheduling-chapter for scheduling model in 0.9. Add lots of exampl...
Ronald S. Bultje [Mon, 11 Jul 2005 15:18:32 +0000 (15:18 +0000)]
docs/pwg/: Rewrite scheduling-chapter for scheduling model in 0.9. Add lots of example code and explanation for pad a...

Original commit message from CVS:
* docs/pwg/advanced-events.xml:
* docs/pwg/advanced-request.xml:
* docs/pwg/advanced-scheduling.xml:
* docs/pwg/appendix-porting.xml:
* docs/pwg/building-boiler.xml:
* docs/pwg/intro-preface.xml:
* docs/pwg/other-ntoone.xml:
Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
of example code and explanation for pad activation, loop() and
getrange() functions and a bit more. Remove old comments pointing
to loop-functions.
* examples/pwg/Makefile.am:
Add loop/getrange examples.

18 years agovalgrind unit tests as check-local; add gst_deinit
Thomas Vander Stichele [Mon, 11 Jul 2005 15:10:40 +0000 (15:10 +0000)]
valgrind unit tests as check-local; add gst_deinit

Original commit message from CVS:
valgrind unit tests as check-local; add gst_deinit

18 years agoadd num-buffers property to basesrc
Thomas Vander Stichele [Mon, 11 Jul 2005 15:06:27 +0000 (15:06 +0000)]
add num-buffers property to basesrc

Original commit message from CVS:
add num-buffers property to basesrc

18 years agomore macro splitting
Thomas Vander Stichele [Sun, 10 Jul 2005 12:03:13 +0000 (12:03 +0000)]
more macro splitting

Original commit message from CVS:
more macro splitting

18 years agogst/gstelement.c: add debug
Thomas Vander Stichele [Sun, 10 Jul 2005 00:07:51 +0000 (00:07 +0000)]
gst/gstelement.c: add debug

Original commit message from CVS:

* gst/gstelement.c: (gst_element_get_bus):
add debug
* tools/gst-launch.c: (check_intr), (event_loop):
fix bus leaks

18 years agofix caps leak in both cases
Thomas Vander Stichele [Sat, 9 Jul 2005 23:52:07 +0000 (23:52 +0000)]
fix caps leak in both cases

Original commit message from CVS:
fix caps leak in both cases

18 years agoduh, remove unused var
Thomas Vander Stichele [Sat, 9 Jul 2005 23:48:45 +0000 (23:48 +0000)]
duh, remove unused var

Original commit message from CVS:
duh, remove unused var

18 years agofix a caps leak
Thomas Vander Stichele [Sat, 9 Jul 2005 23:47:23 +0000 (23:47 +0000)]
fix a caps leak

Original commit message from CVS:
fix a caps leak

18 years agogst/base/gstbasesrc.c: add finalize method and clean up properly
Thomas Vander Stichele [Sat, 9 Jul 2005 23:33:24 +0000 (23:33 +0000)]
gst/base/gstbasesrc.c: add finalize method and clean up properly

Original commit message from CVS:

* gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_finalize):
add finalize method and clean up properly
* gst/gstpipeline.c: (gst_pipeline_dispose):
add debug

18 years agodon't get src for all messages; only for eos
Thomas Vander Stichele [Sat, 9 Jul 2005 23:15:27 +0000 (23:15 +0000)]
don't get src for all messages; only for eos

Original commit message from CVS:
don't get src for all messages; only for eos

18 years agocheck/gst/gstbin.c: add more things to check
Thomas Vander Stichele [Sat, 9 Jul 2005 22:54:28 +0000 (22:54 +0000)]
check/gst/gstbin.c: add more things to check

Original commit message from CVS:

* check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
(gst_bin_suite):
add more things to check
* gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
* gst/gstelement.c:
more debug

18 years agoadd debugging category use GST_START_TEST now, so we add a debug line
Thomas Vander Stichele [Sat, 9 Jul 2005 16:36:18 +0000 (16:36 +0000)]
add debugging category use GST_START_TEST now, so we add a debug line

Original commit message from CVS:
add debugging category
use GST_START_TEST now, so we add a debug line

18 years agocheck/gst/gstbin.c: add test for state change message on a bin
Thomas Vander Stichele [Sat, 9 Jul 2005 15:18:53 +0000 (15:18 +0000)]
check/gst/gstbin.c: add test for state change message on a bin

Original commit message from CVS:

* check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
add test for state change message on a bin
* check/gst/gstelement.c: (START_TEST), (gst_element_suite):
add another test
* gst/gstbin.c: (gst_bin_init):
* gst/gstbus.c: (gst_bus_init), (gst_bus_post):
* gst/gstelement.c: (gst_element_post_message),
(gst_element_set_state):
* gst/gstelementfactory.c: (gst_element_factory_create):
* gst/gstmessage.c: (gst_message_new):
* gst/gstscheduler.c:
various debugging additions and cleanups

18 years agoadding tests for elements
Thomas Vander Stichele [Fri, 8 Jul 2005 16:41:45 +0000 (16:41 +0000)]
adding tests for elements

Original commit message from CVS:
adding tests for elements

18 years agogst/registries/gstlibxmlregistry.c: plug more leaks. A simple gst_init() now is...
Thomas Vander Stichele [Fri, 8 Jul 2005 16:16:29 +0000 (16:16 +0000)]
gst/registries/gstlibxmlregistry.c: plug more leaks.  A simple gst_init() now is leakfree, yay.

Original commit message from CVS:

* gst/registries/gstlibxmlregistry.c: (load_feature):
plug more leaks.  A simple gst_init() now is leakfree, yay.

18 years agoplug another memleak in registry loading - I have NO idea why this was returning...
Thomas Vander Stichele [Fri, 8 Jul 2005 16:08:16 +0000 (16:08 +0000)]
plug another memleak in registry loading - I have NO idea why this was returning a GstPlugin

Original commit message from CVS:
plug another memleak in registry loading - I have NO idea why this was returning a GstPlugin

18 years agoI need to learn to stop doing this
Thomas Vander Stichele [Fri, 8 Jul 2005 14:50:44 +0000 (14:50 +0000)]
I need to learn to stop doing this

Original commit message from CVS:
I need to learn to stop doing this

18 years agoadd right variable
Thomas Vander Stichele [Fri, 8 Jul 2005 14:39:01 +0000 (14:39 +0000)]
add right variable

Original commit message from CVS:
add right variable

18 years agoconfigure.ac: use GST_SET_ERROR_CFLAGS
Thomas Vander Stichele [Fri, 8 Jul 2005 14:35:57 +0000 (14:35 +0000)]
configure.ac: use GST_SET_ERROR_CFLAGS

Original commit message from CVS:

* configure.ac:
use GST_SET_ERROR_CFLAGS
* docs/faq/cvs.xml:
change to ERROR_CFLAGS

18 years agoconfigure.ac: make GST_ERROR_CFLAGS overridable and re-enable Werror
Thomas Vander Stichele [Fri, 8 Jul 2005 14:01:31 +0000 (14:01 +0000)]
configure.ac: make GST_ERROR_CFLAGS overridable and re-enable Werror

Original commit message from CVS:
* configure.ac:
make GST_ERROR_CFLAGS overridable and re-enable Werror
* docs/faq/cvs.xml:
add a note about error CFLAGS
* docs/gst/tmpl/gstfakesrc.sgml:
* gst/elements/gstfakesrc.c:
comment out some unused code
* gst/gst.c: (split_and_iterate):
* gst/registries/gstlibxmlregistry.c: (load_pad_template),
(load_feature):
plug some memleaks

18 years agomake libs use same gtk-doc.mak
Thomas Vander Stichele [Thu, 7 Jul 2005 15:07:21 +0000 (15:07 +0000)]
make libs use same gtk-doc.mak

Original commit message from CVS:
make libs use same gtk-doc.mak

18 years agofactor out gtk-doc
Thomas Vander Stichele [Thu, 7 Jul 2005 14:16:40 +0000 (14:16 +0000)]
factor out gtk-doc

Original commit message from CVS:
factor out gtk-doc

18 years agogst/schedulers/threadscheduler.c: Unlock the STREAM_LOCK completely.
Wim Taymans [Thu, 7 Jul 2005 14:01:47 +0000 (14:01 +0000)]
gst/schedulers/threadscheduler.c: Unlock the STREAM_LOCK completely.

Original commit message from CVS:
* gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
(gst_thread_scheduler_dispose):
Unlock the STREAM_LOCK completely.

18 years agoignore more
Thomas Vander Stichele [Thu, 7 Jul 2005 13:14:40 +0000 (13:14 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoignore more
Thomas Vander Stichele [Thu, 7 Jul 2005 13:12:43 +0000 (13:12 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoadding an element test
Thomas Vander Stichele [Thu, 7 Jul 2005 11:59:37 +0000 (11:59 +0000)]
adding an element test

Original commit message from CVS:
adding an element test

18 years agogst/gstbus.c (gst_bus_have_pending): Remove intensely irritating debug message.
Andy Wingo [Thu, 7 Jul 2005 11:09:32 +0000 (11:09 +0000)]
gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating debug message.

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

* gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
debug message.

18 years agoanother doc fix
Thomas Vander Stichele [Thu, 7 Jul 2005 10:03:06 +0000 (10:03 +0000)]
another doc fix

Original commit message from CVS:
another doc fix

18 years agomore macosx madness fixing
Thomas Vander Stichele [Thu, 7 Jul 2005 09:10:17 +0000 (09:10 +0000)]
more macosx madness fixing

Original commit message from CVS:
more macosx madness fixing

18 years agogst/gstquery.*: Remove old types
Wim Taymans [Thu, 7 Jul 2005 08:43:17 +0000 (08:43 +0000)]
gst/gstquery.*: Remove old types

Original commit message from CVS:
* gst/gstquery.c:
* gst/gstquery.h:
Remove old types

18 years agogst/base/gstbasesrc.c: Allow subclasses to implement their own negotiation.
Wim Taymans [Thu, 7 Jul 2005 08:16:54 +0000 (08:16 +0000)]
gst/base/gstbasesrc.c: Allow subclasses to implement their own negotiation.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_default_negotiate), (gst_base_src_negotiate):
Allow subclasses to implement their own negotiation.

18 years agodocs/design/: Update design notes to reflect the movement of responsibility for bus...
Jan Schmidt [Wed, 6 Jul 2005 17:17:59 +0000 (17:17 +0000)]
docs/design/: Update design notes to reflect the movement of responsibility for bus handling from GstPipeline to

Original commit message from CVS:

* docs/design/part-gstbin.txt:
* docs/design/part-gstpipeline.txt:
Update design notes to reflect the movement of
responsibility for bus handling from GstPipeline to
GstBin

18 years agoconfigure.ac: Remove unnecessary queue2/3/4 examples.
Jan Schmidt [Wed, 6 Jul 2005 16:45:45 +0000 (16:45 +0000)]
configure.ac: Remove unnecessary queue2/3/4 examples.

Original commit message from CVS:
* configure.ac:
Remove unnecessary queue2/3/4 examples.

18 years agoexamples/: Update a couple of the examples to work again.
Jan Schmidt [Wed, 6 Jul 2005 16:22:47 +0000 (16:22 +0000)]
examples/: Update a couple of the examples to work again.

Original commit message from CVS:
* examples/Makefile.am:
* examples/helloworld/helloworld.c: (event_loop), (main):
* examples/queue/queue.c: (event_loop), (main):
* examples/queue2/queue2.c: (main):
Update a couple of the examples to work again.

* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
(gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
Spelling corrections and extra debug.

* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
(gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
(gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
* gst/gstbin.h:
* gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
(gst_pipeline_change_state):
* gst/gstpipeline.h:
Move the bus handler for children to the GstBin, and create a
separate bus for receiving messages from children to the one the
bus sends 'upwards' on.

18 years agogst/base/: Make basesrc negotiate.
Wim Taymans [Wed, 6 Jul 2005 13:25:26 +0000 (13:25 +0000)]
gst/base/: Make basesrc negotiate.

Original commit message from CVS:
* gst/base/README:
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
(gst_base_sink_handle_object), (gst_base_sink_loop),
(gst_base_sink_change_state):
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_setcaps),
(gst_base_src_getcaps), (gst_base_src_loop),
(gst_base_src_default_negotiate), (gst_base_src_negotiate),
(gst_base_src_start), (gst_base_src_change_state):
* gst/base/gstbasesrc.h:
Make basesrc negotiate.
Handle the case where preroll fails in basesink.
Update README.

18 years agogst/gstpad.c: Implement the fixate function.
Wim Taymans [Wed, 6 Jul 2005 13:20:47 +0000 (13:20 +0000)]
gst/gstpad.c: Implement the fixate function.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
Implement the fixate function.
Clean up acceptcaps.

18 years agodocs/pwg/: Remove never-written filter-factory chapter; I'll add the various base...
Ronald S. Bultje [Wed, 6 Jul 2005 12:24:50 +0000 (12:24 +0000)]
docs/pwg/: Remove never-written filter-factory chapter; I'll add the various base classes to part 4 ("other element t...

Original commit message from CVS:
* docs/pwg/building-filterfactory.xml:
* docs/pwg/pwg.xml:
Remove never-written filter-factory chapter; I'll add the various
base classes to part 4 ("other element types") later on.

18 years agoAdd a chapter on caps negotiation, simplify the original code samples a bit w.r.t...
Ronald S. Bultje [Wed, 6 Jul 2005 12:18:00 +0000 (12:18 +0000)]
Add a chapter on caps negotiation, simplify the original code samples a bit w.r.t. caps negotiation, add link to the ...

Original commit message from CVS:
* docs/pwg/advanced-negotiation.xml:
* docs/pwg/building-boiler.xml:
* docs/pwg/building-pads.xml:
* docs/pwg/pwg.xml:
* examples/pwg/Makefile.am:
Add a chapter on caps negotiation, simplify the original code
samples a bit w.r.t. caps negotiation, add link to the advanced
section. Add a bunch of examples showing different use cases of
different types of caps negotiation. Upstream renegotiation isn't
fully documented yet since nobody knows how that works.

18 years agopc file cleanups
Thomas Vander Stichele [Wed, 6 Jul 2005 11:34:06 +0000 (11:34 +0000)]
pc file cleanups

Original commit message from CVS:
pc file cleanups

18 years agoif pad has no parent, return NULL as list of internal links
Thomas Vander Stichele [Wed, 6 Jul 2005 11:31:57 +0000 (11:31 +0000)]
if pad has no parent, return NULL as list of internal links

Original commit message from CVS:

* check/gst/gstpad.c:
* check/gstcheck.c:
* gst/gstpad.c: (gst_pad_get_internal_links_default):
if pad has no parent, return NULL as list of internal links

18 years agogst/: s/BASESRC/BASE_SRC/g.
Andy Wingo [Tue, 5 Jul 2005 16:38:13 +0000 (16:38 +0000)]
gst/: s/BASESRC/BASE_SRC/g.

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

* gst/elements/gstfilesrc.c:
* gst/elements/gstfakesrc.c:
* gst/base/gstpushsrc.c:
* gst/base/gstbasesrc.h:
* gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.

18 years agoupdate spec file
Christian Schaller [Tue, 5 Jul 2005 15:28:18 +0000 (15:28 +0000)]
update spec file

Original commit message from CVS:
update spec file

18 years agobetter report genration target (lcov needs a patch)
Stefan Kost [Tue, 5 Jul 2005 12:17:24 +0000 (12:17 +0000)]
better report genration target (lcov needs a patch)

Original commit message from CVS:
better report genration target (lcov needs a patch)

18 years agogst/elements, testsuite: Null if we got it...
Andy Wingo [Tue, 5 Jul 2005 10:58:21 +0000 (10:58 +0000)]
gst/elements, testsuite: Null if we got it...

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

* gst/elements, testsuite: Null if we got it...

18 years agoPorted dataprotol to 0.9.
Wim Taymans [Tue, 5 Jul 2005 10:20:14 +0000 (10:20 +0000)]
Ported dataprotol to 0.9.

Original commit message from CVS:
* configure.ac:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
* libs/gst/dataprotocol/dataprotocol.h:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
* pkgconfig/gstreamer-dataprotocol.pc.in:
Ported dataprotol to 0.9.
Added pkgconfig files.

18 years agogst/base/gstbasetransform.c (gst_base_transform_setcaps): Default to returning TRUE...
Andy Wingo [Tue, 5 Jul 2005 09:35:22 +0000 (09:35 +0000)]
gst/base/gstbasetransform.c (gst_base_transform_setcaps): Default to returning TRUE for the case when tranform_caps r...

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

* gst/base/gstbasetransform.c (gst_base_transform_setcaps):
Default to returning TRUE for the case when tranform_caps returns
a fixed caps, like for identity or volume.

18 years agocheck/: Application message API change.
Andy Wingo [Tue, 5 Jul 2005 08:47:40 +0000 (08:47 +0000)]
check/: Application message API change.

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

* check/gst/gstbus.c (pound_bus_with_messages):
* check/gst/gstmessage.c (START_TEST):
* check/pipelines/simple_launch_lines.c (got_handoff): Application
message API change.

* gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
logic weaks here: always run transform_caps, trying passthrough
operation only if the original caps intersects with the transform.

* gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
source and sink caps.

* gst/base/gstbasetransform.c (gst_base_transform_getcaps):
Intersect the peer caps with the pad template before going into
transform_caps.
(gst_base_transform_transform_caps): More debugging.

* gst/gstmessage.h (gst_message_new_application): Take a GstObject
src argument.

18 years agogst/gstutils.*: now returns the signal id for better wrapping in bindings.
Edward Hervey [Mon, 4 Jul 2005 15:08:30 +0000 (15:08 +0000)]
gst/gstutils.*: now returns the signal id for better wrapping in bindings.

Original commit message from CVS:
* gst/gstutils.c:
* gst/gstutils.h:
(gst_pad_add_*_probe): now returns the signal id for better wrapping
in bindings.

18 years agocheck/gst/gstpad.c: Only set explicit caps on pads.
Andy Wingo [Mon, 4 Jul 2005 09:22:51 +0000 (09:22 +0000)]
check/gst/gstpad.c: Only set explicit caps on pads.

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

* check/gst/gstpad.c: Only set explicit caps on pads.

19 years agotests/network-clock.scm: Commentary update.
Andy Wingo [Fri, 1 Jul 2005 16:46:59 +0000 (16:46 +0000)]
tests/network-clock.scm: Commentary update.

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

* tests/network-clock.scm: Commentary update.

* gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
Didn't really make sense, not implementable with basetransform,
etc.
(gst_identity_transform): Unref inbuf via make_writable. Feeble
attempt at implementing the sync property, needs an unlock method.

* gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
New func, by default returns the same caps (the identity
transformation).
(gst_base_transform_getcaps): Uses transform_caps to return
something sensible.
(gst_base_transform_setcaps): Complicated logic to get caps on
both pads, even if they are different, and to call set_caps once
for every time both pads get their caps set.
(gst_base_transform_handle_buffer): Give the ref to the transform
function. Allows in-place modification of the buffer.

* gst/base/gstbasetransform.h (transform_caps): New class method.
Given caps on one side, what can I do on the other.
(set_caps): Take two caps, one for each side of the element.

* gst/gstpad.h:
* gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
caps in place. This is safe because we can check the mutability of
the caps, and a good idea because fixate functions are just called
as a matter of last resort. (Not actually implemented.)
(gst_pad_set_caps): If the caps we're setting is actually the same
as the existing pad caps, just update the pointer without calling
setcaps. Assert that caps is either NULL or fixed, as per the
docs.

* gst/gstghostpad.c: Update for fixate changes.

19 years agogst/gstpad.c: Put the mini_object into GValue as a mini_object, not a gpointer.
Jan Schmidt [Fri, 1 Jul 2005 14:36:12 +0000 (14:36 +0000)]
gst/gstpad.c: Put the mini_object into GValue as a mini_object, not a gpointer.

Original commit message from CVS:
2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>

* gst/gstpad.c: (gst_pad_emit_have_data_signal):
Put the mini_object into GValue as a mini_object,
not a gpointer.

19 years agoexamples/pwg/Makefile.am: Fix buildbot again.
Ronald S. Bultje [Fri, 1 Jul 2005 14:20:19 +0000 (14:20 +0000)]
examples/pwg/Makefile.am: Fix buildbot again.

Original commit message from CVS:
* examples/pwg/Makefile.am:
Fix buildbot again.

19 years agodocs/pwg/building-testapp.xml: Add extra check.
Ronald S. Bultje [Fri, 1 Jul 2005 13:01:47 +0000 (13:01 +0000)]
docs/pwg/building-testapp.xml: Add extra check.

Original commit message from CVS:
* docs/pwg/building-testapp.xml:
Add extra check.
* examples/pwg/Makefile.am:
Fix buildbot.