platform/upstream/gstreamer.git
18 years agodo CVS surgery and related build fixery to move elements and indexers in a new gstrea...
Thomas Vander Stichele [Tue, 29 Nov 2005 18:00:15 +0000 (18:00 +0000)]
do CVS surgery and related build fixery to move elements and indexers in a new gstreamer/plugins directory, out of th...

Original commit message from CVS:

* Makefile.am:
* configure.ac:
* plugins/elements/Makefile.am:
* plugins/elements/gstcapsfilter.c:
* plugins/elements/gstfilesink.c:
* plugins/elements/gstfilesrc.c:
* plugins/elements/gstidentity.c:
* plugins/indexers/Makefile.am:
do CVS surgery and related build fixery to move elements
and indexers in a new gstreamer/plugins directory, out of the
gst/ directory

18 years agoRename gstnet-tempname to gstnet. Fixes #322257.
Andy Wingo [Tue, 29 Nov 2005 17:47:06 +0000 (17:47 +0000)]
Rename gstnet-tempname to gstnet. Fixes #322257.

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

* check/Makefile.am:
* pkgconfig/gstreamer-net-uninstalled.pc.in:
* pkgconfig/gstreamer-net.pc.in:
* gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
#322257.

18 years agoignore more
Thomas Vander Stichele [Tue, 29 Nov 2005 17:35:03 +0000 (17:35 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoremove some more complete
Thomas Vander Stichele [Tue, 29 Nov 2005 17:33:55 +0000 (17:33 +0000)]
remove some more complete

Original commit message from CVS:
remove some more complete

18 years agotools/: removing -compprep and -complete
Thomas Vander Stichele [Tue, 29 Nov 2005 17:32:36 +0000 (17:32 +0000)]
tools/: removing -compprep and -complete

Original commit message from CVS:

* tools/Makefile.am:
* tools/gst-complete.1.in:
* tools/gst-complete.c:
* tools/gst-compprep.1.in:
* tools/gst-compprep.c:
removing -compprep and -complete

18 years agogst/gstevent.*: fix #320529 - clean up new_segment API and structure.
Thomas Vander Stichele [Tue, 29 Nov 2005 17:23:56 +0000 (17:23 +0000)]
gst/gstevent.*: fix #320529 - clean up new_segment API and structure.

Original commit message from CVS:

* gst/gstevent.c: (gst_event_new_new_segment),
(gst_event_parse_new_segment):
* gst/gstevent.h:
fix #320529 - clean up new_segment API and structure.
Let's hope everyone was using the methods, and not the structure.

18 years agogst/base/gstbasesink.c: Properly handle non GST_FORMAT_TIME segment
Edward Hervey [Tue, 29 Nov 2005 17:13:44 +0000 (17:13 +0000)]
gst/base/gstbasesink.c: Properly handle non GST_FORMAT_TIME segment

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_activate_pull), (gst_base_sink_change_state):
Properly handle non GST_FORMAT_TIME segment
* gst/elements/gstidentity.c: (gst_identity_transform_ip):
Properly handle non GST_FORMAT_TIME segment
* gst/gstsegment.c:
This function is valid if the accumulator is 0 and the format
is different from the requested format.

18 years agodocs/gst/gstreamer-sections.txt: Add gst_query_new_seeking and gst_query_parse_seekin...
Jan Schmidt [Tue, 29 Nov 2005 15:50:50 +0000 (15:50 +0000)]
docs/gst/gstreamer-sections.txt: Add gst_query_new_seeking and gst_query_parse_seeking to the docs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add gst_query_new_seeking and gst_query_parse_seeking to the
docs.

18 years agoFix conflict marker
Jan Schmidt [Tue, 29 Nov 2005 15:15:38 +0000 (15:15 +0000)]
Fix conflict marker

Original commit message from CVS:
Fix conflict marker

18 years agogst/base/gstbasetransform.c: Treat a pad alloc with new caps the same as if we were...
Jan Schmidt [Tue, 29 Nov 2005 15:12:22 +0000 (15:12 +0000)]
gst/base/gstbasetransform.c: Treat a pad alloc with new caps the same as if we were not negotiated, in order to allow...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
Treat a pad alloc with new caps the same as if we were not
negotiated, in order to allow a changing upstream output
to produce a new format of data.

18 years agogst/base/gstbasetransform.c: The event virtual method is now properly implemented...
Edward Hervey [Tue, 29 Nov 2005 14:47:07 +0000 (14:47 +0000)]
gst/base/gstbasetransform.c: The event virtual method is now properly implemented, with a default handler

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
(gst_base_transform_event), (gst_base_transform_eventfunc):
The event virtual method is now properly implemented, with a default
handler
Sub classes should call the parent_class event method. They should
return FALSE if they had a problem handling the given event, or don't
want GstBaseTransform to send that even downstream
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_event),
(gst_identity_transform_ip), (gst_identity_set_property),
(gst_identity_get_property):
* gst/elements/gstidentity.h:
Added the single-segment boolean property.
If set to TRUE, it will output a single segment of data, starting from
0, will eat up all incoming newsegment, and modify the timestamp of the
buffers accordingly

18 years agofurther review
Thomas Vander Stichele [Tue, 29 Nov 2005 14:43:53 +0000 (14:43 +0000)]
further review

Original commit message from CVS:
further review

