Wim Taymans [Thu, 7 Aug 2008 12:28:28 +0000 (12:28 +0000)]
gst/gstcaps.c: Fix subset test.
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_structure_is_subset_field):
Fix subset test.
* tests/check/gst/gstcaps.c: (GST_START_TEST):
Improve unit test subset tests and add a testcase for the subset failure
cases.
* tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
Improve subtraction unit test.
Stefan Kost [Thu, 7 Aug 2008 07:01:15 +0000 (07:01 +0000)]
plugins/elements/gsttee.c: Unlock, instead of locking again.
Original commit message from CVS:
* plugins/elements/gsttee.c:
Unlock, instead of locking again.
Wim Taymans [Tue, 5 Aug 2008 16:50:27 +0000 (16:50 +0000)]
gst/gstpad.h: Clarify the docs a bit more.
Original commit message from CVS:
* gst/gstpad.h:
Clarify the docs a bit more.
Stefan Kost [Tue, 5 Aug 2008 15:42:00 +0000 (15:42 +0000)]
tests/examples/metadata/read-metadata.c: Don't leak old taglist.
Original commit message from CVS:
* tests/examples/metadata/read-metadata.c:
Don't leak old taglist.
Olivier Crete [Tue, 5 Aug 2008 15:03:27 +0000 (15:03 +0000)]
gst/gststructure.c: Avoid overflows in fixation code when dealing with MAXINT values, which v4l2src seems to do.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/gststructure.c:
(gst_structure_fixate_field_nearest_fraction):
Avoid overflows in fixation code when dealing with MAXINT values, which
v4l2src seems to do.
Fixes #546328.
* tests/check/gst/gststructure.c: (GST_START_TEST):
Make a unit test to check the fix.
Wim Taymans [Tue, 5 Aug 2008 11:12:29 +0000 (11:12 +0000)]
plugins/elements/gstcapsfilter.c: Use new caps suggestion feature of basetransform to request a caps negotiation upst...
Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (copy_func),
(gst_capsfilter_set_property):
Use new caps suggestion feature of basetransform to request a caps
negotiation upstream.
Wim Taymans [Tue, 5 Aug 2008 11:11:00 +0000 (11:11 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new function:
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new function:
API: GstBaseTransform::gst_base_transform_suggest()
* libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
(gst_base_transform_init), (gst_base_transform_transform_caps),
(gst_base_transform_transform_size),
(gst_base_transform_configure_caps),
(gst_base_transform_can_transform),
(gst_base_transform_find_transform), (gst_base_transform_setcaps),
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc),
(gst_base_transform_handle_buffer), (gst_base_transform_getrange),
(gst_base_transform_chain), (gst_base_transform_activate),
(gst_base_transform_set_passthrough),
(gst_base_transform_is_passthrough),
(gst_base_transform_set_in_place),
(gst_base_transform_is_in_place), (gst_base_transform_update_qos),
(gst_base_transform_set_qos_enabled),
(gst_base_transform_is_qos_enabled),
(gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
(gst_base_transform_reconfigure):
* libs/gst/base/gstbasetransform.h:
Rewrite of basetransform to perform negotiation outside of the
buffer_alloc functions. Fixes #545853.
* tests/check/libs/transform1.c: (GST_START_TEST),
(buffer_alloc_ct2):
Update unit test.
Stefan Kost [Tue, 5 Aug 2008 05:44:02 +0000 (05:44 +0000)]
tests/check/gst/gstpreset.c: Only run preset tests when $HOME is writable. Preliminary fix for #545433.
Original commit message from CVS:
* tests/check/gst/gstpreset.c:
Only run preset tests when $HOME is writable. Preliminary fix for
#545433.
Wim Taymans [Mon, 4 Aug 2008 15:49:13 +0000 (15:49 +0000)]
gst/gstbin.c: Fix race for bins that simulate ASYNC state changes by inserting
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_change_state_func), (bin_handle_async_done),
(gst_bin_handle_message_func):
Fix race for bins that simulate ASYNC state changes by inserting
ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
pending ASYNC messages even when the bin does not have ASYNC children.
We note detect this behaviour because we will receive an ASYNC message
that is originating from the bin itself.
Fixes races with decodebin2 state changes.
* tests/check/gst/gstbin.c: (GST_START_TEST):
Add some more debug.
Tim-Philipp Müller [Mon, 4 Aug 2008 13:01:35 +0000 (13:01 +0000)]
gst/gsttaglist.c: Fix typo.
Original commit message from CVS:
* gst/gsttaglist.c: (_gst_tag_initialize):
Fix typo.
Stefan Kost [Mon, 4 Aug 2008 12:46:23 +0000 (12:46 +0000)]
gst/gsttaglist.c: Argh. actually save the text before committing. Now adds gst_tag_merge_strings_with_comma() to gst_...
Original commit message from CVS:
* gst/gsttaglist.c:
Argh. actually save the text before committing. Now adds
gst_tag_merge_strings_with_comma() to gst_tag_register().
Stefan Kost [Mon, 4 Aug 2008 12:30:26 +0000 (12:30 +0000)]
gst/gsttaglist.*: Do as tim pointed out and actually register the new tag. Also improve te docs and use gst_tag_merge...
Original commit message from CVS:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
Do as tim pointed out and actually register the new tag. Also improve
te docs and use gst_tag_merge_strings_with_comma() method to allow
retriving all keywords merged in one list.
Stefan Kost [Fri, 1 Aug 2008 11:57:40 +0000 (11:57 +0000)]
Revert 'accidential' change of the configure option removal. We still need to generate the types file in configure --...
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer.types:
Revert 'accidential' change of the configure option removal. We still
need to generate the types file in configure --disable-load-save.
Stefan Kost [Fri, 1 Aug 2008 11:34:06 +0000 (11:34 +0000)]
Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.h:
Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
Tim-Philipp Müller [Fri, 1 Aug 2008 10:02:49 +0000 (10:02 +0000)]
gst/gstpadtemplate.c: Add "name-template", "direction", "presence" and "caps" properties, so that gst_pad_template_ne...
Original commit message from CVS:
* gst/gstpadtemplate.c:
(gst_pad_template_class_init), (gst_static_pad_template_get),
(gst_pad_template_new), (gst_pad_template_pad_created),
(gst_pad_template_set_property), (gst_pad_template_get_property):
Add "name-template", "direction", "presence" and "caps" properties,
so that gst_pad_template_new() is just a thin wrapper around
g_object_new(), which is better for bindings. (Fixes: #539772)
Michael Smith [Thu, 31 Jul 2008 17:16:50 +0000 (17:16 +0000)]
gst/gsturi.c: Be more liberal in what URIs we accept.
Original commit message from CVS:
* gst/gsturi.c:
Be more liberal in what URIs we accept.
Do not unescape bits of the URI for no apparent reason before passing to
the element. Fixes #545352.
Robert Schwebel [Thu, 31 Jul 2008 15:24:21 +0000 (15:24 +0000)]
gst/gst.c: Include gstconfig.h as macros from it are used. Fixes bug #545607.
Original commit message from CVS:
Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
* gst/gst.c:
Include gstconfig.h as macros from it are used. Fixes bug #545607.
Sebastian Dröge [Thu, 31 Jul 2008 15:20:32 +0000 (15:20 +0000)]
Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.c:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
* gst/gstconfig.h.in:
* gst/gstelement.c: (gst_element_get_index):
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature),
(gst_registry_binary_read_cache):
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
* plugins/Makefile.am:
* tools/gst-indent:
* tools/gst-inspect.c: (print_index_info), (print_element_list),
(print_plugin_features), (print_element_features):
* tools/gst-xmlinspect.c: (print_event_masks),
(print_element_info):
* win32/common/gstconfig.h:
Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
Disabling the indexers and URI handler code will only reduce the
required amount of memory by a very small amount but on the other hand
requires much more maintaince work. Apart from that many places of
code are broken when disabling them.
Disabling the enum types doesn't reduce the required amount of memory
by more than a few bytes and makes it hard to fix bugs like #539772,
i.e. use the enums as GObject properties.
Wim Taymans [Thu, 31 Jul 2008 13:06:56 +0000 (13:06 +0000)]
docs/design/part-TODO.txt: Add some thoughts and problems with upstream renegotiation.
Original commit message from CVS:
* docs/design/part-TODO.txt:
Add some thoughts and problems with upstream renegotiation.
Wim Taymans [Thu, 31 Jul 2008 12:50:52 +0000 (12:50 +0000)]
gst/gstpad.c: Remove silly redundant debug.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_acceptcaps_default),
(gst_pad_configure_src), (gst_pad_alloc_buffer_full):
Remove silly redundant debug.
Add some more debug info.
Clarify the docs regarding new caps received from pad_alloc.
Wim Taymans [Thu, 31 Jul 2008 09:55:14 +0000 (09:55 +0000)]
plugins/elements/gstcapsfilter.c: Make setting the caps more threadsafe.
Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
(gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
Make setting the caps more threadsafe.
Wim Taymans [Thu, 31 Jul 2008 08:39:15 +0000 (08:39 +0000)]
docs/design/part-element-transform.txt: Update docs.
Original commit message from CVS:
* docs/design/part-element-transform.txt:
Update docs.
Wim Taymans [Thu, 31 Jul 2008 08:37:04 +0000 (08:37 +0000)]
plugins/elements/gstqueue.c: Add and use a custom acceptcaps function instead of falling back to the potentially less...
Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_acceptcaps):
Add and use a custom acceptcaps function instead of falling back to the
potentially less optimized default implementation.
Tim-Philipp Müller [Tue, 29 Jul 2008 15:32:11 +0000 (15:32 +0000)]
gst/gstpad.c: Only sanity-check the buffer size if requested_caps == buffer_caps (ie. don't take pad caps into accoun...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer_full):
Only sanity-check the buffer size if requested_caps == buffer_caps
(ie. don't take pad caps into account, they're not relevant here)
Stefan Kost [Tue, 29 Jul 2008 14:32:51 +0000 (14:32 +0000)]
plugins/elements/gsttee.*: Reverting as not everything is clear yet. Needs some general design work.
Original commit message from CVS:
* plugins/elements/gsttee.c:
* plugins/elements/gsttee.h:
Reverting as not everything is clear yet. Needs some general design
work.
Stefan Kost [Tue, 29 Jul 2008 13:36:39 +0000 (13:36 +0000)]
ChangeLog: ChangeLog surgery for tee commit.
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery for tee commit.
Stefan Kost [Tue, 29 Jul 2008 13:30:02 +0000 (13:30 +0000)]
docs/gst/gstreamer-sections.txt: Cleanup section-file.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Cleanup section-file.
Stefan Kost [Tue, 29 Jul 2008 11:57:11 +0000 (11:57 +0000)]
plugins/elements/gsttee.*: Relay tag events in tee. Fixes parts of #474016.
Original commit message from CVS:
* plugins/elements/gsttee.c:
* plugins/elements/gsttee.h:
Relay tag events in tee. Fixes parts of #474016.
Michael Smith [Tue, 29 Jul 2008 00:45:29 +0000 (00:45 +0000)]
Build the net library if we have winsock2.
Original commit message from CVS:
* configure.ac:
* libs/gst/Makefile.am:
Build the net library if we have winsock2.
Luc Pionchon [Sat, 26 Jul 2008 12:00:36 +0000 (12:00 +0000)]
docs/manual/: Replace one diagram with two separate ones and updates others.
Original commit message from CVS:
patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/advanced-threads.xml:
* docs/manual/diagrams-pipelines.svg:
* docs/manual/hello-world.png:
* docs/manual/linked-elements.png:
* docs/manual/mime-world.png:
* docs/manual/queue.png:
* docs/manual/thread-buffering.png:
* docs/manual/thread-synchronizing.png:
Replace one diagram with two separate ones and updates others.
Fixes #542401.
Thijs Vermeir [Fri, 25 Jul 2008 10:24:43 +0000 (10:24 +0000)]
gst/gstelement.h: Fix link in documentation.
Original commit message from CVS:
* gst/gstelement.h:
Fix link in documentation.
Thijs Vermeir [Thu, 24 Jul 2008 17:38:43 +0000 (17:38 +0000)]
gst/gstmessage.c: Fix confusing documentation.
Original commit message from CVS:
* gst/gstmessage.c:
Fix confusing documentation.
Thijs Vermeir [Thu, 24 Jul 2008 15:13:24 +0000 (15:13 +0000)]
libs/gst/base/gstbasesrc.h: revert the changes to the header file for the ABI.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.h:
revert the changes to the header file for the ABI.
Thijs Vermeir [Thu, 24 Jul 2008 14:47:58 +0000 (14:47 +0000)]
libs/gst/base/gstbasesrc.*: Don't cache the seekable status.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasesrc.h:
Don't cache the seekable status.
Fixes bug #544174
Rene Stadler [Thu, 24 Jul 2008 12:36:20 +0000 (12:36 +0000)]
docs/manual/advanced-autoplugging.xml: Add fakesink to example code to close the pipeline graph. This prevents the p...
Original commit message from CVS:
* docs/manual/advanced-autoplugging.xml: Add fakesink to example
code to close the pipeline graph. This prevents the program from
printing internal data flow errors.
Sebastian Dröge [Wed, 23 Jul 2008 15:44:04 +0000 (15:44 +0000)]
docs/manual/basics-bus.xml: Correct typo. Fixes bug #544320.
Original commit message from CVS:
* docs/manual/basics-bus.xml:
Correct typo. Fixes bug #544320.
Michael Smith [Tue, 22 Jul 2008 18:12:54 +0000 (18:12 +0000)]
configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Original commit message from CVS:
* configure.ac:
Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Add check (taken from -base) for winsock, adds WIN32_LIBS
* gst/Makefile.am:
Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
winsock.
Define GST_EXPORTS when building libgstreamer (only used on win32)
* gst/gst_private.h:
* gst/gstinfo.h:
Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
for symbols that we need to export in both these files.
* gst/gstpoll.c:
Include gst_private.h higher up to avoid some compile problems on win32.
Sebastian Dröge [Tue, 22 Jul 2008 09:24:37 +0000 (09:24 +0000)]
gst/gstvalue.c: Fix typos.
Original commit message from CVS:
* gst/gstvalue.c:
Fix typos.
Thijs Vermeir [Tue, 22 Jul 2008 00:29:55 +0000 (00:29 +0000)]
gst/gstcaps.c: Previous commit was wrong NULL caps does not exist and indicate an error, so also add a FIXME to gst_c...
Original commit message from CVS:
* gst/gstcaps.c:
Previous commit was wrong NULL caps does not exist
and indicate an error, so also add a FIXME to
gst_caps_is_equal where NULL caps are accepted.
Thijs Vermeir [Mon, 21 Jul 2008 23:02:40 +0000 (23:02 +0000)]
gst/gstcaps.c: Allow passing of NULL to gst_caps_union
Original commit message from CVS:
* gst/gstcaps.c:
Allow passing of NULL to gst_caps_union
Thijs Vermeir [Mon, 21 Jul 2008 21:32:06 +0000 (21:32 +0000)]
gst/gstghostpad.c: Add in doc that gst_ghost_pad_set_target can accept
Original commit message from CVS:
* gst/gstghostpad.c:
Add in doc that gst_ghost_pad_set_target can accept
NULL to clear target
Michael Smith [Tue, 15 Jul 2008 22:53:00 +0000 (22:53 +0000)]
gst/: GstRegistryPool doesn't exist; don't refer to it in docs.
Original commit message from CVS:
* gst/gstplugin.c:
* gst/gstregistry.c:
GstRegistryPool doesn't exist; don't refer to it in docs.
Don't refer to functions that don't exist in docs, it's
unhelpful.
Sebastian Dröge [Sat, 12 Jul 2008 17:51:16 +0000 (17:51 +0000)]
gst/gst.c: Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
Original commit message from CVS:
* gst/gst.c:
Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
tmatth [Sat, 12 Jul 2008 17:43:15 +0000 (17:43 +0000)]
docs/pwg/building-testapp.xml: Don't use an undeclared variable in the example program.
Original commit message from CVS:
Patch by: tmatth <le dot businessman at gmail dot com>
* docs/pwg/building-testapp.xml:
Don't use an undeclared variable in the example program.
Fixes bug #542573.
Stefan Kost [Sat, 12 Jul 2008 09:59:32 +0000 (09:59 +0000)]
gst/gstdebugutils.c: Squeeze ghost-pad links and remove <> from classname labels to save more horizontal space.
Original commit message from CVS:
* gst/gstdebugutils.c:
Squeeze ghost-pad links and remove <> from classname labels to save
more horizontal space.
Stefan Kost [Fri, 11 Jul 2008 19:30:48 +0000 (19:30 +0000)]
gst/gstdebugutils.c: Give request and sometimes pads a different shpe style. Condense the graphs a little more.
Original commit message from CVS:
* gst/gstdebugutils.c:
Give request and sometimes pads a different shpe style. Condense the
graphs a little more.
Michael Smith [Thu, 10 Jul 2008 00:30:02 +0000 (00:30 +0000)]
configure.ac: Don't require flex and bison if the parser is disabled.
Original commit message from CVS:
* configure.ac:
Don't require flex and bison if the parser is disabled.
Sebastian Dröge [Tue, 8 Jul 2008 11:20:22 +0000 (11:20 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Don't use declarations after statements.
Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
(_list_find_sorted_custom):
Don't use declarations after statements.
Sebastian Dröge [Tue, 8 Jul 2008 09:04:25 +0000 (09:04 +0000)]
gst/gstchildproxy.c: Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature of the the child-added / -removed si...
Original commit message from CVS:
* gst/gstchildproxy.c: (gst_child_proxy_base_init):
Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
of the the child-added / -removed signals as GstChildProxy
only supports GstObjects.
Thijs Vermeir [Mon, 7 Jul 2008 11:01:26 +0000 (11:01 +0000)]
gst/gstdebugutils.c: Fix memleak
Original commit message from CVS:
* gst/gstdebugutils.c:
Fix memleak
Alessandro Decina [Sun, 6 Jul 2008 12:49:43 +0000 (12:49 +0000)]
gst/gstpoll.c: Fix "ignored return value" compiler warning with newer glibc.
Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/gstpoll.c:
Fix "ignored return value" compiler warning with newer glibc.
Sebastian Dröge [Sat, 5 Jul 2008 16:28:28 +0000 (16:28 +0000)]
gst/gstchildproxy.c: Fix copy&paste error in gst_child_proxy_removed() documentation.
Original commit message from CVS:
* gst/gstchildproxy.c:
Fix copy&paste error in gst_child_proxy_removed() documentation.
Tim-Philipp Müller [Wed, 2 Jul 2008 14:43:40 +0000 (14:43 +0000)]
gst/gstplugin.c: Print error debug message if plugin description fields that should be set are NULL.
Original commit message from CVS:
* gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
Print error debug message if plugin description fields that should
be set are NULL.
* gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
Don't crash if the string to serialise is NULL (it really should
not be, but apparently this used to work with the xml registry ...).
Thijs Vermeir [Wed, 2 Jul 2008 12:23:12 +0000 (12:23 +0000)]
tools/gst-plot-timeline.py: Fix parsing of log messages
Original commit message from CVS:
* tools/gst-plot-timeline.py:
Fix parsing of log messages
Tim-Philipp Müller [Tue, 1 Jul 2008 09:27:47 +0000 (09:27 +0000)]
win32/common/libgstbase.def: Sort alphabetically so make check-exports doesn't barf.
Original commit message from CVS:
* win32/common/libgstbase.def::
Sort alphabetically so make check-exports doesn't barf.
Stefan Kost [Tue, 1 Jul 2008 05:53:32 +0000 (05:53 +0000)]
gst/gstevent.c: Use gst_format_get_name() to improve debug output.
Original commit message from CVS:
* gst/gstevent.c:
Use gst_format_get_name() to improve debug output.
* gst/gstpreset.c:
Remove #ifdef'ed code. Add TODO comment.
* gst/gstsegment.c:
Add debug output to ease spotting format != segment.format assertions.
Sebastian Dröge [Mon, 30 Jun 2008 09:42:43 +0000 (09:42 +0000)]
tests/check/libs/gdp.c: Also enable the GDP unit test again on PPC now that the bug is fixed.
Original commit message from CVS:
* tests/check/libs/gdp.c: (gst_dp_suite):
Also enable the GDP unit test again on PPC now that the bug
is fixed.
Sebastian Dröge [Mon, 30 Jun 2008 09:38:45 +0000 (09:38 +0000)]
libs/gst/dataprotocol/dataprotocol.c: Don't write to the same region of memory as a uint64 and uint16 as this breaks ...
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
Don't write to the same region of memory as a uint64 and uint16
as this breaks strict aliasing rules and apparantly breaks on PPC
and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
Stefan Kost [Sun, 29 Jun 2008 16:11:24 +0000 (16:11 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Optimize list handling. Use own find function. Exploit that fact...
Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
Optimize list handling. Use own find function. Exploit that fact that
the list is sorted. Also pass back the node before, so that we can
insert quickly. Have a fast path for append.
Stefan Kost [Sun, 29 Jun 2008 15:00:26 +0000 (15:00 +0000)]
docs/design/: Fix two typos.
Original commit message from CVS:
* docs/design/draft-framestep.txt:
* docs/design/part-negotiation.txt:
Fix two typos.
Stefan Kost [Fri, 27 Jun 2008 09:02:51 +0000 (09:02 +0000)]
configure.ac:
Original commit message from CVS:
* configure.ac:
Show configuration sumary after configure run. Based on patch by
Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
Luc Pionchon [Fri, 27 Jun 2008 07:03:05 +0000 (07:03 +0000)]
docs/manual/: Add scale factor for pdf output.
Original commit message from CVS:
patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/advanced-autoplugging.xml:
* docs/manual/advanced-threads.xml:
* docs/manual/basics-bins.xml:
* docs/manual/basics-elements.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
Add scale factor for pdf output.
* docs/manual/intro-basics.xml:
Switched sections "pads" and "bins" and added a pipeline diagram.
* docs/manual/intro-gstreamer.xml:
Added more info on gstreamer.
* docs/manual/intro-motivation.xml:
Commented out the whole section "current problem", which sounds
historical and somehow osolete; it could be turned in a positive
way and reused to improve the design principles.
* docs/manual/intro-preface.xml:
- Update URLs to library.gnome.org.
- Do not mention GTK+ in preliminary reading (irrelevant).
- Mention Plugin Writer's Manual and further reading only in the
previous section.
- Added a list of most relevant GObject/glib topics.
* docs/manual/Makefile.am:
* docs/manual/bin-element-ghost.fig:
* docs/manual/bin-element-ghost.png:
* docs/manual/bin-element-noghost.fig:
* docs/manual/bin-element-noghost.png:
* docs/manual/bin-element.fig:
* docs/manual/bin-element.png:
* docs/manual/filter-element-multi.fig:
* docs/manual/filter-element-multi.png:
* docs/manual/filter-element.fig:
* docs/manual/filter-element.png:
* docs/manual/gstreamer-overview.png:
* docs/manual/hello-world.fig:
* docs/manual/hello-world.png:
* docs/manual/linked-elements.fig:
* docs/manual/linked-elements.png:
* docs/manual/mime-world.fig:
* docs/manual/mime-world.png:
* docs/manual/queue.fig:
* docs/manual/queue.png:
* docs/manual/simple-player.png:
* docs/manual/sink-element.fig:
* docs/manual/sink-element.png:
* docs/manual/src-element.fig:
* docs/manual/src-element.png:
* docs/manual/diagrams-general.svg:
* docs/manual/diagrams-pipelines.svg:
Removed .fig, added .png counterpart.
Fixes: #539137
Thijs Vermeir [Thu, 26 Jun 2008 20:27:00 +0000 (20:27 +0000)]
plugins/elements/gstmultiqueue.*: revert extra-size-buffers stuff, caused some race conditions and extra-size-buffers...
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstmultiqueue.h:
revert extra-size-buffers stuff, caused some race conditions
and extra-size-buffers is not used anymore. Docs needs some updates
Tim-Philipp Müller [Thu, 26 Jun 2008 12:52:41 +0000 (12:52 +0000)]
win32/common/: Update win32 files.
Original commit message from CVS:
* win32/common/config.h:
* win32/common/gstenumtypes.c:
* win32/common/gstenumtypes.h:
* win32/common/gstversion.h:
Update win32 files.
Tim-Philipp Müller [Thu, 26 Jun 2008 12:24:08 +0000 (12:24 +0000)]
gst/gstdebugutils.h: Add missing Since' markers to gtk-doc blurbs.
Original commit message from CVS:
* gst/gstdebugutils.h: (GstDebugGraphDetails),
(GST_DEBUG_BIN_TO_DOT_FILE):
Add missing Since' markers to gtk-doc blurbs.
Wim Taymans [Thu, 26 Jun 2008 11:59:40 +0000 (11:59 +0000)]
tests/check/libs/transform1.c: Add some more tests with switching caps in buffer_alloc.
Original commit message from CVS:
* tests/check/libs/transform1.c: (buffer_alloc_pt1),
(set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
(set_caps_1), (set_caps_ct1), (transform_ct1),
(transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
(set_caps_ct2), (transform_ct2), (transform_caps_ct2),
(transform_size_ct2), (buffer_alloc_ct2):
Add some more tests with switching caps in buffer_alloc.
Wim Taymans [Wed, 25 Jun 2008 17:27:30 +0000 (17:27 +0000)]
tests/check/libs/: More tests, prepare for tests with switching caps in buffer_alloc.
Original commit message from CVS:
* tests/check/libs/test_transform.c: (gst_test_trans_base_init),
(gst_test_trans_class_init), (result_sink_chain),
(result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
(gst_test_trans_push), (gst_test_trans_pop):
* tests/check/libs/transform1.c: (buffer_alloc_pt1),
(set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
(set_caps_1), (set_caps_ct1), (transform_ct1),
(transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
(set_caps_ct2), (transform_ct2), (transform_caps_ct2),
(transform_size_ct2), (buffer_alloc_ct2),
(gst_basetransform_suite):
More tests, prepare for tests with switching caps in buffer_alloc.
Thijs Vermeir [Wed, 25 Jun 2008 15:39:02 +0000 (15:39 +0000)]
plugins/elements/gstmultiqueue.*: Fix dead-lock in underrun_cb
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstmultiqueue.h:
Fix dead-lock in underrun_cb
Wim Taymans [Wed, 25 Jun 2008 14:49:08 +0000 (14:49 +0000)]
docs/design/part-states.txt: Fix device open/close docs.
Original commit message from CVS:
* docs/design/part-states.txt:
Fix device open/close docs.
Stefan Kost [Wed, 25 Jun 2008 14:47:11 +0000 (14:47 +0000)]
ChangeLog: Mention bugnumber for last commit.
Original commit message from CVS:
* ChangeLog:
Mention bugnumber for last commit.
Luc Pionchon [Wed, 25 Jun 2008 14:44:52 +0000 (14:44 +0000)]
docs/manual/manual.xml: - Reorganised the previous "introduction" bundle into Foreword,
Original commit message from CVS:
patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/manual.xml:
- Reorganised the previous "introduction" bundle into Foreword,
Introduction, and About GStreamer. The two first are <preface>
docbook elements. The later is the first part of the book.
- added intro-gstreamer.xml (content partially from
intro-preface.xml)
- moved appendix-win32.xml into appendix-integration.xml
* docs/manual/intro-preface.xml: gstreamer section moved...
* docs/manual/intro-gstreamer.xml: ...here. new file.
* docs/manual/appendix-win32.xml: removed file. Content moved...
* docs/manual/appendix-integration.xml: ...here.
* docs/manual/highlevel-components.xml: section about GstEditor moved...
* docs/manual/appendix-checklist.xml: ...here.
Luc Pionchon [Wed, 25 Jun 2008 14:32:53 +0000 (14:32 +0000)]
docs/manual/: - Explicitely include glib.h.
Original commit message from CVS:
patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/basics-helloworld.xml:
* docs/manual/hello-world.fig:
- Explicitely include glib.h.
- Do not use global variables.
- Use g_printerr() instead of g_print().
- Minor formating/renaming to increase readibility.
- Renamed new_pad() to on_pad_added()
- Improved explenatory comments.
- renamed ogg parser to ogg demuxer
- Use "autoaudiosink" instead of "alsasink".
Fixes: #538619
Stefan Kost [Wed, 25 Jun 2008 14:27:37 +0000 (14:27 +0000)]
ChangeLog: Remove cvs conflict marker.
Original commit message from CVS:
* ChangeLog:
Remove cvs conflict marker.
Stefan Kost [Wed, 25 Jun 2008 14:25:49 +0000 (14:25 +0000)]
docs/README: Document that for plgin-docs we extraxt he short-desc from the element details.
Original commit message from CVS:
* docs/README:
Document that for plgin-docs we extraxt he short-desc from the element
details.
* docs/design/part-states.txt:
Tell that devices should be closed in PAUSED -> READY.
* docs/manual/README:
Document how tests in the manual are handled.
* docs/manuals.mak:
Typo in comment.
Wim Taymans [Wed, 25 Jun 2008 11:50:06 +0000 (11:50 +0000)]
gst/gstbin.c: Only care about latency min and max when the sink is actually a live sink.
Original commit message from CVS:
* gst/gstbin.c: (bin_query_latency_fold):
Only care about latency min and max when the sink is actually a live
sink.
Wim Taymans [Wed, 25 Jun 2008 10:53:52 +0000 (10:53 +0000)]
docs/design/part-block.txt: Fix typo.
Original commit message from CVS:
* docs/design/part-block.txt:
Fix typo.
* docs/design/part-element-transform.txt:
Add notes about why transform needs to know input/output sizes.
Add some issues that need to be solved.
Add some more use cases.
* tests/check/libs/test_transform.c: (gst_test_trans_base_init),
(gst_test_trans_class_init), (result_sink_chain),
(result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
(gst_test_trans_push), (gst_test_trans_pop):
* tests/check/libs/transform1.c: (buffer_alloc_pt1),
(set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
(set_caps_1), (set_caps_ct1), (transform_ct1),
(transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
(gst_basetransform_suite):
Add suport for different pad templates and buffer-alloc.
Add more checks for caps and buffer-alloc.
Add checks for proxy buffer alloc.
Add unit test for copy transform.
Luc Pionchon [Tue, 24 Jun 2008 19:56:51 +0000 (19:56 +0000)]
docs/manual/: Typo and formatting fixes (#538594).
Original commit message from CVS:
Patch by: Luc Pionchon <luc.pionchon@nokia.com>
* docs/manual/appendix-integration.xml:
* docs/manual/appendix-licensing.xml:
* docs/manual/basics-elements.xml:
* docs/manual/basics-helloworld.xml:
* docs/manual/basics-pads.xml:
* docs/manual/highlevel-components.xml:
* docs/manual/highlevel-xml.xml:
* docs/manual/intro-basics.xml:
* docs/manual/intro-preface.xml:
Typo and formatting fixes (#538594).
Sebastian Dröge [Tue, 24 Jun 2008 07:49:36 +0000 (07:49 +0000)]
tests/check/gst/gstghostpad.c: Fix some memory leaks and uses of object instances that we don't actually own.
Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix some memory leaks and uses of object instances that we don't
actually own.
Thijs Vermeir [Sun, 22 Jun 2008 19:19:35 +0000 (19:19 +0000)]
plugins/elements/gstmultiqueue.c: Add functionality to extra-size-buffers property.
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
Add functionality to extra-size-buffers property.
Thijs Vermeir [Sun, 22 Jun 2008 14:35:13 +0000 (14:35 +0000)]
plugins/elements/gstmultiqueue.c: Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't activate the p...
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c:
Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
activate the pads if they are added in STATE_NULL.
Thijs Vermeir [Sat, 21 Jun 2008 21:20:13 +0000 (21:20 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new API to doc
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new API to doc
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
API: gst_check_teardown_pad_by_name
Thijs Vermeir [Sat, 21 Jun 2008 19:48:53 +0000 (19:48 +0000)]
libs/gst/check/gstcheck.*: Also setup request pads and allow setup pads by name (#537812)
Original commit message from CVS:
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Also setup request pads and allow setup pads by name (#537812)
API: gst_check_setup_src_pad_by_name
API: gst_check_setup_sink_pad_by_name
Thomas Vander Stichele [Fri, 20 Jun 2008 21:08:47 +0000 (21:08 +0000)]
tests/check/: Use HAVE_VALGRIND_H some more.
Original commit message from CVS:
* tests/check/gst/gstbuffer.c:
* tests/check/pipelines/parse-launch.c:
Use HAVE_VALGRIND_H some more.
Thomas Vander Stichele [Fri, 20 Jun 2008 16:29:23 +0000 (16:29 +0000)]
scripts/cvs-update.sh: Pass arguments to make.
Original commit message from CVS:
* scripts/cvs-update.sh:
Pass arguments to make.
Run autoregen.sh if Makefile is not there.
Thomas Vander Stichele [Fri, 20 Jun 2008 15:54:43 +0000 (15:54 +0000)]
Don't assume that <valgrind/valgrind.h> exists just because the binary is there.
Original commit message from CVS:
* configure.ac:
* gst/gstinfo.c:
Don't assume that <valgrind/valgrind.h> exists just because
the binary is there.
Wim Taymans [Fri, 20 Jun 2008 12:06:54 +0000 (12:06 +0000)]
tests/check/: Add some test basetransform element and the beginnings of various unit tests for it.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/libs/test_transform.c: (gst_test_trans_base_init),
(gst_test_trans_class_init), (gst_test_trans_init),
(gst_test_trans_set_data), (result_sink_chain),
(gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
(gst_test_trans_pop):
* tests/check/libs/transform1.c: (GST_START_TEST),
(transform_ip_1), (set_caps_1), (gst_basetransform_suite):
Add some test basetransform element and the beginnings of various
unit tests for it.
Wim Taymans [Fri, 20 Jun 2008 11:24:03 +0000 (11:24 +0000)]
libs/gst/base/gsttypefindhelper.c: Increase code readability.
Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
Increase code readability.
Don't try to compare buffer offsets when ther are invalid.
Tim-Philipp Müller [Fri, 20 Jun 2008 11:07:05 +0000 (11:07 +0000)]
docs/design/Makefile.am: Dist some more design docs.
Original commit message from CVS:
* docs/design/Makefile.am:
Dist some more design docs.
* docs/random/moving-plugins:
Small addition: good plugins mustn't have functional code
within assertion macros.
Wim Taymans [Fri, 20 Jun 2008 10:32:34 +0000 (10:32 +0000)]
docs/design/draft-framestep.txt: Some ideas about a framestep API
Original commit message from CVS:
* docs/design/draft-framestep.txt:
Some ideas about a framestep API
* docs/design/part-element-transform.txt:
Start design and use cases for basetransform in order to get it
fixed soon.
Tim-Philipp Müller [Fri, 20 Jun 2008 10:20:08 +0000 (10:20 +0000)]
gst/gstbus.c: Make it known that gst_bus_poll() is pure evil (fixes #538810).
Original commit message from CVS:
* gst/gstbus.c:
Make it known that gst_bus_poll() is pure evil (fixes #538810).
Stefan Kost [Fri, 20 Jun 2008 10:14:54 +0000 (10:14 +0000)]
plugins/elements/: Remove short_description. Add basic docs for gsttypefindelement.
Original commit message from CVS:
* plugins/elements/gstcapsfilter.c:
* plugins/elements/gstfakesink.c:
* plugins/elements/gstfakesrc.c:
* plugins/elements/gstfdsink.c:
* plugins/elements/gstfdsrc.c:
* plugins/elements/gstfilesink.c:
* plugins/elements/gstfilesrc.c:
* plugins/elements/gstidentity.c:
* plugins/elements/gstmultiqueue.c:
* plugins/elements/gstqueue.c:
* plugins/elements/gsttee.c:
* plugins/elements/gsttypefindelement.c:
Remove short_description. Add basic docs for gsttypefindelement.
Simplify markup for fakesrc/fdsrc.
Wim Taymans [Fri, 20 Jun 2008 10:07:28 +0000 (10:07 +0000)]
plugins/elements/gstfdsrc.c: Added Since doc.
Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
Added Since doc.
joel larsson [Fri, 20 Jun 2008 10:02:14 +0000 (10:02 +0000)]
Add timeout property like udpsrc. Fixes #538628.
Original commit message from CVS:
Patch by: joel larsson <tilljoel at gmail dot com>
* docs/plugins/gstreamer-plugins.args:
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_init), (gst_fd_src_update_fd),
(gst_fd_src_set_property), (gst_fd_src_get_property),
(gst_fd_src_create):
* plugins/elements/gstfdsrc.h:
Add timeout property like udpsrc. Fixes #538628.
Add some more docs and example pipelines.
Wim Taymans [Fri, 20 Jun 2008 08:54:45 +0000 (08:54 +0000)]
Add method to allow sinks to specify additional delay between the sync times and the actual rendering of the data.
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
(gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
(gst_base_sink_do_sync):
* libs/gst/base/gstbasesink.h:
* win32/common/libgstbase.def:
Add method to allow sinks to specify additional delay between the sync
times and the actual rendering of the data.
API: gst_base_sink_set_render_delay()
API: gst_base_sink_get_render_delay()
Jan Schmidt [Fri, 20 Jun 2008 08:45:01 +0000 (08:45 +0000)]
configure.ac: Bump version number back to dev -> 0.10.20.1
Original commit message from CVS:
* configure.ac:
Bump version number back to dev -> 0.10.20.1
Sebastian Dröge [Fri, 20 Jun 2008 08:39:54 +0000 (08:39 +0000)]
API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
Fixes bug #538568.
Stefan Kost [Fri, 20 Jun 2008 08:36:46 +0000 (08:36 +0000)]
libs/gst/controller/gstcontroller.c: Revert one change, that make ret value possible uninitialized.
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Revert one change, that make ret value possible uninitialized.
Stefan Kost [Fri, 20 Jun 2008 08:32:36 +0000 (08:32 +0000)]
libs/gst/controller/gstcontroller.c: Use freeze/thaw notify to sync notify emission a bit (its also more efficient). ...
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Use freeze/thaw notify to sync notify emission a bit (its also more
efficient). Move debug output to LOG (is called a lot in a loop).
Always unset g_values if the have been initialized.
Wim Taymans [Fri, 20 Jun 2008 08:28:46 +0000 (08:28 +0000)]
libs/gst/base/gstbasesink.c: If we have not seen a buffer before EOS, use the segment values to report the current po...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_wait_eos), (gst_base_sink_event):
If we have not seen a buffer before EOS, use the segment values to
report the current position instead of invalid positions.
Stefan Kost [Fri, 20 Jun 2008 08:21:48 +0000 (08:21 +0000)]
Ignore more.
Original commit message from CVS:
* docs/plugins/tmpl/.cvsignore:
* tests/check/gst/.cvsignore:
Ignore more.