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
Thomas Vander Stichele [Mon, 28 Nov 2005 21:48:19 +0000 (21:48 +0000)]
cosmetic changes
Original commit message from CVS:
cosmetic changes
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
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 :-)
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.
Thomas Vander Stichele [Mon, 28 Nov 2005 17:59:25 +0000 (17:59 +0000)]
doc updates
Original commit message from CVS:
doc updates
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.
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
Thomas Vander Stichele [Mon, 28 Nov 2005 14:02:54 +0000 (14:02 +0000)]
log caps
Original commit message from CVS:
log caps
Thomas Vander Stichele [Mon, 28 Nov 2005 14:01:52 +0000 (14:01 +0000)]
fix docs
Original commit message from CVS:
fix docs
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
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
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
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.
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.
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
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>
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
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
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.
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).
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
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
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
Thomas Vander Stichele [Sun, 27 Nov 2005 14:19:38 +0000 (14:19 +0000)]
Fixes #312589
Original commit message from CVS:
Fixes #312589
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
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.
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.
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.
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.
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.
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
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
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.
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.
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
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
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.
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.
Thomas Vander Stichele [Thu, 24 Nov 2005 11:16:32 +0000 (11:16 +0000)]
ignore more
Original commit message from CVS:
ignore more
Wim Taymans [Thu, 24 Nov 2005 09:44:07 +0000 (09:44 +0000)]
Doc fixes.
Original commit message from CVS:
Doc fixes.
Thomas Vander Stichele [Wed, 23 Nov 2005 22:54:54 +0000 (22:54 +0000)]
removed directories
Original commit message from CVS:
removed directories
Thomas Vander Stichele [Wed, 23 Nov 2005 22:21:25 +0000 (22:21 +0000)]
fix dist
Original commit message from CVS:
fix dist
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
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
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
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
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
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
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
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
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
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.
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
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.
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.
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.
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
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.
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.
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
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.
Michael Smith [Tue, 22 Nov 2005 16:31:08 +0000 (16:31 +0000)]
Add underscores
Original commit message from CVS:
Add underscores
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
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.
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.
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
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.
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.
Andy Wingo [Tue, 22 Nov 2005 12:51:18 +0000 (12:51 +0000)]
fix borked commit
Original commit message from CVS:
fix borked commit
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.
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
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.
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
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.
Michael Smith [Tue, 22 Nov 2005 11:50:12 +0000 (11:50 +0000)]
Minor doc fix.
Original commit message from CVS:
Minor doc fix.
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.
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.
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.
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.
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
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
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.
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
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.
Wim Taymans [Mon, 21 Nov 2005 18:53:06 +0000 (18:53 +0000)]
gst/gstsegment.*: Make binding friendly.
Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
(gst_segment_new), (gst_segment_free), (gst_segment_init),
(gst_segment_set_duration), (gst_segment_set_last_stop),
(gst_segment_set_seek), (gst_segment_set_newsegment),
(gst_segment_to_stream_time), (gst_segment_to_running_time),
(gst_segment_clip):
* gst/gstsegment.h:
Make binding friendly.
Andy Wingo [Mon, 21 Nov 2005 18:41:39 +0000 (18:41 +0000)]
gst/: Sprinkle NULL_TERMINATED to taste.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gsttagsetter.h:
* gst/gsttaglist.h:
* gst/gststructure.h:
* gst/gstcaps.h:
* gst/gstutils.h: Sprinkle NULL_TERMINATED to taste.
Andy Wingo [Mon, 21 Nov 2005 18:27:26 +0000 (18:27 +0000)]
gst/gsterror.*: New error category.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gsterror.c (_gst_core_errors_init):
* gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
category.
Andy Wingo [Mon, 21 Nov 2005 18:16:00 +0000 (18:16 +0000)]
gst/Makefile.am (gst_headers): Add glib-compat.h. noinst the -private.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/Makefile.am (gst_headers): Add glib-compat.h.
(noinst_HEADERS): noinst the -private.
Michael Smith [Mon, 21 Nov 2005 18:10:13 +0000 (18:10 +0000)]
gst/: Remove unimplemented declarations for which we can see no sensible use.
Original commit message from CVS:
* gst/gstplugin.h:
* gst/gstregistry.h:
Remove unimplemented declarations for which we can see no sensible
use.
Andy Wingo [Mon, 21 Nov 2005 18:03:22 +0000 (18:03 +0000)]
gst/gst.h: Include glib-compat.h.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gst.h: Include glib-compat.h.
* gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
* gst/glib-compat.c: Include the public and the private header.
* gst/glib-compat-private.h: Copied here from glib-compat.h.
* gst/gstvalue.c:
* gst/gstpad.c:
* gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
Andy Wingo [Mon, 21 Nov 2005 17:21:15 +0000 (17:21 +0000)]
check/gst/gstevent.c (create_custom_events): Check that
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* check/gst/gstevent.c (create_custom_events): Check that
FLUSH_STOP is serialized.
* check/elements/identity.c (event_func):
* check/elements/fakesrc.c (event_func): No stream lock, the core
takes it.
* gst/base/gstbasetransform.c (gst_base_transform_event): No more
stream lock taking, yay.
* gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
ensure that core takes the stream lock.
* gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
lock name change.
* gst/base/gstbasesink.c (gst_base_sink_event): No need to take
the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
it already. For the flush start we do take it though so we get the
right preroll state change messages.
* gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
the stream lock here, the core does it for us.
* gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
GST_STREAM_GET_LOCK.
(GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
(GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
(GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
(GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
(GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
(GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
* gst/gstpad.c: Update for stream lock name change.
* gst/base/gstbasesink.c: Update for preroll lock name change.
Wim Taymans [Mon, 21 Nov 2005 17:12:50 +0000 (17:12 +0000)]
gst/: Convert Clock flags to object flags.
Original commit message from CVS:
* gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
(gst_clock_get_master):
* gst/gstclock.h:
* gst/gstsystemclock.c: (gst_system_clock_init):
Convert Clock flags to object flags.
Added methods to manage master/slave clocks.
Wim Taymans [Mon, 21 Nov 2005 17:09:45 +0000 (17:09 +0000)]
More segment updates, replace code in plugins with segment helper functions.
Original commit message from CVS:
* check/gst/gstsegment.c: (GST_START_TEST):
* docs/design/part-TODO.txt:
* 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_get_position),
(gst_base_sink_query), (gst_base_sink_change_state):
* gst/base/gstbasesink.h:
* gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
(gst_base_src_default_newsegment),
(gst_base_src_configure_segment), (gst_base_src_do_seek),
(gst_base_src_get_range), (gst_base_src_loop),
(gst_base_src_change_state):
* gst/base/gstbasesrc.h:
* gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buf),
(gst_base_transform_event), (gst_base_transform_change_state):
* gst/base/gstbasetransform.h:
* gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
(gst_collect_pads_event):
* gst/base/gstcollectpads.h:
* gst/elements/gstfakesrc.c: (gst_fake_src_init),
(gst_fake_src_create):
* gst/elements/gstfakesrc.h:
* gst/elements/gstidentity.c: (gst_identity_transform_ip):
* gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
(gst_segment_set_last_stop), (gst_segment_set_seek),
(gst_segment_set_newsegment), (gst_segment_to_stream_time),
(gst_segment_to_running_time), (gst_segment_clip):
* gst/gstsegment.h:
More segment updates, replace code in plugins with segment
helper functions.
Jan Schmidt [Mon, 21 Nov 2005 16:46:07 +0000 (16:46 +0000)]
gst/elements/gstfdsrc.c: Don't ignore sscanf results
Original commit message from CVS:
* gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
Don't ignore sscanf results
Andy Wingo [Mon, 21 Nov 2005 16:41:16 +0000 (16:41 +0000)]
gst/gstpad.h (GST_IS_PAD_FAST): Removed.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gstpad.h (GST_IS_PAD_FAST): Removed.
Andy Wingo [Mon, 21 Nov 2005 16:34:26 +0000 (16:34 +0000)]
*.*: Ran scripts/update-macros. Oh yes. gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
* gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
(GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
GST_GET_LOCK, etc.
* scripts/update-macros: New script. Run it on your files to
change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
well.
Stefan Kost [Mon, 21 Nov 2005 15:47:09 +0000 (15:47 +0000)]
more docs fixes, add new api to the docs
Original commit message from CVS:
* docs/gst/Makefile.am:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* gst/gstinfo.h:
more docs fixes, add new api to the docs
Andy Wingo [Mon, 21 Nov 2005 15:01:48 +0000 (15:01 +0000)]
gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this state_broadcast call.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
state_broadcast call.
Andy Wingo [Mon, 21 Nov 2005 14:53:34 +0000 (14:53 +0000)]
gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
Original commit message from CVS:
2005-11-21 Andy Wingo <wingo@pobox.com>
* gst/gstsegment.c (gst_segment_init): Initialize abs_rate.