18 years agogst/gstghostpad.c: Don't ref NULL target pad (#322751). Improve docs.
Tim-Philipp Müller [Tue, 29 Nov 2005 13:10:38 +0000 (13:10 +0000)]
gst/gstghostpad.c: Don't ref NULL target pad (#322751). Improve docs.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_get_target):
Don't ref NULL target pad (#322751). Improve docs.

18 years agogst/gstregistryxml.c: Don't crash if we failed to load a feature from a plugin.
Michael Smith [Tue, 29 Nov 2005 11:07:54 +0000 (11:07 +0000)]
gst/gstregistryxml.c: Don't crash if we failed to load a feature from a plugin.

Original commit message from CVS:
* gst/gstregistryxml.c: (load_plugin):
Don't crash if we failed to load a feature from a plugin.

18 years agoadd my todos for 0.10
Thomas Vander Stichele [Tue, 29 Nov 2005 00:51:54 +0000 (00:51 +0000)]
add my todos for 0.10

Original commit message from CVS:
add my todos for 0.10

18 years agocheck/pipelines/simple_launch_lines.c: use more check API and less GLib API
Thomas Vander Stichele [Mon, 28 Nov 2005 21:51:37 +0000 (21:51 +0000)]
check/pipelines/simple_launch_lines.c: use more check API and less GLib API

Original commit message from CVS:

* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(GST_START_TEST):
use more check API and less GLib API

18 years agocosmetic changes
Thomas Vander Stichele [Mon, 28 Nov 2005 21:48:19 +0000 (21:48 +0000)]
cosmetic changes

Original commit message from CVS:
cosmetic changes

18 years agoMakefile.am: don't run checks if we don't have check
Thomas Vander Stichele [Mon, 28 Nov 2005 19:58:56 +0000 (19:58 +0000)]
Makefile.am: don't run checks if we don't have check

Original commit message from CVS:
* Makefile.am:
don't run checks if we don't have check
* common/check.mak:
remove the registry when running make torture
* docs/gst/gstreamer-sections.txt:
remove second multiply
* gst/gstqueue.c: (gst_queue_loop):
fix a compile warning when disabling debug

18 years agogst/gstinfo.h: Hey! Let's print the pad name if the pointer != NULL instead of when...
Jan Schmidt [Mon, 28 Nov 2005 19:43:27 +0000 (19:43 +0000)]
gst/gstinfo.h: Hey! Let's print the pad name if the pointer != NULL instead of when it == NULL :-)

Original commit message from CVS:
* gst/gstinfo.h:
Hey! Let's print the pad name if the pointer != NULL instead
of when it == NULL :-)

18 years agocheck/gst/gstutils.c: Updated check, add some scaling accuracy checking code.
Wim Taymans [Mon, 28 Nov 2005 18:44:11 +0000 (18:44 +0000)]
check/gst/gstutils.c: Updated check, add some scaling accuracy checking code.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST):
Updated check, add some scaling accuracy checking code.

* gst/gstutils.c: (gst_util_div128_64),
(gst_util_uint64_scale_int64), (gst_util_uint64_scale),
(gst_util_uint64_scale_int):
Fix 6 times faster division code. Optimize for common
1/1 and less common X/1 cases.

18 years agodoc updates
Thomas Vander Stichele [Mon, 28 Nov 2005 17:59:25 +0000 (17:59 +0000)]
doc updates

Original commit message from CVS:
doc updates

18 years agocheck/gst/gstutils.c: More checks.
Wim Taymans [Mon, 28 Nov 2005 16:05:35 +0000 (16:05 +0000)]
check/gst/gstutils.c: More checks.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
More checks.

* gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
(do_linear_regression), (gst_clock_add_observation):
Cleanups.
Release lock when the clock cannot be slaved.
Catch the case where the regression returned an invalid denominator.

* gst/gstutils.c: (gst_util_div128_64_iterate),
(gst_util_div128_64), (gst_util_uint64_scale_int64),
(gst_util_uint64_scale), (gst_util_uint64_scale_int):
Add protentially more performant non-iterative 128/64 divide function
that unfortunatly does not work yet.
Shortcut the trivial 0/X = 0 case.
Remove the warnings on overflow.

18 years agogst/gstplugin.c: everything causing a plugin not to load should be at least a WARNING
Thomas Vander Stichele [Mon, 28 Nov 2005 14:18:22 +0000 (14:18 +0000)]
gst/gstplugin.c: everything causing a plugin not to load should be at least a WARNING

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_register_func):
everything causing a plugin not to load should be at least a WARNING

18 years agolog caps
Thomas Vander Stichele [Mon, 28 Nov 2005 14:02:54 +0000 (14:02 +0000)]
log caps

Original commit message from CVS:
log caps

18 years agofix docs
Thomas Vander Stichele [Mon, 28 Nov 2005 14:01:52 +0000 (14:01 +0000)]
fix docs

Original commit message from CVS:
fix docs

18 years agodocs/random/ensonic/dparams.txt: some TODOs for the next dev cycle
Stefan Kost [Mon, 28 Nov 2005 13:25:14 +0000 (13:25 +0000)]
docs/random/ensonic/dparams.txt: some TODOs for the next dev cycle

Original commit message from CVS:
* docs/random/ensonic/dparams.txt:
some TODOs for the next dev cycle
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode),
(gst_controlled_property_new):
* libs/gst/controller/gstcontroller.h:
use base type to assign acccessor functions

18 years agocheck/Makefile.am: Oops, that should have been top_srcdir
Jan Schmidt [Mon, 28 Nov 2005 11:31:31 +0000 (11:31 +0000)]
check/Makefile.am: Oops, that should have been top_srcdir

