platform/upstream/gstreamer.git
16 years agotools/gst-launch.c: Dump one graph per pipeline state-change and state change name...
Stefan Kost [Tue, 5 Feb 2008 09:24:18 +0000 (09:24 +0000)]
tools/gst-launch.c: Dump one graph per pipeline state-change and state change name (if GST_DEBUG_DUMP_DOT_DIR is set).

Original commit message from CVS:
* tools/gst-launch.c:
Dump one graph per pipeline state-change and state change name
(if GST_DEBUG_DUMP_DOT_DIR is set).

16 years agoBe sure that we have a new copy of the caps and not reffed caps from a template
Thijs Vermeir [Mon, 4 Feb 2008 14:14:42 +0000 (14:14 +0000)]
Be sure that we have a new copy of the caps and not reffed caps from a template

Original commit message from CVS:
* gst/gstpad.c:
* tests/check/gst/gstpad.c:
Be sure that we have a new copy of the caps and not
reffed caps from a template

16 years agoDon't use base_init where not absolutely necessary. For example it's not necessary...
Sebastian Dröge [Sun, 3 Feb 2008 12:04:37 +0000 (12:04 +0000)]
Don't use base_init where not absolutely necessary. For example it's not necessary anymore for adding pad templates o...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
* gst/gstpipeline.c: (gst_pipeline_get_type),
(gst_pipeline_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
(gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
(gst_base_src_class_init):
* libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
(gst_base_transform_class_init):
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
(gst_collect_pads_class_init):
* libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_base_init),
(gst_net_time_provider_class_init):
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
(gst_capsfilter_class_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
(gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
(gst_fake_src_class_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
(gst_fd_sink_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
(gst_fd_src_class_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
(gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
(gst_file_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_base_init),
(gst_identity_class_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
(gst_multi_queue_class_init):
* plugins/elements/gstqueue.c: (gst_queue_base_init),
(gst_queue_class_init):
* plugins/elements/gsttee.c: (gst_tee_base_init),
(gst_tee_class_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_base_init),
(gst_type_find_element_class_init):
Don't use base_init where not absolutely necessary. For example it's
not necessary anymore for adding pad templates or setting element
details.
Leave empty base_init functions in several places as GST_BOILERPLATE
still defines and uses them.

16 years agogst/: Make it possible (and recommended) to set element details and add pad templates...
Sebastian Dröge [Sun, 3 Feb 2008 10:48:01 +0000 (10:48 +0000)]
gst/: Make it possible (and recommended) to set element details and add pad templates in the class_init functions by ...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_base_class_init),
(gst_element_class_add_pad_template):
* gst/gstpadtemplate.c:
Make it possible (and recommended) to set element details and add
pad templates in the class_init functions by copying the details/pad
templates in GstElement's base_init.
Also make it possible to replace existing pad templates by adding
a new one with the same name. This was done in a hackish fashion
in same elements before already.
Don't reference pad templates that are added a second time. A
new pad template has a refcount of one and is not floating anymore
and to be owned by the element's class. Make this more explicit by
mentioning it in the docs of gst_element_class_add_pad_template().
These changes are backwards compatible. Fixes bug #491501.
* tests/check/gst/gstelement.c:
Add unit test for setting element details, adding pad templates and
replacing them in a subclass.

16 years agotools/gst-inspect.c: Fix a few memory leaks.
Sebastian Dröge [Sat, 2 Feb 2008 06:48:37 +0000 (06:48 +0000)]
tools/gst-inspect.c: Fix a few memory leaks.

Original commit message from CVS:
* tools/gst-inspect.c: (print_interfaces),
(print_element_properties_info), (print_pad_info),
(print_signal_info), (print_element_info):
Fix a few memory leaks.

16 years agoAdd more functions for unit testing: gst_check_drop_buffers, gst_check_caps_equal...
Thijs Vermeir [Fri, 1 Feb 2008 17:16:26 +0000 (17:16 +0000)]
Add more functions for unit testing: gst_check_drop_buffers, gst_check_caps_equal, gst_check_element_push_buffer_list...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Add more functions for unit testing: gst_check_drop_buffers,
gst_check_caps_equal, gst_check_element_push_buffer_list,
gst_check_element_push_buffer

16 years agodocs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
Julien Moutte [Fri, 1 Feb 2008 16:37:22 +0000 (16:37 +0000)]
docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs

Original commit message from CVS:
2008-02-01  Julien Moutte  <julien@fluendo.com>

* docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the
docs
* gst/gstindex.c: (gst_index_class_init),
(gst_index_free_writer),
(gst_index_finalize), (gst_index_entry_free),
(gst_index_add_association): Fix memory leaks.
* gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
* plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
(gst_mem_index_free_format), (gst_mem_index_free_id),
(gst_mem_index_finalize): Fix memory leaks.
* win32/common/config.h: Updated to CVS HEAD.

16 years agodocs/README: Some more details about how the plugin docs works.
Stefan Kost [Fri, 1 Feb 2008 12:25:17 +0000 (12:25 +0000)]
docs/README: Some more details about how the plugin docs works.

Original commit message from CVS:
* docs/README:
Some more details about how the plugin docs works.
* docs/plugins/gstreamer-plugins-sections.txt:
Whitespace cleanup.

16 years agogst/parse/: Add delayed set-property. This allows to set properties on dynamicaly...
Stefan Kost [Fri, 1 Feb 2008 12:10:17 +0000 (12:10 +0000)]
gst/parse/: Add delayed set-property. This allows to set properties on dynamicaly created objects (pads in videomxer).

Original commit message from CVS:
* gst/parse/grammar.tab.pre.c:
* gst/parse/grammar.tab.pre.h:
* gst/parse/grammar.y:
* gst/parse/lex._gst_parse_yy.pre.c:
Add delayed set-property. This allows to set properties on dynamicaly
created objects (pads in videomxer).

16 years agogst/gstutils.c: Check if caps are not NULL (fix bug #510194)
Thijs Vermeir [Fri, 1 Feb 2008 11:27:32 +0000 (11:27 +0000)]
gst/gstutils.c: Check if caps are not NULL (fix bug #510194)

Original commit message from CVS:
* gst/gstutils.c:
Check if caps are not NULL (fix bug #510194)

16 years agolibs/gst/base/gstbasesink.c: Add fixme regarding EOS in pull mode.
Wim Taymans [Fri, 1 Feb 2008 10:27:10 +0000 (10:27 +0000)]
libs/gst/base/gstbasesink.c: Add fixme regarding EOS in pull mode.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
(gst_base_sink_get_position_paused):
Add fixme regarding EOS in pull mode.
Fix position reporting in PAUSED for negative rates.

16 years agogst/gstminiobject.c: When replacing a miniobject, do a quick equality check first...
Wim Taymans [Fri, 1 Feb 2008 10:23:56 +0000 (10:23 +0000)]
gst/gstminiobject.c: When replacing a miniobject, do a quick equality check first so that we can avoid a ref/unref pair.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_replace):
When replacing a miniobject, do a quick equality check first so that we
can avoid a ref/unref pair.

16 years agodocs/design/part-synchronisation.txt: Update some docs.
Wim Taymans [Fri, 1 Feb 2008 10:17:40 +0000 (10:17 +0000)]
docs/design/part-synchronisation.txt: Update some docs.

Original commit message from CVS:
* docs/design/part-synchronisation.txt:
Update some docs.
* docs/plugins/Makefile.am:
* docs/plugins/gstreamer-plugins-docs.sgml:
* docs/plugins/gstreamer-plugins-sections.txt:
* plugins/elements/gstmultiqueue.c:
Add multiqueue to the docs.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Wed, 30 Jan 2008 14:38:43 +0000 (14:38 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

16 years agoRelease 0.10.17 RELEASE-0_10_17
Jan Schmidt [Wed, 30 Jan 2008 14:05:45 +0000 (14:05 +0000)]
Release 0.10.17

Original commit message from CVS:
Release 0.10.17

16 years agoadd ChangeLog entry for previous commit
Jan Schmidt [Wed, 30 Jan 2008 13:13:49 +0000 (13:13 +0000)]
add ChangeLog entry for previous commit

Original commit message from CVS:
add ChangeLog entry for previous commit

16 years agogst/gstutils.c: Check if caps are not NULL (fix bug #510194)
Jan Schmidt [Wed, 30 Jan 2008 13:12:24 +0000 (13:12 +0000)]
gst/gstutils.c: Check if caps are not NULL (fix bug #510194)

Original commit message from CVS:
* gst/gstutils.c:
Check if caps are not NULL (fix bug #510194)

16 years agogst/gstutils.c: Check if caps are not NULL (fix bug #510194)
Thijs Vermeir [Wed, 30 Jan 2008 12:55:42 +0000 (12:55 +0000)]
gst/gstutils.c: Check if caps are not NULL (fix bug #510194)

Original commit message from CVS:
* gst/gstutils.c:
Check if caps are not NULL (fix bug #510194)

16 years agogst/gstutils.c: Fix compilation on systems that have posix timers but no monotonic...
Cygwin Ports maintainer [Wed, 30 Jan 2008 12:44:13 +0000 (12:44 +0000)]
gst/gstutils.c: Fix compilation on systems that have posix timers but no monotonic clock.

Original commit message from CVS:
* gst/gstutils.c:
Fix compilation on systems that have posix timers but no
monotonic clock.
Fixes: #512715
Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
dot net>

16 years agotools/gst-inspect.c: Revert previous commit in preparation for an impromptu 0.10...
Jan Schmidt [Wed, 30 Jan 2008 12:39:51 +0000 (12:39 +0000)]
tools/gst-inspect.c: Revert previous commit in preparation for an impromptu 0.10.17 release

Original commit message from CVS:
* tools/gst-inspect.c:
Revert previous commit in preparation for an impromptu 0.10.17 release

16 years agotools/gst-inspect.c: Fix a few memory leaks.
Sebastian Dröge [Tue, 29 Jan 2008 09:43:11 +0000 (09:43 +0000)]
tools/gst-inspect.c: Fix a few memory leaks.

Original commit message from CVS:
* tools/gst-inspect.c: (print_interfaces),
(print_element_properties_info), (print_pad_info),
(print_signal_info), (print_element_info):
Fix a few memory leaks.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Mon, 28 Jan 2008 23:30:45 +0000 (23:30 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

16 years agoRelease 0.10.16 RELEASE-0_10_16
Jan Schmidt [Mon, 28 Jan 2008 23:27:13 +0000 (23:27 +0000)]
Release 0.10.16

Original commit message from CVS:
Release 0.10.16

16 years agoUpdate .po files
Jan Schmidt [Mon, 28 Jan 2008 21:20:16 +0000 (21:20 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for _POSIX_TIMER...
Tim-Philipp Müller [Thu, 24 Jan 2008 23:28:54 +0000 (23:28 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes ...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
_POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
not fail when trying to crosscompile on OpenEmbedded (#511750).

16 years agodocs/manuals.mak: Use $(MAKE) instead of make to fix the build if GNU make is called...
Sebastian Dröge [Sun, 20 Jan 2008 17:08:54 +0000 (17:08 +0000)]
docs/manuals.mak: Use $(MAKE) instead of make to fix the build if GNU make is called different. Fixes bug #510747.

Original commit message from CVS:
* docs/manuals.mak:
Use $(MAKE) instead of make to fix the build if GNU make is
called different. Fixes bug #510747.

16 years agogst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again...
Tim-Philipp Müller [Sun, 20 Jan 2008 15:04:33 +0000 (15:04 +0000)]
gst/gstplugin.c: Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again, which I broke two commits ago when ...

Original commit message from CVS:
* gst/gstplugin.c: (_gst_plugin_initialize):
Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
again, which I broke two commits ago when changing the API
of gst_plugin_register_static(): the g_list_foreach() in
_gst_plugin_register_static still assumed the old function
signature and would therefore fail (re-fixes #510187).
* gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
(_gst_plugin_register_static), (gst_plugin_register_static):
Revert the (technically correct) change to call g_thread_init() from
the pre-main() constructor. This will break programs which call
g_thread_init() without an if (!g_thread_supported()) guard in their
main function. We could just blame it on GLib or the application, but
it's probably best to just avoid this altogether and simply not use
any GLib functions here and use plain old malloc() with a simple
array to store the plugins to register later when gst_init() is
finally called (re-fixes #510187).
* tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
(GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
(plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
(GST_START_TEST), (gst_plugin_suite):
Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
works.

16 years agogst/gstplugin.h: Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
Tim-Philipp Müller [Thu, 17 Jan 2008 22:22:58 +0000 (22:22 +0000)]
gst/gstplugin.h: Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.

Original commit message from CVS:
* gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
This makes gtk-doc complain, but results in slightly better
compiler errors. The old _gst_plugin_register_static() is
still guarded, so there'll be a compiler warning about that
instead. Fixes #510187 too.

16 years agogst/: Change API of gst_plugin_register_static() to not take a GstPluginDesc, but...
Tim-Philipp Müller [Thu, 17 Jan 2008 22:17:15 +0000 (22:17 +0000)]
gst/: Change API of gst_plugin_register_static() to not take a GstPluginDesc, but rather just take all the arguments ...

Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstplugin.c: (_gst_plugin_register_static),
(gst_plugin_register_static), (_gst_plugin_initialize):
* gst/gstplugin.h: (GstPluginFilter):
Change API of gst_plugin_register_static() to not take
a GstPluginDesc, but rather just take all the arguments
in a GstPluginDesc directly. This is more intuitive and
avoids certain mistakes when porting code from
GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
Fixes #510187.
* tests/check/gst/gstplugin.c:
Fix up for changed API.

16 years agodocs/faq/legal.xml: Update FAQ, Totem actually has an exception these days.
Thomas Vander Stichele [Thu, 17 Jan 2008 18:50:31 +0000 (18:50 +0000)]
docs/faq/legal.xml: Update FAQ, Totem actually has an exception these days.

Original commit message from CVS:
* docs/faq/legal.xml:
Update FAQ, Totem actually has an exception these days.

16 years agowin32/common/libgstreamer.def: Add new API declarations
Jan Schmidt [Mon, 14 Jan 2008 22:20:44 +0000 (22:20 +0000)]
win32/common/libgstreamer.def: Add new API declarations

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new API declarations

16 years agogst/gstminiobject.c: Spelling fixes for the API docs.
Stefan Kost [Mon, 14 Jan 2008 13:18:37 +0000 (13:18 +0000)]
gst/gstminiobject.c: Spelling fixes for the API docs.

Original commit message from CVS:
* gst/gstminiobject.c:
Spelling fixes for the API docs.

16 years agoAdd API keyword for gst_util_get_timestamp, and remove the tag for GST_GET_TIMESTMAP...
Jan Schmidt [Mon, 14 Jan 2008 11:47:32 +0000 (11:47 +0000)]
Add API keyword for gst_util_get_timestamp, and remove the tag for GST_GET_TIMESTMAP which didn't survive.

Original commit message from CVS:
Add API keyword for gst_util_get_timestamp, and remove the tag for GST_GET_TIMESTMAP which didn't survive.

16 years agolibs/gst/base/gstbasetransform.c: Fix long property description for QoS.
Stefan Kost [Mon, 14 Jan 2008 11:40:55 +0000 (11:40 +0000)]
libs/gst/base/gstbasetransform.c: Fix long property description for QoS.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
Fix long property description for QoS.

16 years agogst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it...
Jan Schmidt [Sat, 12 Jan 2008 20:22:30 +0000 (20:22 +0000)]
gst/gst.c: _gst_trace_on is already provided by gsttrace.h, no need to declare it ourselves.

Original commit message from CVS:
* gst/gst.c:
_gst_trace_on is already provided by gsttrace.h, no need to declare
it ourselves.
* docs/libs/gstreamer-libs-sections.txt:
Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
and remove strange tcase_add_test which is outputting a warning.
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Properly declare 'buffers', 'check_cond', 'check_mutex' extern
and define them in gstcheck.c instead of having every .c file whcih
includes gstcheck.h be defining its own copy and relying on symbol
interposing to marry them all, which doesn't work on Solaris.
* tests/check/elements/identity.c: (GST_START_TEST):
Don't define 'buffers' locally, it comes from libgstcheck.
* tests/check/generic/sinks.c: (send_buffer):
Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
* tests/check/gst/gststructure.c: (GST_START_TEST):
* tests/check/gst/gstsystemclock.c: (GST_START_TEST):
* tests/check/gst/gstutils.c: (GST_START_TEST):
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Add a bunch of casts to make various constants fit the types
they're being assigned to.

16 years agogst/gstchildproxy.c: Improve docs and add some ideas for making this more general...
Stefan Kost [Thu, 10 Jan 2008 21:06:58 +0000 (21:06 +0000)]
gst/gstchildproxy.c: Improve docs and add some ideas for making this more general-purpose.

Original commit message from CVS:
* gst/gstchildproxy.c:
Improve docs and add some ideas for making this more general-purpose.

16 years agogst/gst_private.h: Add GST_CAT_TYPES, for consistency, and so that the other debug...
Tim-Philipp Müller [Thu, 10 Jan 2008 15:55:32 +0000 (15:55 +0000)]
gst/gst_private.h: Add GST_CAT_TYPES, for consistency, and so that the other debug categories don't make fun of it. S...

Original commit message from CVS:
* gst/gst_private.h: (GST_CAT_TYPES):
Add GST_CAT_TYPES, for consistency, and so that the other
debug categories don't make fun of it. Spotted by Saur on IRC.

16 years agogst/parse/Makefile.am: Move types.h from EXTRA_DIST to noinst_HEADERS.
Sebastian Dröge [Thu, 10 Jan 2008 13:03:35 +0000 (13:03 +0000)]
gst/parse/Makefile.am: Move types.h from EXTRA_DIST to noinst_HEADERS.

Original commit message from CVS:
* gst/parse/Makefile.am:
Move types.h from EXTRA_DIST to noinst_HEADERS.

16 years agoautogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
Sebastian Dröge [Thu, 10 Jan 2008 12:14:04 +0000 (12:14 +0000)]
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...

Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.

16 years agoAPI: add gst_plugin_register_static() and deprecate
Tim-Philipp Müller [Wed, 9 Jan 2008 18:23:39 +0000 (18:23 +0000)]
API: add gst_plugin_register_static() and deprecate

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gst.c: (init_post):
* gst/gstplugin.c: (_gst_plugin_register_static),
(gst_plugin_register_static), (_gst_plugin_initialize),
(gst_plugin_register_func):
* gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
API: add gst_plugin_register_static() and deprecate
GST_PLUGIN_DEFINE_STATIC, since it's not portable
(#498924).
Also, in _gst_plugin_register_static(), make sure to call
g_thread_init() before calling GLib functions such as
g_list_append() if we're not initialised yet, since that
may lead to random crashes with older GSlice/GLib versions.
* tests/check/gst/gstplugin.c:
Adapt unit test to above changes.

16 years agogst/: Yet another gratuitous GString micro-optimisation: add a (private) function...
Tim-Philipp Müller [Wed, 9 Jan 2008 16:36:34 +0000 (16:36 +0000)]
gst/: Yet another gratuitous GString micro-optimisation: add a (private) function that serialises a structure appendi...

Original commit message from CVS:
* gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
* gst/gstcaps.c: (gst_caps_to_string):
* gst/gststructure.c: (GST_ASCII_IS_STRING),
(priv_gst_structure_append_to_gstring), (gst_structure_to_string):
Yet another gratuitous GString micro-optimisation: add a (private)
function that serialises a structure appending to an existing
GString, so that when we serialise caps we don't need to alloc+free
a throwaway GString for each structure (each of which also entailing
multiple reallocs on the way); also use g_string_sized_new() in
various places with an approximate string length to avoid reallocs
within GString. See #500143.

16 years agogst/gststructure.c: Always check UTF-8 conformance of structure strings and not only...
Tim-Philipp Müller [Wed, 9 Jan 2008 15:05:21 +0000 (15:05 +0000)]
gst/gststructure.c: Always check UTF-8 conformance of structure strings and not only if the debugging system is enabl...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_set_value):
Always check UTF-8 conformance of structure strings and not only
if the debugging system is enabled; reasoning: the behaviour of
the actual code shouldn't really change depending on whether the
debugging system is enabled or not (#508291).

16 years agoMakefile.am: Remove old coverage target in favour of "make lcov".
Stefan Kost [Wed, 9 Jan 2008 13:48:03 +0000 (13:48 +0000)]
Makefile.am: Remove old coverage target in favour of "make lcov".

Original commit message from CVS:
* Makefile.am:
Remove old coverage target in favour of "make lcov".

16 years agolibs/gst/base/gstbasesrc.c: The start segment for reverse playback goes from start...
Wim Taymans [Wed, 9 Jan 2008 12:25:17 +0000 (12:25 +0000)]
libs/gst/base/gstbasesrc.c: The start segment for reverse playback goes from start to last_stop.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_loop):
The start segment for reverse playback goes from start to last_stop.

16 years agogst/gstclock.h: Cast the results from the timeval/spec_to_time macros to what the...
Peter Kjellerstedt [Wed, 9 Jan 2008 12:22:22 +0000 (12:22 +0000)]
gst/gstclock.h: Cast the results from the timeval/spec_to_time macros to what the docs say it casts to, a GstClockTim...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj axis com>
* gst/gstclock.h:
Cast the results from the timeval/spec_to_time macros to what the
docs say it casts to, a GstClockTime. fixes #508175.

16 years agogst/gstbuffer.c: Update some comments.
Wim Taymans [Wed, 9 Jan 2008 12:19:31 +0000 (12:19 +0000)]
gst/gstbuffer.c: Update some comments.

Original commit message from CVS:
* gst/gstbuffer.c:
Update some comments.
* tools/gst-inspect.c: (print_element_properties_info):
Improve printing of flags.

16 years agolibs/gst/base/gstbasetransform.c: Print element name with g_warning() if there's...
Tim-Philipp Müller [Tue, 8 Jan 2008 21:13:58 +0000 (21:13 +0000)]
libs/gst/base/gstbasetransform.c: Print element name with g_warning() if there's a problem with the unit size.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_size):
Print element name with g_warning() if there's a problem
with the unit size.

16 years agolibs/gst/: Fix empty prototypes. Fixes bug #507957.
Damien Lespiau [Tue, 8 Jan 2008 02:07:38 +0000 (02:07 +0000)]
libs/gst/: Fix empty prototypes.  Fixes bug #507957.

Original commit message from CVS:
Patch by: Damien Lespiau <damien.lespiau@gmail.com>
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gstinterpolationcontrolsource.h:
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/dataprotocol/dataprotocol.h:
Fix empty prototypes.  Fixes bug #507957.

16 years agodocs/faq/dependencies.xml: Fix typo.
David Schleef [Tue, 8 Jan 2008 02:01:34 +0000 (02:01 +0000)]
docs/faq/dependencies.xml: Fix typo.

Original commit message from CVS:
* docs/faq/dependencies.xml: Fix typo.

16 years agolibs/gst/base/gstbasesrc.c: Don't update the last_stop position in do_seek, that...
Wim Taymans [Mon, 7 Jan 2008 11:23:00 +0000 (11:23 +0000)]
libs/gst/base/gstbasesrc.c: Don't update the last_stop position in do_seek, that's the position we did a seek to.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
(gst_base_src_loop):
Don't update the last_stop position in do_seek, that's the position we
did a seek to.
Read backwards when we have a negative rate.
* tests/check/elements/filesrc.c: (event_func), (wait_eos),
(setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
(filesrc_suite):
Add check for reverse reading.

16 years agotests/check/: Decide which header to include based on the userland ABI target and...
Alexis Ballier [Mon, 7 Jan 2008 09:47:49 +0000 (09:47 +0000)]
tests/check/: Decide which header to include based on the userland ABI target and not the kernel/cpu. Fix up structur...

Original commit message from CVS:
Patch by: Alexis Ballier <aballier at gentoo org>
* tests/check/gst/gstabi.c:
* tests/check/gst/struct_ppc64.h:
* tests/check/libs/libsabi.c:
* tests/check/libs/struct_ppc64.h:
Decide which header to include based on the userland ABI target
and not the kernel/cpu. Fix up structure sizes of ppc64 header
for 64-bit userland (#503590).  Might need something similar for
x86 too.

16 years agogst/gstdebugutils.c: Log the reason why fopen fails in addition to the fact that...
Tim-Philipp Müller [Sat, 5 Jan 2008 13:45:22 +0000 (13:45 +0000)]
gst/gstdebugutils.c: Log the reason why fopen fails in addition to the fact that it failed.

Original commit message from CVS:
* gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
Log the reason why fopen fails in addition to the fact that it failed.

16 years agogst/parse/parse.l: Use "%option never-interactive" to prevent useless calls to isatty...
Sebastian Dröge [Fri, 4 Jan 2008 18:44:03 +0000 (18:44 +0000)]
gst/parse/parse.l: Use "%option never-interactive" to prevent useless calls to isatty() on every input when parsing. ...

Original commit message from CVS:
* gst/parse/parse.l:
Use "%option never-interactive" to prevent useless calls to isatty()
on every input when parsing. Also use "%option noinput" to not define
the static input/yyinput functions which we don't use anyway. This
removes a compiler warning with gcc 4.3 and saves some bytes in the
library.
* gst/parse/lex._gst_parse_yy.pre.c:
Regenerated for the above change.

16 years agogst/gstpad.c: Don't crash when trying to fixate and empty list.
Wim Taymans [Fri, 4 Jan 2008 18:39:15 +0000 (18:39 +0000)]
gst/gstpad.c: Don't crash when trying to fixate and empty list.

Original commit message from CVS:
* gst/gstpad.c: (fixate_value):
Don't crash when trying to fixate and empty list.
Fixes #506643.

16 years agodocs/faq/gst-uninstalled: Clarify the comments to make the usage of this script and...
Sebastian Dröge [Thu, 3 Jan 2008 09:43:41 +0000 (09:43 +0000)]
docs/faq/gst-uninstalled: Clarify the comments to make the usage of this script and what it does easier to understand.

Original commit message from CVS:
* docs/faq/gst-uninstalled:
Clarify the comments to make the usage of this script and what it
does easier to understand.

16 years agotools/gst-plot-timeline.py: Add more options to gst-plot-timeline
Thijs Vermeir [Tue, 1 Jan 2008 17:10:32 +0000 (17:10 +0000)]
tools/gst-plot-timeline.py: Add more options to gst-plot-timeline

Original commit message from CVS:
* tools/gst-plot-timeline.py:
Add more options to gst-plot-timeline

16 years agodocs/design/part-synchronisation.txt: Some more info on how the stream_time in GstBas...
Wim Taymans [Mon, 31 Dec 2007 19:11:39 +0000 (19:11 +0000)]
docs/design/part-synchronisation.txt: Some more info on how the stream_time in GstBaseSink is done.

Original commit message from CVS:
* docs/design/part-synchronisation.txt:
Some more info on how the stream_time in GstBaseSink is done.

16 years agoChangeLog surgery: remove bogus changelog entry
Tim-Philipp Müller [Sun, 30 Dec 2007 13:36:30 +0000 (13:36 +0000)]
ChangeLog surgery: remove bogus changelog entry

Original commit message from CVS:
ChangeLog surgery: remove bogus changelog entry

16 years agotests/check/generic/sinks.c: Put back the tcase_set_timeout(), apparently it's needed...
Tim-Philipp Müller [Sun, 30 Dec 2007 13:31:17 +0000 (13:31 +0000)]
tests/check/generic/sinks.c: Put back the tcase_set_timeout(), apparently it's needed after all; fix it up in a way t...

Original commit message from CVS:
* tests/check/generic/sinks.c: (gst_sinks_suite):
Put back the tcase_set_timeout(), apparently it's needed after
all; fix it up in a way that makes things work with valgrind too.

16 years agogst/gstdebugutils.c: add warning when failed to open file for writing
Thijs Vermeir [Sun, 30 Dec 2007 12:22:49 +0000 (12:22 +0000)]
gst/gstdebugutils.c: add warning when failed to open file for writing

Original commit message from CVS:
* gst/gstdebugutils.c:
add warning when failed to open file for writing

16 years agogst/gstvalue.c: Optimisation: bail out of the loop as early as possible (#500143).
Laurent Glayal [Fri, 28 Dec 2007 14:34:34 +0000 (14:34 +0000)]
gst/gstvalue.c: Optimisation: bail out of the loop as early as possible (#500143).

Original commit message from CVS:
Based on patch by: Laurent Glayal  <spglegle yahoo fr>
* gst/gstvalue.c: (gst_value_is_fixed):
Optimisation: bail out of the loop as early as possible (#500143).

16 years agogst/: Bunch of gratuitous nano-optimisations.
Tim-Philipp Müller [Fri, 28 Dec 2007 14:15:53 +0000 (14:15 +0000)]
gst/: Bunch of gratuitous nano-optimisations.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_to_string):
* gst/gstinfo.c: (gst_debug_construct_term_color):
* gst/gstparse.c: (gst_parse_launchv):
* gst/gstutils.c: (gst_util_dump_mem):
* gst/gstvalue.c: (gst_value_serialize_any_list),
(gst_value_transform_any_list_string):
Bunch of gratuitous nano-optimisations.

16 years agotests/check/generic/sinks.c: Fix leak in unit test (bus sync handler must unref the...
Tim-Philipp Müller [Fri, 28 Dec 2007 13:57:05 +0000 (13:57 +0000)]
tests/check/generic/sinks.c: Fix leak in unit test (bus sync handler must unref the message if it returns GST_BUS_DRO...

Original commit message from CVS:
* tests/check/generic/sinks.c: (async_done_func),
(async_done_eos_func):
Fix leak in unit test (bus sync handler must unref the message
if it returns GST_BUS_DROP). Don't fiddle with the default test
timeout, this is smaller than the current preconfigured value
via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
because it overrides the value specified in CK_DEFAULT_TIMEOUT.

16 years agoAdd bug that was fixed with last commit.
Wim Taymans [Mon, 24 Dec 2007 19:21:32 +0000 (19:21 +0000)]
Add bug that was fixed with last commit.

Original commit message from CVS:
Add bug that was fixed with last commit.

16 years agoconfigure.ac: Check for stdio_ext.h for the filesink changes.
Laurent Glayal [Mon, 24 Dec 2007 19:11:29 +0000 (19:11 +0000)]
configure.ac: Check for stdio_ext.h for the filesink changes.

Original commit message from CVS:
Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* configure.ac:
Check for stdio_ext.h for the filesink changes.
* plugins/elements/gstfilesink.c: (buffer_mode_get_type),
(gst_file_sink_class_init), (gst_file_sink_init),
(gst_file_sink_dispose), (gst_file_sink_set_property),
(gst_file_sink_get_property), (gst_file_sink_open_file),
(gst_file_sink_close_file):
* plugins/elements/gstfilesink.h:
Add two properties to control the buffering mode and size.
API: GstFileSink::buffer-mode
API: GstFileSink::buffer-size

16 years agogst/gstsystemclock.c: Add some more docs to explain why a FIXME was wrongly added.
Wim Taymans [Mon, 24 Dec 2007 14:35:24 +0000 (14:35 +0000)]
gst/gstsystemclock.c: Add some more docs to explain why a FIXME was wrongly added.

Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
Add some more docs to explain why a FIXME was wrongly added.

16 years agogst/gstobject.c: Fix typo in the gst_object_{ref,unref} documentation.
Sebastian Dröge [Sat, 22 Dec 2007 12:48:26 +0000 (12:48 +0000)]
gst/gstobject.c: Fix typo in the gst_object_{ref,unref} documentation.

Original commit message from CVS:
* gst/gstobject.c:
Fix typo in the gst_object_{ref,unref} documentation.

16 years agotests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is going...
Tim-Philipp Müller [Fri, 21 Dec 2007 21:17:32 +0000 (21:17 +0000)]
tests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is going to be deprecated (see #498924).

Original commit message from CVS:
* tests/check/libs/controller.c:
* tests/check/libs/typefindhelper.c:
* tests/check/pipelines/parse-launch.c:
Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
going to be deprecated (see #498924).

16 years agogst/gsttypefind.c: Make gst_type_find_register work for static typefind functions...
Tim-Philipp Müller [Fri, 21 Dec 2007 20:58:23 +0000 (20:58 +0000)]
gst/gsttypefind.c: Make gst_type_find_register work for static typefind functions, ie. allow passing plugin == NULL (...

Original commit message from CVS:
* gst/gsttypefind.c: (gst_type_find_register):
Make gst_type_find_register work for static typefind functions,
ie. allow passing plugin == NULL (prerequisite for #498924).
* gst/gstelementfactory.c: (gst_element_register):
Small docs addition.

16 years agogst/gstpad.c: Really unlink the peer pad instead of setting the peer pointer to NULL...
Wim Taymans [Fri, 21 Dec 2007 13:54:07 +0000 (13:54 +0000)]
gst/gstpad.c: Really unlink the peer pad instead of setting the peer pointer to NULL when we dispose the pad.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_dispose):
Really unlink the peer pad instead of setting the peer pointer to NULL
when we dispose the pad.
This correctly calls the unlink functions and makes sure that the peer
does not have a handle to invalid memory. See #504671.
* tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
Add testsuite for above case.

16 years agolibs/gst/check/gstcheck.h: Fix detection of the check version we're compiling against...
Peter Kjellerstedt [Thu, 20 Dec 2007 09:20:27 +0000 (09:20 +0000)]
libs/gst/check/gstcheck.h: Fix detection of the check version we're compiling against (would otherwise break if check...

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj axis com>
* libs/gst/check/gstcheck.h:
Fix detection of the check version we're compiling against (would
otherwise break if check goes v0.10.0); correctly report the
name of the failed test again in case of failure, instead of
just 'tf' (fixes #504499).

16 years agolibs/gst/base/gstbasesrc.c: Allow sending EOS to the source to make it send out an...
Wim Taymans [Wed, 19 Dec 2007 17:49:38 +0000 (17:49 +0000)]
libs/gst/base/gstbasesrc.c: Allow sending EOS to the source to make it send out an EOS event from the streaming thread.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
(gst_base_src_get_range), (gst_base_src_pad_get_range),
(gst_base_src_loop), (gst_base_src_set_flushing),
(gst_base_src_change_state):
Allow sending EOS to the source to make it send out an EOS event from
the streaming thread.
Update docs and deprecate the old NULL/READY shutdown method.
* tests/check/libs/basesrc.c: (GST_START_TEST),
(gst_basesrc_suite):
Add unit test for controlled shutdown.

16 years agodocs/design/part-synchronisation.txt: Small updates.
Wim Taymans [Wed, 19 Dec 2007 12:48:18 +0000 (12:48 +0000)]
docs/design/part-synchronisation.txt: Small updates.

Original commit message from CVS:
* docs/design/part-synchronisation.txt:
Small updates.
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time):
The seek format can be different from the segment format when the start
and stop values are not to be updated, when we only do a rate change for
example.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gst_segment_suite):
Add a testcase for the rate-only seeks, checking that the format is
correctly ignored when start and stop are not updated.

16 years agoChangeLog surgery, gstenumtypes.c changes were not committed because there were none
Sebastian Dröge [Tue, 18 Dec 2007 13:38:31 +0000 (13:38 +0000)]
ChangeLog surgery, gstenumtypes.c changes were not committed because there were none

Original commit message from CVS:
* ChangeLog surgery, gstenumtypes.c changes were not committed because there were none

16 years agowin32/common/gstenumtypes.c: Some indention fixes by gst-indent.
Matthias Bolte [Tue, 18 Dec 2007 13:18:35 +0000 (13:18 +0000)]
win32/common/gstenumtypes.c: Some indention fixes by gst-indent.

Original commit message from CVS:
* win32/common/gstenumtypes.c: (register_gst_buffer_flag),
(register_gst_buffer_copy_flags), (register_gst_clock_flags),
(register_gst_debug_graph_details),
(register_gst_state_change_return), (register_gst_state_change),
(register_gst_element_flags), (register_gst_core_error),
(register_gst_library_error), (register_gst_resource_error),
(register_gst_stream_error), (register_gst_event_type_flags),
(register_gst_event_type), (register_gst_index_entry_type),
(register_gst_assoc_flags), (register_gst_message_type),
(register_gst_mini_object_flags), (register_gst_pad_link_return),
(register_gst_flow_return), (register_gst_pad_template_flags),
(register_gst_pipeline_flags), (register_gst_plugin_error),
(register_gst_tag_merge_mode), (register_gst_alloc_trace_flags),
(register_gst_type_find_probability), (register_gst_parse_error):
Some indention fixes by gst-indent.
Patch by: Matthias Bolte <photon at mail dot upb dot de>
* win32/vs8/grammar.vcproj:
* win32/vs8/libgstcontroller.vcproj:
* win32/vs8/libgstreamer.vcproj:
Fix compilation with VS8 and include some missing files.

16 years agogst/gsttaglist.c: Small docs addition: mention that the strings returned by gst_tag_l...
Tim-Philipp Müller [Tue, 18 Dec 2007 12:03:18 +0000 (12:03 +0000)]
gst/gsttaglist.c: Small docs addition: mention that the strings returned by gst_tag_list_get_string*() are in UTF-8 e...

Original commit message from CVS:
* gst/gsttaglist.c:
Small docs addition: mention that the strings returned by
gst_tag_list_get_string*() are in UTF-8 encoding.

16 years agoMakefile.am: The check-exports stuff moved to common/win32.mak, so include that.
Tim-Philipp Müller [Mon, 17 Dec 2007 19:59:42 +0000 (19:59 +0000)]
Makefile.am: The check-exports stuff moved to common/win32.mak, so include that.

Original commit message from CVS:
* Makefile.am:
The check-exports stuff moved to common/win32.mak, so include that.

16 years agolibs/gst/base/gstbasesrc.c: Make _wait_playing() not check any variables so that...
Wim Taymans [Mon, 17 Dec 2007 16:38:40 +0000 (16:38 +0000)]
libs/gst/base/gstbasesrc.c: Make _wait_playing() not check any variables so that we can call this function from subcl...

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
(gst_base_src_perform_seek), (gst_base_src_get_range),
(gst_base_src_set_playing), (gst_base_src_change_state):
Make _wait_playing() not check any variables so that we can call this
function from subclasses. Move the checks elsewhere similar to
_wait_preroll() in basesink.
Add some debugging.
Only signal the LIVE cond when we are going back to PLAYING.

16 years agogst/gstregistrybinary.c: Use g_remove() and g_rename(). Check result of g_rename...
Tim-Philipp Müller [Sun, 16 Dec 2007 18:29:25 +0000 (18:29 +0000)]
gst/gstregistrybinary.c: Use g_remove() and g_rename(). Check result of g_rename(), and don't leak the open file desc...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
Use g_remove() and g_rename(). Check result of g_rename(), and
don't leak the open file descriptor if we error out when writing.
* gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
Must check the return value of close() after writing out the new
registry file.  Sometimes write problems such as out-of-diskspace
are only reported when the file is closed and not already during
the write.  This may have caused partial/broken registry files in
some rare circumstances. Should fix #503675.

16 years agodocs/: Ignore files generated by new common/* modifications
Edward Hervey [Sun, 16 Dec 2007 17:37:11 +0000 (17:37 +0000)]
docs/: Ignore files generated by new common/* modifications

Original commit message from CVS:
* docs/gst/.cvsignore:
* docs/libs/.cvsignore:
* docs/plugins/.cvsignore:
Ignore files generated by new common/* modifications

16 years agowin32/common/libgstbase.def: Yes, you can also have a <TAB> if you want.
Stefan Kost [Sat, 15 Dec 2007 15:19:32 +0000 (15:19 +0000)]
win32/common/libgstbase.def: Yes, you can also have a <TAB> if you want.

Original commit message from CVS:
* win32/common/libgstbase.def:
Yes, you can also have a <TAB> if you want.

16 years agowin32/common/libgstbase.def: Add new basetransform API to win export file.
Stefan Kost [Sat, 15 Dec 2007 14:58:59 +0000 (14:58 +0000)]
win32/common/libgstbase.def: Add new basetransform API to win export file.

Original commit message from CVS:
* win32/common/libgstbase.def:
Add new basetransform API to win export file.

16 years agotests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago.
Stefan Kost [Sat, 15 Dec 2007 14:42:25 +0000 (14:42 +0000)]
tests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago.

Original commit message from CVS:
* tests/check/gst/gstbin.c:
Adjust the test to the refcount change two days ago.

16 years agodocs/faq/getting.xml: Fix typo.
David Schleef [Fri, 14 Dec 2007 21:36:50 +0000 (21:36 +0000)]
docs/faq/getting.xml: Fix typo.

Original commit message from CVS:
* docs/faq/getting.xml: Fix typo.

16 years agoAPI: Add gst_base_transform_set_gap_aware() to control whether the element correctly...
Sebastian Dröge [Fri, 14 Dec 2007 16:52:38 +0000 (16:52 +0000)]
API: Add gst_base_transform_set_gap_aware() to control whether the element correctly handles GST_BUFFER_FLAG_GAP or s...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_set_gap_aware):
* libs/gst/base/gstbasetransform.h:
API: Add gst_base_transform_set_gap_aware() to control whether
the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
get buffers with this flag at all. Fixes #503231.

16 years agolibs/gst/base/: Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming...
Stefan Kost [Thu, 13 Dec 2007 16:49:54 +0000 (16:49 +0000)]
libs/gst/base/: Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming thread. Correct log message in gstba...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
* libs/gst/base/gstbasesrc.c:
* libs/gst/base/gstbasetransform.c:
Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
thread. Correct log message in gstbasesrc.c.

16 years agogst/gstutils.c: Fix possible compiler warning (#503417).
Tim-Philipp Müller [Thu, 13 Dec 2007 13:59:04 +0000 (13:59 +0000)]
gst/gstutils.c: Fix possible compiler warning (#503417).

Original commit message from CVS:
* gst/gstutils.c: (element_find_unconnected_pad):
Fix possible compiler warning (#503417).

16 years agogst/gstobject.c: Don't use GST_CAT_EVENT here for logging, it makes no sense.
Tim-Philipp Müller [Thu, 13 Dec 2007 11:41:05 +0000 (11:41 +0000)]
gst/gstobject.c: Don't use GST_CAT_EVENT here for logging, it makes no sense.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_dispatch_properties_changed):
Don't use GST_CAT_EVENT here for logging, it makes no sense.

16 years agotools/gst-inspect.c: Add support for GstFraction properties.
Sebastian Dröge [Thu, 13 Dec 2007 10:31:33 +0000 (10:31 +0000)]
tools/gst-inspect.c: Add support for GstFraction properties.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Add support for GstFraction properties.

16 years agoMakefile.am: Add check-exports target and run it as part of 'make check' (see #499140...
Tim-Philipp Müller [Wed, 12 Dec 2007 23:20:00 +0000 (23:20 +0000)]
Makefile.am: Add check-exports target and run it as part of 'make check' (see #499140 and #493983).

Original commit message from CVS:
* Makefile.am:
Add check-exports target and run it as part of 'make check'
(see #499140 and #493983).
* gst/gst_private.h:
* gst/gstelementfactory.h:
* gst/gstghostpad.c: (gst_proxy_pad_class_init):
* gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
(_priv_gst_in_valgrind):
* gst/gstinfo.h: (GstLogFunction):
* gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
(gst_type_find_register):
* gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
(gst_type_find_factory_get_type):
* libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
(GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
(gst_controller_new_valist), (gst_controller_new_list),
(_gst_controller_dispose), (_gst_controller_class_init):
* libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
* libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
(GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
(gst_object_get_controller), (gst_object_set_controller),
(gst_object_suggest_next_sync), (gst_object_sync_values),
(gst_object_set_control_source), (gst_object_get_control_source),
(gst_object_get_value_arrays), (gst_object_get_value_array),
(gst_object_get_control_rate), (gst_object_set_control_rate):
* libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
* libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
Make some functions that should be static static; rename some
private symbols so that they don't get exported; add some FIXME
comments so we can move accidentally exported functions into
our private section in 0.11.
* win32/common/libgstreamer.def:
Add gst_utils_get_timestamp().

16 years agogst/gstvalue.*: Add more missing "Since:" tags to docs.
Stefan Kost [Wed, 12 Dec 2007 14:04:14 +0000 (14:04 +0000)]
gst/gstvalue.*: Add more missing "Since:" tags to docs.

Original commit message from CVS:
* gst/gstvalue.c:
* gst/gstvalue.h:
Add more missing "Since:" tags to docs.

16 years agogst/gstutils.c: Add mising "Since:" to docs.
Stefan Kost [Wed, 12 Dec 2007 06:58:56 +0000 (06:58 +0000)]
gst/gstutils.c: Add mising "Since:" to docs.

Original commit message from CVS:
* gst/gstutils.c:
Add mising "Since:" to docs.

16 years agogst/gstplugin.c: Include "glib-compat-private.h" to fix the build on system with...
Stefan Kost [Tue, 11 Dec 2007 22:03:58 +0000 (22:03 +0000)]
gst/gstplugin.c: Include "glib-compat-private.h" to fix the build on system with glib < 2.10. Fixes #503131.

Original commit message from CVS:
* gst/gstplugin.c:
Include "glib-compat-private.h" to fix the build on system with
glib < 2.10. Fixes #503131.

16 years agogst/gstutils.*: Actually its not PURE as it gets the time from elsewhere.
Stefan Kost [Tue, 11 Dec 2007 20:32:29 +0000 (20:32 +0000)]
gst/gstutils.*: Actually its not PURE as it gets the time from elsewhere.

Original commit message from CVS:
* gst/gstutils.c:
* gst/gstutils.h:
Actually its not PURE as it gets the time from elsewhere.

16 years agoChange GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don...
Stefan Kost [Tue, 11 Dec 2007 20:23:58 +0000 (20:23 +0000)]
Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don't have HAVE_POSIX_TIMERS in publi...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
* gst/gstutils.c:
* gst/gstutils.h:
* libs/gst/base/gstbasesink.c:
* tools/gst-launch.c:
Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
uses as we don't have HAVE_POSIX_TIMERS in public headers.
Thanks Tim for spotting.

16 years agoupdate spec file by mirroring latest Fedora one
Christian Schaller [Tue, 11 Dec 2007 15:29:26 +0000 (15:29 +0000)]
update spec file by mirroring latest Fedora one

Original commit message from CVS:
update spec file by mirroring latest Fedora one

16 years agoconfigure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Sebastian Dröge [Sun, 9 Dec 2007 04:28:03 +0000 (04:28 +0000)]
configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

16 years agogst/gststructure.c: Don't crash in _from_string() if the structure name is not valid...
Tim-Philipp Müller [Sat, 8 Dec 2007 12:54:53 +0000 (12:54 +0000)]
gst/gststructure.c: Don't crash in _from_string() if the structure name is not valid (fixes #501560).  Allow structur...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_validate_name),
(gst_structure_new_valist), (gst_structure_parse_value),
(gst_structure_from_string):
Don't crash in _from_string() if the structure name is not valid
(fixes #501560).  Allow structure names to start with a number
again (this apparently broke the ubuntu codec installer).
* tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
(GST_START_TEST):
Add unit test for the crash; update unit tests for new behaviour.

16 years agogst/gstutils.c: Clarify gst_element_get_compatible_pad() documentation.
Wim Taymans [Mon, 3 Dec 2007 11:04:09 +0000 (11:04 +0000)]
gst/gstutils.c: Clarify gst_element_get_compatible_pad() documentation.

Original commit message from CVS:
* gst/gstutils.c:
Clarify gst_element_get_compatible_pad() documentation.
Fixes #500919.

16 years agotests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h.
Sebastian Dröge [Sun, 2 Dec 2007 20:33:49 +0000 (20:33 +0000)]
tests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h.

Original commit message from CVS:
* tests/check/Makefile.am:
Don't forget to dist {gst,libs}/struct_hppa.h.