Original commit message from CVS:
* check/Makefile.am:
Oops, that should have been top_srcdir

18 years agodisable pipeline test until someone fixes the unreliable errors
Thomas Vander Stichele [Mon, 28 Nov 2005 10:29:37 +0000 (10:29 +0000)]
disable pipeline test until someone fixes the unreliable errors

Original commit message from CVS:
disable pipeline test until someone fixes the unreliable errors

18 years agocheck/: Use a cmdline define to specify the location of a file to use for testing...
Jan Schmidt [Mon, 28 Nov 2005 10:07:38 +0000 (10:07 +0000)]
check/: Use a cmdline define to specify the location of a file to use for testing, to avoid breaking distcheck.

Original commit message from CVS:
* check/Makefile.am:
* check/elements/fdsrc.c: (GST_START_TEST):
Use a cmdline define to specify the location of a file to use for
testing, to avoid breaking distcheck.

18 years agogst/gstpad.c (fixate_value): Use array functions for arrays.
Andy Wingo [Mon, 28 Nov 2005 10:04:45 +0000 (10:04 +0000)]
gst/gstpad.c (fixate_value): Use array functions for arrays.

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

* gst/gstpad.c (fixate_value): Use array functions for arrays.

18 years agotools/gst-launch.c: Clarify the output strings, makes it easier to translate.
Edward Hervey [Mon, 28 Nov 2005 09:55:19 +0000 (09:55 +0000)]
tools/gst-launch.c: Clarify the output strings, makes it easier to translate.

Original commit message from CVS:
* tools/gst-launch.c: (main):
Clarify the output strings, makes it easier to translate.
Fixes #322626

18 years agogst/Makefile.am: don't try and build net if we don't even have <sys/socket.h>
Thomas Vander Stichele [Mon, 28 Nov 2005 08:20:48 +0000 (08:20 +0000)]
gst/Makefile.am: don't try and build net if we don't even have <sys/socket.h>

Original commit message from CVS:
* gst/Makefile.am:
don't try and build net if we don't even have <sys/socket.h>

18 years agocheck/: Add tests for fdsrc seekability
Jan Schmidt [Sun, 27 Nov 2005 22:50:09 +0000 (22:50 +0000)]
check/: Add tests for fdsrc seekability

Original commit message from CVS:
* check/Makefile.am:
* check/elements/fdsrc.c: (event_func), (setup_fdsrc),
(cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
Add tests for fdsrc seekability

* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
(gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
(gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
(gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
* gst/elements/gstfdsrc.h:
fdsrc should not be a 'live' source.
Implement seeking on seekable fd's.

* gst/gstquery.c: (gst_query_new_seeking),
(gst_query_parse_seeking):
* gst/gstquery.h:
Implement SEEKING query functions:
*_new_seeking and *_parse_seeking

18 years agogst/gstelement.c: don't loop forever
Stefan Kost [Sun, 27 Nov 2005 22:43:08 +0000 (22:43 +0000)]
gst/gstelement.c: don't loop forever

Original commit message from CVS:
* gst/gstelement.c: (gst_element_dispose):
don't loop forever
* gst/gstiterator.c:
* gst/gststructure.c:
doc fixes
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstinterpolation.c:
(interpolate_none_get_enum_value_array):
support controlling enums

18 years agogst/gstvalue.c: Improve documentation for gst_value_union().
Tim-Philipp Müller [Sun, 27 Nov 2005 19:52:49 +0000 (19:52 +0000)]
gst/gstvalue.c: Improve documentation for gst_value_union().

Original commit message from CVS:
* gst/gstvalue.c:
Improve documentation for gst_value_union().
* gst/gstvalue.h:
Change return value for union, intersect and subtract functions
from gint to gboolean.

18 years agogst/gstvalue.*: Use gint, gdouble and gchar in our API instead of int, double and...
Tim-Philipp Müller [Sun, 27 Nov 2005 18:11:02 +0000 (18:11 +0000)]
gst/gstvalue.*: Use gint, gdouble and gchar in our API instead of int, double and char (and make usage in gstvalue.c ...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_serialize_any_list),
(gst_value_transform_any_list_string),
(gst_value_deserialize_list), (gst_value_deserialize_array),
(gst_value_set_int_range), (gst_value_deserialize_int_range),
(gst_value_set_double_range), (gst_value_deserialize_double_range),
(gst_value_set_fraction_range_full),
(gst_value_deserialize_fraction_range),
(gst_value_deserialize_caps), (gst_value_deserialize_buffer),
(gst_value_deserialize_boolean),
(gst_value_deserialize_int_helper), (gst_value_deserialize_double),
(gst_value_serialize_float), (gst_value_deserialize_float),
(gst_string_wrap), (gst_value_deserialize_string),
(gst_value_deserialize_enum), (gst_value_deserialize_flags),
(gst_value_union_int_range_int_range),
(gst_value_intersect_int_range_int_range),
(gst_value_intersect_double_range_double_range),
(gst_value_create_new_range), (gst_value_subtract_int_range_int),
(gst_value_subtract_int_range_int_range),
(gst_value_subtract_double_double_range),
(gst_value_subtract_double_range_double_range),
(gst_value_deserialize_fraction):
* gst/gstvalue.h:
Use gint, gdouble and gchar in our API instead of int, double and
char (and make usage in gstvalue.c more consistent).

18 years agoadd undefined for core
Thomas Vander Stichele [Sun, 27 Nov 2005 17:05:38 +0000 (17:05 +0000)]
add undefined for core

Original commit message from CVS:
add undefined for core

18 years agofix up Makefile.am and remove GST_ENABLE_NEW
Thomas Vander Stichele [Sun, 27 Nov 2005 16:46:48 +0000 (16:46 +0000)]
fix up Makefile.am and remove GST_ENABLE_NEW

Original commit message from CVS:
fix up Makefile.am and remove GST_ENABLE_NEW

18 years agoupdate LDFLAGS use some more
Thomas Vander Stichele [Sun, 27 Nov 2005 15:15:35 +0000 (15:15 +0000)]
update LDFLAGS use some more

Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
* gst/base/Makefile.am:
* gst/check/Makefile.am:
* gst/elements/Makefile.am:
* gst/net/Makefile.am:
update LDFLAGS use some more

18 years agoFixes #312589
Thomas Vander Stichele [Sun, 27 Nov 2005 14:19:38 +0000 (14:19 +0000)]
Fixes #312589

Original commit message from CVS:
Fixes #312589

18 years agoadd some additional fail_if's
Thomas Vander Stichele [Sun, 27 Nov 2005 14:03:22 +0000 (14:03 +0000)]
add some additional fail_if's

Original commit message from CVS:
add some additional fail_if's

18 years agogst/gstpluginfeature.c: This shouldn't issue a g_warning since it returns NULL if...
Edward Hervey [Sat, 26 Nov 2005 11:28:32 +0000 (11:28 +0000)]
gst/gstpluginfeature.c: This shouldn't issue a g_warning since it returns NULL if it couldn't find the plugin, and al...

Original commit message from CVS:
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
This shouldn't issue a g_warning since it returns NULL if it
couldn't find the plugin, and all functions using this behave
properly on a NULL return. Switching to a GST_WARNING.

18 years agogst/gstbin.c: Don't leak clock messages.
Jan Schmidt [Fri, 25 Nov 2005 17:06:36 +0000 (17:06 +0000)]
gst/gstbin.c: Don't leak clock messages.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_handle_message_func):
Don't leak clock messages.

18 years agogst/gstutils.c: Optimisations, remove unneeded vars.
Wim Taymans [Fri, 25 Nov 2005 11:38:38 +0000 (11:38 +0000)]
gst/gstutils.c: Optimisations, remove unneeded vars.

Original commit message from CVS:
* gst/gstutils.c: (gst_util_uint64_scale_int64),
(gst_util_uint64_scale_int):
Optimisations, remove unneeded vars.

18 years agocheck/gst/gstutils.c: Added more checks for the high precision uint64 cases.
Wim Taymans [Fri, 25 Nov 2005 00:02:05 +0000 (00:02 +0000)]
check/gst/gstutils.c: Added more checks for the high precision uint64 cases.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Added more checks for the high precision uint64 cases.

* gst/gstutils.c: (gst_util_uint64_scale_int64),
(gst_util_uint64_scale), (gst_util_uint64_scale_int):
Implement high precission (guint64 * guint64) / guint64.

18 years agogst/base/gstbasesrc.c: Fix wrong percentage query.
Wim Taymans [Thu, 24 Nov 2005 19:06:58 +0000 (19:06 +0000)]
gst/base/gstbasesrc.c: Fix wrong percentage query.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_query):
Fix wrong percentage query.

* gst/gstutils.c: (gst_util_uint64_scale),
(gst_util_uint64_scale_int):
Add some more common cases that can be handled
efficiently to _scale.

18 years agoremove wrongly commited comments
Thomas Vander Stichele [Thu, 24 Nov 2005 18:44:43 +0000 (18:44 +0000)]
remove wrongly commited comments

Original commit message from CVS:
remove wrongly commited comments

18 years agocheck/gst/gstminiobject.c: don't use check calls from threads; check probably isn...
Thomas Vander Stichele [Thu, 24 Nov 2005 18:40:58 +0000 (18:40 +0000)]
check/gst/gstminiobject.c: don't use check calls from threads; check probably isn't threadsafe and using a lock to ma...

Original commit message from CVS:

* check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
(gst_mini_object_suite):
don't use check calls from threads; check probably isn't
threadsafe and using a lock to make it threadsafe would
defeat the purpose of this check
* gst/check/gstcheck.c:
* gst/check/gstcheck.h:
use GST_DEBUG some more

18 years agogst/gstutils.c: Chain trivial case to _scale_int.
Wim Taymans [Thu, 24 Nov 2005 18:03:15 +0000 (18:03 +0000)]
gst/gstutils.c: Chain trivial case to _scale_int.

Original commit message from CVS:
* gst/gstutils.c: (gst_util_uint64_scale),
(gst_util_uint64_scale_int):
Chain trivial case to _scale_int.

18 years agocheck/gst/gstutils.c: Added test for scaling.
Wim Taymans [Thu, 24 Nov 2005 17:44:57 +0000 (17:44 +0000)]
check/gst/gstutils.c: Added test for scaling.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Added test for scaling.

* gst/gstclock.h:
Small doc fix.

* gst/gstutils.c: (gst_util_uint64_scale_int):
Implemented high precision scaling code.

18 years agogst/gstinfo.h: do not crash on pad==NULL
Stefan Kost [Thu, 24 Nov 2005 16:56:28 +0000 (16:56 +0000)]
gst/gstinfo.h: do not crash on pad==NULL

Original commit message from CVS:
* gst/gstinfo.h:
do not crash on pad==NULL

18 years agoFix distcheck issues for the libraries docs build
Stefan Kost [Thu, 24 Nov 2005 16:32:26 +0000 (16:32 +0000)]
Fix distcheck issues for the libraries docs build

Original commit message from CVS:

Patch by: Stefan Kost

* common/gtk-doc.mak:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
Fix distcheck issues for the libraries docs build
Closes #319599

18 years agodocs/manual/basics-helloworld.xml: Fix bug #315027: memory leak in example code in...
Michael Smith [Thu, 24 Nov 2005 14:39:59 +0000 (14:39 +0000)]
docs/manual/basics-helloworld.xml: Fix bug #315027: memory leak in example code in docs.

Original commit message from CVS:
* docs/manual/basics-helloworld.xml:
Fix bug #315027: memory leak in example code in docs.

18 years agogst/base/gstbasesink.c: Unlock the PREROLL_LOCK in a failure case.
Michael Smith [Thu, 24 Nov 2005 12:44:25 +0000 (12:44 +0000)]
gst/base/gstbasesink.c: Unlock the PREROLL_LOCK in a failure case.

Original commit message from CVS:
2005-11-24  Michael Smith <msmith@fluendo.com>

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Unlock the PREROLL_LOCK in a failure case.

18 years agoignore more
Thomas Vander Stichele [Thu, 24 Nov 2005 11:16:32 +0000 (11:16 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoDoc fixes.
Wim Taymans [Thu, 24 Nov 2005 09:44:07 +0000 (09:44 +0000)]
Doc fixes.

Original commit message from CVS:
Doc fixes.

18 years agoremoved directories
Thomas Vander Stichele [Wed, 23 Nov 2005 22:54:54 +0000 (22:54 +0000)]
removed directories

Original commit message from CVS:
removed directories

18 years agofix dist
Thomas Vander Stichele [Wed, 23 Nov 2005 22:21:25 +0000 (22:21 +0000)]
fix dist

Original commit message from CVS:
fix dist

18 years agoadd a torture target
Thomas Vander Stichele [Wed, 23 Nov 2005 21:24:46 +0000 (21:24 +0000)]
add a torture target

Original commit message from CVS:
add a torture target

18 years agoremove obsolete tests
Thomas Vander Stichele [Wed, 23 Nov 2005 21:18:44 +0000 (21:18 +0000)]
remove obsolete tests

Original commit message from CVS:
remove obsolete tests

18 years agoremove obsolete tests
Thomas Vander Stichele [Wed, 23 Nov 2005 21:16:58 +0000 (21:16 +0000)]
remove obsolete tests

Original commit message from CVS:
remove obsolete tests

18 years agoremove trigger subdir
Thomas Vander Stichele [Wed, 23 Nov 2005 21:13:59 +0000 (21:13 +0000)]
remove trigger subdir

Original commit message from CVS:
remove trigger subdir

18 years agoremove tests replaced by checks
Thomas Vander Stichele [Wed, 23 Nov 2005 21:12:22 +0000 (21:12 +0000)]
remove tests replaced by checks

Original commit message from CVS:
remove tests replaced by checks

18 years agoback to HEAD
Thomas Vander Stichele [Wed, 23 Nov 2005 20:04:25 +0000 (20:04 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.9.6 RELEASE-0_9_6
Thomas Vander Stichele [Wed, 23 Nov 2005 19:55:09 +0000 (19:55 +0000)]
releasing 0.9.6

Original commit message from CVS:
releasing 0.9.6

18 years agoUpdate .po files
Thomas Vander Stichele [Wed, 23 Nov 2005 18:07:18 +0000 (18:07 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agoChristian, learn to configure your .ssh/config file, and STOP committing to thisfile
Thomas Vander Stichele [Wed, 23 Nov 2005 17:59:00 +0000 (17:59 +0000)]
Christian, learn to configure your .ssh/config file, and STOP committing to thisfile

Original commit message from CVS:
Christian, learn to configure your .ssh/config file, and STOP committing to thisfile

18 years agoDoc updates.
Wim Taymans [Wed, 23 Nov 2005 16:10:38 +0000 (16:10 +0000)]
Doc updates.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/glib-compat.c:
* gst/gsttagsetter.c:
* gst/gstvalue.c:
* gst/net/gstnetclientclock.c:
* gst/net/gstnettimepacket.h:
Doc updates.

18 years agoremove mentions of sinesrc
Thomas Vander Stichele [Wed, 23 Nov 2005 15:49:06 +0000 (15:49 +0000)]
remove mentions of sinesrc

Original commit message from CVS:
remove mentions of sinesrc

18 years agodocs/gst/gstreamer-sections.txt: Update for new API and API changes.
Michael Smith [Wed, 23 Nov 2005 14:52:31 +0000 (14:52 +0000)]
docs/gst/gstreamer-sections.txt: Update for new API and API changes.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Update for new API and API changes.
* gst/gstobject.h:
Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
* gst/gstvalue.c:
Documentation typo fix.
* gst/net/gstnettimepacket.c:
Documentation fixes for arguments.

18 years agoAPI Changes.
Jan Schmidt [Wed, 23 Nov 2005 13:22:21 +0000 (13:22 +0000)]
API Changes.

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_get_fraction),
(gst_structure_parse_value),
(gst_structure_fixate_field_nearest_fraction):
* gst/gststructure.h:
* gst/gstutils.c: (gst_util_uint64_scale_int):
* gst/gstutils.h:
* scripts/update-funcnames:
API Changes.
Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
Make gst_structure_fixate_field_nearest_fraction take a numerator
and denominator argument instead of a GValue
add gst_structure_get_fraction helper function.

18 years agodocs/design/part-TODO.txt: Update TODO.
Wim Taymans [Wed, 23 Nov 2005 13:14:46 +0000 (13:14 +0000)]
docs/design/part-TODO.txt: Update TODO.

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

* gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
* gst/net/gstnetclientclock.h:
Use parent fields for timeout and window_size.

18 years agoadd missing cvsignores so CVS shuts up
Christian Schaller [Wed, 23 Nov 2005 12:39:36 +0000 (12:39 +0000)]
add missing cvsignores so CVS shuts up

Original commit message from CVS:
add missing cvsignores so CVS shuts up

18 years agocheck/net/gstnetclientclock.c (test_functioning): Adjust to rate_num/rate_denom change.
Andy Wingo [Wed, 23 Nov 2005 12:36:00 +0000 (12:36 +0000)]
check/net/gstnetclientclock.c (test_functioning): Adjust to rate_num/rate_denom change.

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

* check/net/gstnetclientclock.c (test_functioning): Adjust to
rate_num/rate_denom change.

* gst/net/gstnetclientclock.c
(gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
OBJECT_LOCK. Don't call add_observation with the lock.

* gst/gstclock.c (gst_clock_init): Initialize the rate as a
fraction.
(gst_clock_adjust_unlocked): Adjust using uint64_scale and the
rate fraction.
(gst_clock_set_calibration, gst_clock_get_calibration): Change to
deal with rate as a fraction whose numerator and denominator are
GstClockTime values.
(gst_clock_set_master): Only use the OBJECT_LOCK to set the
master; the other fields are protected by the SLAVE_LOCK.
(do_linear_regression): Note that this must be called with the
SLAVE_LOCK.
(gst_clock_add_observation): Take the SLAVE_LOCK, not the
OBJECT_LOCK. Call set_calibration instead of touching the
variables directly.
(gst_clock_set_property, gst_clock_get_property): Protect
master/slave parameters with the SLAVE_LOCK.

* gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
note that all of the instance variables that add_observation and
the set_master functions use are protected by that lock and not
the OBJECT_LOCK.
(GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.

* gst/gstclock.c (gst_clock_add_observation): No longer requires
the caller to take the object lock.

18 years agogst/gsterror.*: Add error for clock stuff.
Wim Taymans [Wed, 23 Nov 2005 11:22:39 +0000 (11:22 +0000)]
gst/gsterror.*: Add error for clock stuff.

Original commit message from CVS:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
Add error for clock stuff.

* gst/gstpipeline.c: (gst_pipeline_change_state),
(gst_pipeline_set_clock):
Post clock error when clock cannot be used in a pipeline.

18 years agodocs/gst/gstreamer-sections.txt: make two symbols from gstinfo private for the docs
Stefan Kost [Wed, 23 Nov 2005 11:05:37 +0000 (11:05 +0000)]
docs/gst/gstreamer-sections.txt: make two symbols from gstinfo private for the docs

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
make two symbols from gstinfo private for the docs
* gst/base/gstcollectpads.h:
* gst/gstutils.c:
fix doc typos, update docs

18 years agogst/base/gstbasesink.*: No need to store the clock, the parent element class already...
Wim Taymans [Tue, 22 Nov 2005 18:28:44 +0000 (18:28 +0000)]
gst/base/gstbasesink.*: No need to store the clock, the parent element class already has it.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_wait), (gst_base_sink_do_sync),
(gst_base_sink_handle_event):
* gst/base/gstbasesink.h:
No need to store the clock, the parent element class already
has it.

* gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
Updates for clock_set returning a gboolean

* gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
(gst_clock_id_wait_async), (gst_clock_class_init),
(gst_clock_init), (gst_clock_finalize),
(gst_clock_get_internal_time), (gst_clock_get_time),
(gst_clock_slave_callback), (gst_clock_set_master),
(gst_clock_get_master), (do_linear_regression),
(gst_clock_add_observation), (gst_clock_set_property),
(gst_clock_get_property):
* gst/gstclock.h:
Implement master/slave. When setting a clock as a slave, a
periodic timeout is scheduled to sample master and slave times.
Then the slave clock is recalibrated to match offset and rate
of the master clock.
Update logging a bit.
Add flag so that a clock can state that is cannot be slaved to
another clock.

* gst/gstelement.c: (gst_element_set_clock):
* gst/gstelement.h:
The set_clock returns a gboolean for when an element cannot
deal with the selected clock in the pipeline.

* gst/gstpipeline.c: (gst_pipeline_change_state),
(gst_pipeline_set_clock):
* gst/gstpipeline.h:
Handle the case where the selected clock cannot be set on
the pipeline.

* gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
(gst_net_client_clock_init), (gst_net_client_clock_finalize),
(gst_net_client_clock_set_property),
(gst_net_client_clock_get_property),
(gst_net_client_clock_observe_times):
* gst/net/gstnetclientclock.h:
Use regression code in GstClock parent, remove duplicated
functionality.

18 years agoAdd underscores
Michael Smith [Tue, 22 Nov 2005 16:31:08 +0000 (16:31 +0000)]
Add underscores

Original commit message from CVS:
Add underscores

18 years agogst/: correctly fix GEnumValues so that nick is the short lowercase dashed tag
Thomas Vander Stichele [Tue, 22 Nov 2005 15:52:03 +0000 (15:52 +0000)]
gst/: correctly fix GEnumValues so that nick is the short lowercase dashed tag

Original commit message from CVS:

* gst/elements/Makefile.am:
* gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
* gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
(gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
(gst_fake_src_init), (gst_fake_src_prepare_buffer),
(gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
* gst/elements/gstfakesrc.h:
* gst/gstqueue.c: (queue_leaky_get_type):
correctly fix GEnumValues so that nick is the short lowercase
dashed tag
* tools/gst-inspect.c: (print_element_properties_info):
also show the nick, since it's useful to use from parse_launch
syntax
Fixes #322139

18 years agoAdd util method for scaling a clocktime by a fraction. Useful implementation is left...
Michael Smith [Tue, 22 Nov 2005 15:15:53 +0000 (15:15 +0000)]
Add util method for scaling a clocktime by a fraction. Useful implementation is left as an exercise for the reader.

Original commit message from CVS:
* gst/gstutils.c: (gst_util_clocktime_scale):
* gst/gstutils.h:
* docs/gst/gstreamer-sections.txt:
Add util method for scaling a clocktime by a fraction. Useful
implementation is left as an exercise for the reader.

18 years agogst/gstvalue.c: If needed, allocate storage in the destination value during collection.
Jan Schmidt [Tue, 22 Nov 2005 14:29:10 +0000 (14:29 +0000)]
gst/gstvalue.c: If needed, allocate storage in the destination value during collection.

Original commit message from CVS:

* gst/gstvalue.c: (gst_value_collect_fraction_range):
If needed, allocate storage in the destination value during
collection.

18 years agoRemoved GstURI , closes bug #321061
Edward Hervey [Tue, 22 Nov 2005 13:58:00 +0000 (13:58 +0000)]
Removed GstURI , closes bug #321061

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gst.h:
* gst/gsturitype.c:
* gst/gsturitype.h:
* gst/gstutils.c: (gst_util_set_object_arg):
* tools/gst-compprep.c: (main):
* tools/gst-inspect.c: (print_element_properties_info):
Removed GstURI , closes bug #321061

18 years agoOops, broke automatic string type parsing.
Jan Schmidt [Tue, 22 Nov 2005 13:14:51 +0000 (13:14 +0000)]
Oops, broke automatic string type parsing.

Original commit message from CVS:
* check/gst/gststructure.c: (GST_START_TEST):
* gst/gststructure.c: (gst_structure_parse_value):
Oops, broke automatic string type parsing.
Add a test to catch it in future.

18 years agogst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
Andy Wingo [Tue, 22 Nov 2005 13:02:12 +0000 (13:02 +0000)]
gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)

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

* gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
(gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
Actually rename the function implementations. Grr.

18 years agofix borked commit
Andy Wingo [Tue, 22 Nov 2005 12:51:18 +0000 (12:51 +0000)]
fix borked commit

Original commit message from CVS:
fix borked commit

18 years agocheck/gst/capslist.h: Comment test cases
Jan Schmidt [Tue, 22 Nov 2005 12:35:42 +0000 (12:35 +0000)]
check/gst/capslist.h: Comment test cases

Original commit message from CVS:

* check/gst/capslist.h:
Comment test cases
* check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
Test automatic value type detection in gst_structure_from_string.
* gst/gststructure.c: (gst_structure_parse_value):
Add fraction as a type we try and guess automatically in
caps/structure strings.

18 years agoupdate update-funcs for tagsetter
Andy Wingo [Tue, 22 Nov 2005 12:35:35 +0000 (12:35 +0000)]
update update-funcs for tagsetter

Original commit message from CVS:
update update-funcs for tagsetter

18 years agogst/gsttagsetter.*: (gst_tag_setter_merge_tags) (gst_tag_setter_add_tags, gst_tag_set...
Torsten Schoenfeld [Tue, 22 Nov 2005 12:20:04 +0000 (12:20 +0000)]
gst/gsttagsetter.*: (gst_tag_setter_merge_tags) (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values) (gst_tag_set...

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

patch by: Torsten Schoenfeld <kaffeetisch gmx de>

* gst/gsttagsetter.h:
* gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
(gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
(gst_tag_setter_add_tag_valist)
(gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
_add_values, _add_valist, and _add_valist_values. Since this is an
interface the function suffixes should be more explicit so
language binding don't end up with element.add_valist ->
gst_tag_setter_add_valist, for example. Fixes #322069.

18 years agodon't valgrind the stress test, takes too long
Thomas Vander Stichele [Tue, 22 Nov 2005 12:15:19 +0000 (12:15 +0000)]
don't valgrind the stress test, takes too long

Original commit message from CVS:
don't valgrind the stress test, takes too long

18 years agocheck/gst/gstcaps.c: Extend caps string tests to check that a caps to string conversi...
Jan Schmidt [Tue, 22 Nov 2005 11:56:01 +0000 (11:56 +0000)]
check/gst/gstcaps.c: Extend caps string tests to check that a caps to string conversion is reversible and produces th...

Original commit message from CVS:
* check/gst/gstcaps.c: (GST_START_TEST):
Extend caps string tests to check that a caps to string
conversion is reversible and produces the same caps.

* gst/gststructure.c: (gst_structure_value_get_generic_type):
Output "fraction" as the generic type fraction range, so caps
serialisation and deserialisation works.
* check/gst/capslist.h:
* gst/gstvalue.c: (gst_value_deserialize_fraction):
Support 'MIN' and 'MAX' for deserialising fractions.

18 years agoMinor doc fix.
Michael Smith [Tue, 22 Nov 2005 11:50:12 +0000 (11:50 +0000)]
Minor doc fix.

Original commit message from CVS:
Minor doc fix.

18 years agogst/gstevent.h (gst_event_new_new_segment) (gst_event_parse_new_segment, gst_event_ne...
Andy Wingo [Tue, 22 Nov 2005 11:48:58 +0000 (11:48 +0000)]
gst/gstevent.h (gst_event_new_new_segment) (gst_event_parse_new_segment, gst_event_new_buffer_size)

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

* gst/gstevent.h (gst_event_new_new_segment)
(gst_event_parse_new_segment, gst_event_new_buffer_size)
(gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
Renamed from *_newsegment, *_buffersize, *_notarget.

* scripts/update-funcnames: New script, performs the changes
listed above.

18 years agogst/base/gstbasesink.c: Make sure the GstFlowReturn is returned.
Wim Taymans [Tue, 22 Nov 2005 11:25:01 +0000 (11:25 +0000)]
gst/base/gstbasesink.c: Make sure the GstFlowReturn is returned.

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Make sure the GstFlowReturn is returned.

* gst/gstbus.c: (gst_bus_add_signal_watch_full),
(gst_bus_add_signal_watch):
* gst/gstbus.h:
add gst_bus_add_signal_watch_full.

* gst/gstplugin.c: (gst_plugin_load_file):
Small style cleanup.

18 years agocheck/gst/gstevent.c: Block the fakesrc srcpad when we send an event, to avoid conten...
Jan Schmidt [Tue, 22 Nov 2005 10:24:31 +0000 (10:24 +0000)]
check/gst/gstevent.c: Block the fakesrc srcpad when we send an event, to avoid contention on the stream_lock causing ...

Original commit message from CVS:
* check/gst/gstevent.c: (test_event), (GST_START_TEST):
Block the fakesrc srcpad when we send an event, to avoid
contention on the stream_lock causing random test failures.

18 years agoFix subtraction.
Jan Schmidt [Tue, 22 Nov 2005 09:42:17 +0000 (09:42 +0000)]
Fix subtraction.

Original commit message from CVS:
* check/gst/gstvalue.c: (GST_START_TEST):
* gst/gstvalue.c: (gst_value_fraction_subtract):
Fix subtraction.

18 years agogst/gst.h: include "gstchildproxy.h"
Stefan Kost [Tue, 22 Nov 2005 09:35:25 +0000 (09:35 +0000)]
gst/gst.h: include "gstchildproxy.h"

Original commit message from CVS:
* gst/gst.h:
include "gstchildproxy.h"
* gst/gstchildproxy.h:
* libs/gst/controller/gstcontroller.h:
use G_GNUC_NULL_TERMINATED

18 years agoImplement fraction ranges and extend GstFraction to support arithmetic subtraction...
Jan Schmidt [Mon, 21 Nov 2005 23:54:59 +0000 (23:54 +0000)]
Implement fraction ranges and extend GstFraction to support arithmetic subtraction, as well as deserialization from i...

Original commit message from CVS:
* check/gst/capslist.h:
* check/gst/gstcaps.c: (GST_START_TEST):
* check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
* gst/gststructure.c: (gst_structure_parse_range),
(gst_structure_fixate_field_nearest_fraction):
* gst/gststructure.h:
* gst/gstvalue.c: (gst_value_init_fraction_range),
(gst_value_free_fraction_range), (gst_value_copy_fraction_range),
(gst_value_collect_fraction_range),
(gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
(gst_value_set_fraction_range_full),
(gst_value_get_fraction_range_min),
(gst_value_get_fraction_range_max),
(gst_value_serialize_fraction_range),
(gst_value_transform_fraction_range_string),
(gst_value_compare_fraction_range),
(gst_value_deserialize_fraction_range),
(gst_value_intersect_fraction_fraction_range),
(gst_value_intersect_fraction_range_fraction_range),
(gst_value_subtract_fraction_fraction_range),
(gst_value_subtract_fraction_range_fraction),
(gst_value_subtract_fraction_range_fraction_range),
(gst_value_collect_fraction), (gst_value_fraction_multiply),
(gst_value_fraction_subtract), (gst_value_deserialize_fraction),
(gst_value_transform_string_fraction), (_gst_value_initialize):
* gst/gstvalue.h:
Implement fraction ranges and extend GstFraction to support
arithmetic subtraction, as well as deserialization from integer
strings such as "100"
Add a testsuite as for int and double range set operations

18 years agogst/: Add glib-compat.h.
Andy Wingo [Mon, 21 Nov 2005 19:58:23 +0000 (19:58 +0000)]
gst/: Add glib-compat.h.

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

* gst/gsttaglist.h:
* gst/gstcaps.h:
* gst/gststructure.h: Add glib-compat.h.

18 years agogst/gstbin.c: Fix for #321595
Wim Taymans [Mon, 21 Nov 2005 19:13:13 +0000 (19:13 +0000)]
gst/gstbin.c: Fix for #321595

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_change_state_func):
Fix for #321595

18 years agogst/gstsegment.h: And add a nice define too.
Wim Taymans [Mon, 21 Nov 2005 19:00:28 +0000 (19:00 +0000)]
gst/gstsegment.h: And add a nice define too.

Original commit message from CVS:
* gst/gstsegment.h:
And add a nice define too.