platform/upstream/gstreamer.git
17 years agolibs/gst/controller/Makefile.am: Dist gstlfocontrolsourceprivate.h
Jan Schmidt [Tue, 7 Aug 2007 16:06:47 +0000 (16:06 +0000)]
libs/gst/controller/Makefile.am: Dist gstlfocontrolsourceprivate.h

Original commit message from CVS:
* libs/gst/controller/Makefile.am:
Dist gstlfocontrolsourceprivate.h

17 years agodocs/libs/gstreamer-libs.types: Don't register the enum type gst_lfo_waveform_get_typ...
Jan Schmidt [Tue, 7 Aug 2007 15:15:40 +0000 (15:15 +0000)]
docs/libs/gstreamer-libs.types: Don't register the enum type gst_lfo_waveform_get_type() in the .types file - only GO...

Original commit message from CVS:
* docs/libs/gstreamer-libs.types:
Don't register the enum type gst_lfo_waveform_get_type() in the
.types file - only GObject derived types belong.

17 years agogst/gstbuffer.h: Remove comma from last element in enum to avoid compile errors when...
Wim Taymans [Tue, 7 Aug 2007 14:04:22 +0000 (14:04 +0000)]
gst/gstbuffer.h: Remove comma from last element in enum to avoid compile errors when using -pendantic. Fixes #464366.

Original commit message from CVS:
Patch by: <arenevier at fdn dot fr>
* gst/gstbuffer.h:
Remove comma from last element in enum to avoid compile errors when
using -pendantic. Fixes #464366.

17 years agodocs/design/part-TODO.txt: Add some more TODO items
Wim Taymans [Tue, 7 Aug 2007 09:56:08 +0000 (09:56 +0000)]
docs/design/part-TODO.txt: Add some more TODO items

Original commit message from CVS:
* docs/design/part-TODO.txt:
Add some more TODO items
* gst/gstbin.c: (find_message), (gst_bin_change_state_func):
Improve debugging.
* gst/gstcaps.c: (gst_caps_intersect):
Optimize trivial intersection case between identical caps pointers.
* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func):
* gst/gstpad.c:
Fix spelling and grammar mistakes.

17 years agopo/POTFILES.*: Update POTFILES. Fixes #461599.
Stefan Kost [Sun, 5 Aug 2007 14:48:06 +0000 (14:48 +0000)]
po/POTFILES.*: Update POTFILES. Fixes #461599.

Original commit message from CVS:
* po/POTFILES.in:
* po/POTFILES.skip:
Update POTFILES. Fixes #461599.

17 years agogst/gst.c: Fix confusing typo in debug output.
Sebastian Dröge [Fri, 3 Aug 2007 19:25:45 +0000 (19:25 +0000)]
gst/gst.c: Fix confusing typo in debug output.

Original commit message from CVS:
* gst/gst.c:
Fix confusing typo in debug output.

17 years agolibs/gst/controller/: API: Add GstLFOControlSource, a control source that gives value...
Sebastian Dröge [Fri, 3 Aug 2007 15:47:17 +0000 (15:47 +0000)]
libs/gst/controller/: API: Add GstLFOControlSource, a control source that gives values for specific timestamps based ...

Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
(gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
(gst_lfo_control_source_new),
(gst_lfo_control_source_set_waveform),
(gst_lfo_control_source_bind), (gst_lfo_control_source_init),
(gst_lfo_control_source_finalize),
(gst_lfo_control_source_dispose),
(gst_lfo_control_source_set_property),
(gst_lfo_control_source_get_property),
(gst_lfo_control_source_class_init):
* libs/gst/controller/gstlfocontrolsource.h:
* libs/gst/controller/gstlfocontrolsourceprivate.h:
API: Add GstLFOControlSource, a control source that gives values
for specific timestamps based on several periodic waveforms.
Fixes #459717.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add documentation and unit tests for GstLFOControlSource.

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Fri, 3 Aug 2007 14:40:22 +0000 (14:40 +0000)]
configure.ac: Back to CVS

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

17 years agoRelease 0.10.14 RELEASE-0_10_14
Jan Schmidt [Fri, 3 Aug 2007 14:39:15 +0000 (14:39 +0000)]
Release 0.10.14

Original commit message from CVS:
Release 0.10.14

17 years agoUpdate .po files
Jan Schmidt [Fri, 3 Aug 2007 13:20:50 +0000 (13:20 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agogst/gstelement.*: Make strings passed to gst_element_class_set_details_simple() const...
Tim-Philipp Müller [Thu, 2 Aug 2007 11:51:17 +0000 (11:51 +0000)]
gst/gstelement.*: Make strings passed to gst_element_class_set_details_simple() constant, as they should be (#462752).

Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_set_details_simple):
* gst/gstelement.h:
Make strings passed to gst_element_class_set_details_simple()
constant, as they should be (#462752).

17 years agogst/gstbin.c: Don't forget about the fact that some element went ASYNC even after...
Wim Taymans [Thu, 2 Aug 2007 11:15:46 +0000 (11:15 +0000)]
gst/gstbin.c: Don't forget about the fact that some element went ASYNC even after a resync. This makes us post the AS...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_change_state_func),
(bin_handle_async_done), (gst_bin_handle_message_func):
Don't forget about the fact that some element went ASYNC even after a
resync. This makes us post the ASYNC_DONE message correctly.
Fixes #462558.

17 years agogst/gstregistry.c: When replacing an existing feature in the registry, make sure...
Jan Schmidt [Tue, 31 Jul 2007 11:51:38 +0000 (11:51 +0000)]
gst/gstregistry.c: When replacing an existing feature in the registry, make sure to continue holding a reference unti...

Original commit message from CVS:
* gst/gstregistry.c: (gst_registry_add_feature):
When replacing an existing feature in the registry, make sure to
continue holding a reference until we've replaced the name string
within our feature hash table. Make sure to use g_hash_table_replace
instead of g_hash_table_insert to ensure the new name string is used
as a key instead of the old one that we're about to free.
Fixes: #462085

17 years agogst/gstpluginfeature.c: Revert patch from #459466 until after the release and we...
Jan Schmidt [Tue, 31 Jul 2007 10:10:27 +0000 (10:10 +0000)]
gst/gstpluginfeature.c: Revert patch from #459466 until after the release and we can work out exactly what the proble...

Original commit message from CVS:
* gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
(gst_plugin_feature_set_name):
Revert patch from #459466 until after the release and we can work
out exactly what the problem is (if any).

17 years agoAPI: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
Tim-Philipp Müller [Thu, 26 Jul 2007 15:48:40 +0000 (15:48 +0000)]
API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).

17 years agodocs/libs/Makefile.am: Include our build-prefix libs and includes before the generic...
Jan Schmidt [Thu, 26 Jul 2007 14:05:23 +0000 (14:05 +0000)]
docs/libs/Makefile.am: Include our build-prefix libs and includes before the generic ones to avoid linking against th...

Original commit message from CVS:
* docs/libs/Makefile.am:
Include our build-prefix libs and includes before the generic ones to
avoid linking against the installed libs when we want the build-tree
ones.

17 years agodocs/pwg/building-testapp.xml: Mention that GST_PLUGIN_PATH or --gst-plugin-path...
Steve Fink [Thu, 26 Jul 2007 08:46:46 +0000 (08:46 +0000)]
docs/pwg/building-testapp.xml: Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed if people try to bui...

Original commit message from CVS:
Patch by: Steve Fink  <sphink gmail com>
* docs/pwg/building-testapp.xml:
Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
if people try to build or install the example from the plugin
template against a GStreamer from package using the configure
defaults.

17 years agotools/gst-inspect.1.in: Document --print-all and --print-plugin-auto-install-info...
Steve Fink [Wed, 25 Jul 2007 22:29:57 +0000 (22:29 +0000)]
tools/gst-inspect.1.in: Document --print-all and --print-plugin-auto-install-info command line options in man page.

Original commit message from CVS:
Patch by: Steve Fink  <sphink gmail com>
* tools/gst-inspect.1.in:
Document --print-all and --print-plugin-auto-install-info command
line options in man page.

17 years agodocs/gst/gstreamer-sections.txt: Add docs for new api function.
Wim Taymans [Wed, 25 Jul 2007 18:46:49 +0000 (18:46 +0000)]
docs/gst/gstreamer-sections.txt: Add docs for new api function.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add docs for new api function.

17 years agogst/gstelementfactory.*: API: gst_element_factory_has_interface()
Wim Taymans [Wed, 25 Jul 2007 18:37:12 +0000 (18:37 +0000)]
gst/gstelementfactory.*: API: gst_element_factory_has_interface()

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_factory_has_interface):
* gst/gstelementfactory.h:
API: gst_element_factory_has_interface()
Added method to check if an element factory implements a named
interface.

17 years agoAnother conditional doc check.
Stefan Kost [Wed, 25 Jul 2007 13:00:23 +0000 (13:00 +0000)]
Another conditional doc check.

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer.types.in:
Another conditional doc check.
* gst/gstmessage.c:
* gst/gstparamspecs.h:
* gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
* gst/gstvalue.c:
* gst/gstxml.h:
API-doc fixes.

17 years agogst/gstregistrybinary.c: Print error just once and with additional info.
Stefan Kost [Tue, 24 Jul 2007 13:44:04 +0000 (13:44 +0000)]
gst/gstregistrybinary.c: Print error just once and with additional info.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
Print error just once and with additional info.

17 years agolibs/gst/base/gsttypefindhelper.c: Cleanup the typefindhelper code and add private...
Stefan Kost [Tue, 24 Jul 2007 13:38:21 +0000 (13:38 +0000)]
libs/gst/base/gsttypefindhelper.c: Cleanup the typefindhelper code and add private doc comments.

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
(helper_find_suggest), (helper_find_get_length),
(gst_type_find_helper_get_range), (buf_helper_find_suggest),
(gst_type_find_helper_for_buffer):
Cleanup the typefindhelper code and add private doc comments.

17 years agoplugins/elements/gstcapsfilter.c: Fix capsfilter for cases where the caps set on...
Edward Hervey [Tue, 24 Jul 2007 12:32:31 +0000 (12:32 +0000)]
plugins/elements/gstcapsfilter.c: Fix capsfilter for cases where the caps set on capsfilter will provide additional i...

Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
(gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
Fix capsfilter for cases where the caps set on capsfilter will provide
additional information.
Fixes #449197

17 years agogst/gsttypefindfactory.c: Fix docs that recommened wrong function to use.
Stefan Kost [Tue, 24 Jul 2007 11:31:09 +0000 (11:31 +0000)]
gst/gsttypefindfactory.c: Fix docs that recommened wrong function to use.

Original commit message from CVS:
* gst/gsttypefindfactory.c:
Fix docs that recommened wrong function to use.

17 years agotools/gst-inspect.c: Also give media-type for typefinders in element output.
Stefan Kost [Mon, 23 Jul 2007 13:03:43 +0000 (13:03 +0000)]
tools/gst-inspect.c: Also give media-type for typefinders in element output.

Original commit message from CVS:
* tools/gst-inspect.c: (print_plugin_features):
Also give media-type for typefinders in element output.

17 years agogst/gstregistry.*: Speed up gst_registry_lookup_feature_locked() by using a hashmap.
Stefan Kost [Mon, 23 Jul 2007 11:42:12 +0000 (11:42 +0000)]
gst/gstregistry.*: Speed up gst_registry_lookup_feature_locked() by using a hashmap.

Original commit message from CVS:
* gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
(gst_registry_remove_features_for_plugin_unlocked),
(gst_registry_add_feature), (gst_registry_remove_feature),
(gst_registry_lookup_feature_locked):
* gst/gstregistry.h:
Speed up gst_registry_lookup_feature_locked() by using a hashmap.
Fixes #459501.

17 years agogst/gstpluginfeature.c: Avoid double memory usage for pluginfeature names. Fixes...
Stefan Kost [Mon, 23 Jul 2007 10:39:10 +0000 (10:39 +0000)]
gst/gstpluginfeature.c: Avoid double memory usage for pluginfeature names. Fixes #459466.

Original commit message from CVS:
* gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
(gst_plugin_feature_set_name):
Avoid double memory usage for pluginfeature names. Fixes #459466.

17 years agogst/gstpad.h: Small addition to GST_FLOW_IS_FATAL() docs: mention that elements drivi...
Tim-Philipp Müller [Sun, 22 Jul 2007 18:26:32 +0000 (18:26 +0000)]
gst/gstpad.h: Small addition to GST_FLOW_IS_FATAL() docs: mention that elements driving the pipeline may need to expl...

Original commit message from CVS:
* gst/gstpad.h:
Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
driving the pipeline may need to explicitly check for NOT_LINKED as
well, since IS_FATAL doesn't cover that.

17 years agodocs/pwg/advanced-types.xml: Fix typo and duplicate entry in video formats list.
Tim-Philipp Müller [Sun, 22 Jul 2007 18:16:19 +0000 (18:16 +0000)]
docs/pwg/advanced-types.xml: Fix typo and duplicate entry in video formats list.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Fix typo and duplicate entry in video formats list.

17 years agolibs/gst/controller/gstinterpolation.c: Also round to the nearest int when using...
Sebastian Dröge [Sun, 22 Jul 2007 12:18:46 +0000 (12:18 +0000)]
libs/gst/controller/gstinterpolation.c: Also round to the nearest int when using cubic interpolation.

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
Also round to the nearest int when using cubic interpolation.

17 years agolibs/gst/controller/gstinterpolation.c: When linearly interpolating integer types...
Jan Schmidt [Sat, 21 Jul 2007 21:20:37 +0000 (21:20 +0000)]
libs/gst/controller/gstinterpolation.c: When linearly interpolating integer types, round to the nearest int by adding...

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
When linearly interpolating integer types, round to the nearest int
by adding 0.5. Don't do it for float/double types.
Fixes the failing controller test on my machine, which is somehow
rounding differently than on the buildbots.

17 years agotools/gst-plot-timeline.py: Better log parsing (categories can have -). Adjust text...
Stefan Kost [Fri, 20 Jul 2007 07:36:44 +0000 (07:36 +0000)]
tools/gst-plot-timeline.py: Better log parsing (categories can have -). Adjust text vs. lines, so that they span the ...

Original commit message from CVS:
* tools/gst-plot-timeline.py:
Better log parsing (categories can have -). Adjust text vs. lines, so
that they span the same y-range.

17 years agodocs/random/ensonic/: Save my thoughts.
Stefan Kost [Fri, 20 Jul 2007 07:26:39 +0000 (07:26 +0000)]
docs/random/ensonic/: Save my thoughts.

Original commit message from CVS:
* docs/random/ensonic/audiobaseclasses.txt:
* docs/random/ensonic/dynlink.txt:
* docs/random/ensonic/profiling.txt:
Save my thoughts.
* docs/random/moving-plugins:
Add note to use g_assert type macros.

17 years agoAdd libm check as we use in for plugins.
Stefan Kost [Fri, 20 Jul 2007 07:09:11 +0000 (07:09 +0000)]
Add libm check as we use in for plugins.

Original commit message from CVS:
* configure.ac:
* libs/gst/check/Makefile.am:
Add libm check as we use in for plugins.

17 years agogst/gstbin.c: Check that the state_cookie hasn't changed since the continue_func...
Jan Schmidt [Wed, 18 Jul 2007 14:31:21 +0000 (14:31 +0000)]
gst/gstbin.c: Check that the state_cookie hasn't changed since the continue_func was scheduled. Avoids problems where...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_continue_func):
Check that the state_cookie hasn't changed since the continue_func
was scheduled. Avoids problems where the state changes back to
something it shouldn't be because it was changed in the meantime.

17 years agogst/gstregistrybinary.c: Fix memory leak. Be less verbose in the log.
Stefan Kost [Tue, 17 Jul 2007 09:44:51 +0000 (09:44 +0000)]
gst/gstregistrybinary.c: Fix memory leak. Be less verbose in the log.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
(gst_registry_binary_save_string),
(gst_registry_binary_save_pad_template),
(gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
Fix memory leak. Be less verbose in the log.

17 years agotests/check/elements/.cvsignore: Add file to cvsignore as commanded.
Jan Schmidt [Mon, 16 Jul 2007 16:44:31 +0000 (16:44 +0000)]
tests/check/elements/.cvsignore: Add file to cvsignore as commanded.

Original commit message from CVS:
* tests/check/elements/.cvsignore:
Add file to cvsignore as commanded.

17 years agotests/check/elements/multiqueue.c: Use a GStaticMutex to protect all cases where...
Jan Schmidt [Mon, 16 Jul 2007 16:04:49 +0000 (16:04 +0000)]
tests/check/elements/multiqueue.c: Use a GStaticMutex to protect all cases where libcheck fail_if/fail_unless macros ...

Original commit message from CVS:
* tests/check/elements/multiqueue.c: (mq_dummypad_chain),
(mq_dummypad_event), (run_output_order_test):
Use a GStaticMutex to protect all cases where libcheck
fail_if/fail_unless macros might be called from multiple threads
simultaneously to avoid errors like:
"check_pack.c:107: :-1081725400:Bad message type arg"

17 years agotests/check/pipelines/stress.c: Make sure we set the pipeline back to the NULL state...
Jan Schmidt [Mon, 16 Jul 2007 15:19:06 +0000 (15:19 +0000)]
tests/check/pipelines/stress.c: Make sure we set the pipeline back to the NULL state before dropping our final refere...

Original commit message from CVS:
* tests/check/pipelines/stress.c: (GST_START_TEST):
Make sure we set the pipeline back to the NULL state before
dropping our final reference.

17 years agotests/check/elements/tee.c: Make the tee stress-test a little less stressful so it...
Jan Schmidt [Mon, 16 Jul 2007 14:55:26 +0000 (14:55 +0000)]
tests/check/elements/tee.c: Make the tee stress-test a little less stressful so it doesn't just time out on slow-mach...

Original commit message from CVS:
* tests/check/elements/tee.c: (GST_START_TEST):
Make the tee stress-test a little less stressful so it doesn't just
time out on slow-machines, and remove a small race when it's starting
up by adding a get_state() call.

17 years agogst/gst.c: Avoid reading registry twice on startup. Fixes #457322.
Stefan Kost [Mon, 16 Jul 2007 12:36:18 +0000 (12:36 +0000)]
gst/gst.c: Avoid reading registry twice on startup. Fixes #457322.

Original commit message from CVS:
* gst/gst.c:
Avoid reading registry twice on startup. Fixes #457322.

17 years agopkgconfig/: Substitute the CFLAGS for libcheck into our .pc file too so that dependen...
Jan Schmidt [Fri, 13 Jul 2007 14:11:22 +0000 (14:11 +0000)]
pkgconfig/: Substitute the CFLAGS for libcheck into our .pc file too so that dependent modules will pick it up proper...

Original commit message from CVS:
* pkgconfig/gstreamer-check-uninstalled.pc.in:
* pkgconfig/gstreamer-check.pc.in:
Substitute the CFLAGS for libcheck into our .pc file too so that
dependent modules will pick it up properly if libcheck is installed
into some other prefix.

17 years agoconfigure.ac: Revert the pkg-config check for libcheck, since it pulls in the wrong...
Jan Schmidt [Fri, 13 Jul 2007 13:49:14 +0000 (13:49 +0000)]
configure.ac: Revert the pkg-config check for libcheck, since it pulls in the wrong non-PIC libcheck.a on Ubuntu and ...

Original commit message from CVS:
* configure.ac:
Revert the pkg-config check for libcheck, since it pulls in the
wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
a proper solution, either from the check project, or something else.

17 years agoconfigure.ac: Use pkg-config to locate check.
Stefan Kost [Thu, 12 Jul 2007 11:10:22 +0000 (11:10 +0000)]
configure.ac: Use pkg-config to locate check.

Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check.

17 years agogst/gsttaglist.c: Fix doc syntax.
Stefan Kost [Tue, 10 Jul 2007 20:10:16 +0000 (20:10 +0000)]
gst/gsttaglist.c: Fix doc syntax.

Original commit message from CVS:
* gst/gsttaglist.c:
Fix doc syntax.
* gst/gstutils.c:
* gst/gstutils.h:
Add deprecation guards.
* libs/gst/base/gstcollectpads.h:
Don't document object (this is implicitly private).

17 years agogst/gststructure.c: When deserialising foo=bar without a type cast, check if it's...
Tim-Philipp Müller [Sun, 8 Jul 2007 14:11:53 +0000 (14:11 +0000)]
gst/gststructure.c: When deserialising foo=bar without a type cast, check if it's a boolean before falling back to a ...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_parse_value):
When deserialising foo=bar without a type cast, check if it's a
boolean before falling back to a string type, otherwise things like
audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
because the filtercaps end up having a signed=(string)true field,
which causes problems later when intersection caps.
* tests/check/gst/gststructure.c: (GST_START_TEST):
Add a unit test for this.

17 years agolibs/gst/controller/: API: Refactor GstController into the core controller which...
Sebastian Dröge [Fri, 6 Jul 2007 21:50:02 +0000 (21:50 +0000)]
libs/gst/controller/: API: Refactor GstController into the core controller which can take a GstControlSource for prov...

Original commit message from CVS:
Reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/Makefile.am:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_add_interpolation_control_source),
(gst_controlled_property_new), (gst_controlled_property_free),
(gst_controller_find_controlled_property),
(gst_controller_new_valist), (gst_controller_new_list),
(gst_controller_new), (gst_controller_remove_properties_valist),
(gst_controller_remove_properties_list),
(gst_controller_remove_properties),
(gst_controller_set_property_disabled),
(gst_controller_set_disabled), (gst_controller_set_control_source),
(gst_controller_get_control_source), (gst_controller_get),
(gst_controller_sync_values), (gst_controller_get_value_array),
(_gst_controller_dispose), (gst_controller_get_type),
(gst_controlled_property_set_interpolation_mode),
(gst_controller_set), (gst_controller_set_from_list),
(gst_controller_unset), (gst_controller_unset_all),
(gst_controller_get_all), (gst_controller_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstcontrolsource.c:
(gst_control_source_class_init), (gst_control_source_init),
(gst_control_source_get_value),
(gst_control_source_get_value_array), (gst_control_source_bind):
* libs/gst/controller/gstcontrolsource.h:
* libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
(gst_object_get_control_source):
* libs/gst/controller/gstinterpolation.c:
(gst_interpolation_control_source_find_control_point_node),
(gst_interpolation_control_source_get_first_value),
(_interpolate_none_get), (interpolate_none_get),
(interpolate_none_get_boolean_value_array),
(interpolate_none_get_enum_value_array),
(interpolate_none_get_string_value_array),
(_interpolate_trigger_get), (interpolate_trigger_get),
(interpolate_trigger_get_boolean_value_array),
(interpolate_trigger_get_enum_value_array),
(interpolate_trigger_get_string_value_array):
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_control_point_free), (gst_interpolation_control_source_reset),
(gst_interpolation_control_source_new),
(gst_interpolation_control_source_set_interpolation_mode),
(gst_interpolation_control_source_bind),
(gst_control_point_compare), (gst_control_point_find),
(gst_interpolation_control_source_set_internal),
(gst_interpolation_control_source_set),
(gst_interpolation_control_source_set_from_list),
(gst_interpolation_control_source_unset),
(gst_interpolation_control_source_unset_all),
(gst_interpolation_control_source_get_all),
(gst_interpolation_control_source_get_count),
(gst_interpolation_control_source_init),
(gst_interpolation_control_source_finalize),
(gst_interpolation_control_source_dispose),
(gst_interpolation_control_source_class_init):
* libs/gst/controller/gstinterpolationcontrolsource.h:
* libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
API: Refactor GstController into the core controller which can take
a GstControlSource for providing actual values for timestamps.
Implement a interpolation control source and use this for backward
compatibility, deprecate a bunch of functions that are now handled
by GstControlSource or GstInterpolationControlSource.
Make it possible to disable the controller completely or only for
specific properties. Fixes #450711.
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
* docs/libs/gstreamer-libs.types:
Add new functions and classes to the docs.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
* tests/examples/controller/audio-example.c: (main):
Port unit test and example to the new API and add some new
unit tests.

17 years agoplugins/elements/gstmultiqueue.c: Implement non-default GstPadIntLinkFunction for...
Mark Nauwelaerts [Thu, 5 Jul 2007 09:06:02 +0000 (09:06 +0000)]
plugins/elements/gstmultiqueue.c: Implement non-default GstPadIntLinkFunction for multiqueue pads so that the pipelin...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* plugins/elements/gstmultiqueue.c:
(gst_multi_queue_get_internal_links), (apply_buffer),
(single_queue_overrun_cb), (gst_single_queue_new):
Implement non-default GstPadIntLinkFunction for multiqueue pads so that
the pipeline layout can be tracked correctly. Fixes #453732.

17 years agodocs/: Simplity --extra-dir as gtkdoc scans recursively.
Stefan Kost [Thu, 5 Jul 2007 08:42:42 +0000 (08:42 +0000)]
docs/: Simplity --extra-dir as gtkdoc scans recursively.

Original commit message from CVS:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/plugins/Makefile.am:
Simplity --extra-dir as gtkdoc scans recursively.

17 years agotools/gst-launch.c: When we got an error, there is no point in waiting for preroll...
Wim Taymans [Tue, 3 Jul 2007 17:01:51 +0000 (17:01 +0000)]
tools/gst-launch.c: When we got an error, there is no point in waiting for preroll when shutting down.

Original commit message from CVS:
* tools/gst-launch.c: (main):
When we got an error, there is no point in waiting for preroll when
shutting down.

17 years agoplugins/elements/gsttee.c: Be a lot smarter when deciding what srcpad to use for...
Wim Taymans [Tue, 3 Jul 2007 16:26:29 +0000 (16:26 +0000)]
plugins/elements/gsttee.c: Be a lot smarter when deciding what srcpad to use for proxying the buffer_alloc. Also hand...

Original commit message from CVS:
* plugins/elements/gsttee.c: (gst_tee_base_init),
(gst_tee_request_new_pad), (gst_tee_release_pad),
(gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
(gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
(gst_tee_chain):
Be a lot smarter when deciding what srcpad to use for proxying
the buffer_alloc. Also handle pad added/removed when doing so.
Fixes #357959.
Keep track of what pads we already pushed on in case we have pads
added/removed while pushing. Fixes #374639
* tests/check/Makefile.am:
* tests/check/elements/tee.c: (handoff), (GST_START_TEST),
(tee_suite):
Added unit test for pad resync.

17 years agopo/: Updated translations.
Thomas Vander Stichele [Sun, 1 Jul 2007 21:31:18 +0000 (21:31 +0000)]
po/: Updated translations.

Original commit message from CVS:
* po/nl.po:
* po/sv.po:
Updated translations.

17 years agopo/: Added new Finnish translation.
Thomas Vander Stichele [Sun, 1 Jul 2007 21:30:09 +0000 (21:30 +0000)]
po/: Added new Finnish translation.

Original commit message from CVS:
translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
* po/LINGUAS:
* po/fi.po:
Added new Finnish translation.

17 years agoplugins/elements/gstmultiqueue.c: When figuring out when a queue is filled, use our...
Wim Taymans [Thu, 28 Jun 2007 11:25:17 +0000 (11:25 +0000)]
plugins/elements/gstmultiqueue.c: When figuring out when a queue is filled, use our internal time estimate based on s...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (apply_buffer),
(single_queue_overrun_cb):
When figuring out when a queue is filled, use our internal time estimate
based on segments, just like check_full does.

17 years agoMention bug 430682 closed by previous commit.
Jan Schmidt [Wed, 27 Jun 2007 11:47:46 +0000 (11:47 +0000)]
Mention bug 430682 closed by previous commit.

Original commit message from CVS:

Mention bug 430682 closed by previous commit.

17 years agogst/gstminiobject.c: Remove 3 do-nothing methods.
Stefan Kost [Wed, 27 Jun 2007 11:43:04 +0000 (11:43 +0000)]
gst/gstminiobject.c: Remove 3 do-nothing methods.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_get_type):
Remove 3 do-nothing methods.

17 years agoplugins/elements/gstcapsfilter.c: Take a reference instead of a copy when setting...
Tim Angus [Wed, 27 Jun 2007 11:24:08 +0000 (11:24 +0000)]
plugins/elements/gstcapsfilter.c: Take a reference instead of a copy when setting "caps".

Original commit message from CVS:
Patch by: Tim Angus <tim at ngus dot net>
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
(gst_capsfilter_set_property):
Take a reference instead of a copy when setting "caps".
Fix documentation to clarify this behaviour. Fixes #449414.

17 years agogst/: Remove empty instance_init() functions to save relocs and lessen the noise...
Stefan Kost [Wed, 27 Jun 2007 10:12:14 +0000 (10:12 +0000)]
gst/: Remove empty instance_init() functions to save relocs and lessen the noise. Remove some of the function prototy...

Original commit message from CVS:
* gst/gstindexfactory.c: (gst_index_factory_get_type):
* gst/gstplugin.c: (gst_plugin_init):
* gst/gstpluginfeature.c: (gst_plugin_feature_init):
* gst/gstquery.c: (gst_query_get_type):
* gst/gstregistry.c: (gst_registry_init):
* gst/gsturi.c: (gst_uri_handler_base_init):
Remove empty instance_init() functions to save relocs and lessen the
noise. Remove some of the function prototypes that are doubled by
G_DEFINE_TYPE.

17 years agogst/gstghostpad.c: Add peer and direction in the XML serialisation of ghostpads.
Étienne Noreau-Hébert [Wed, 27 Jun 2007 09:34:01 +0000 (09:34 +0000)]
gst/gstghostpad.c: Add peer and direction in the XML serialisation of ghostpads.

Original commit message from CVS:
Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
* gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
Add peer and direction in the XML serialisation of ghostpads.
Fixes #449226.

17 years agoconfigure.ac: Preserve useful information, thanks Tim.
Stefan Kost [Tue, 26 Jun 2007 16:24:20 +0000 (16:24 +0000)]
configure.ac: Preserve useful information, thanks Tim.

Original commit message from CVS:
* configure.ac:
Preserve useful information, thanks Tim.

17 years agoplugins/elements/gstmultiqueue.*: Take the multiqueue lock when updating the fill...
Jan Schmidt [Tue, 26 Jun 2007 14:45:15 +0000 (14:45 +0000)]
plugins/elements/gstmultiqueue.*: Take the multiqueue lock when updating the fill level so we don't get confused.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
(gst_single_queue_flush), (apply_segment), (apply_buffer),
(gst_single_queue_push_one), (gst_multi_queue_loop),
(gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
(gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
(compute_high_id), (gst_single_queue_new):
* plugins/elements/gstmultiqueue.h:
Take the multiqueue lock when updating the fill level so we don't get
confused.
After applying a buffer or event on the src pad segment, make sure to
call gst_data_queue_limits_changed() to get the data queue to unblock
and check the filled state again.
Rework the not-linked pad handling so the logic is that not-linked
pads can push as fast as they like, but only so they never get
ahead of any linked pads.
* tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
(mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
(run_output_order_test), (GST_START_TEST), (multiqueue_suite):
Add a test to check that not-linked pads always stay behind
linked pads.

17 years agodocs/random/release: Some updates to the release procedure.
Jan Schmidt [Tue, 26 Jun 2007 11:57:23 +0000 (11:57 +0000)]
docs/random/release: Some updates to the release procedure.

Original commit message from CVS:
* docs/random/release:
Some updates to the release procedure.

17 years agogst/gstelementfactory.c: Microoptimization that saves stunning 80 bytes.
Stefan Kost [Tue, 26 Jun 2007 08:26:36 +0000 (08:26 +0000)]
gst/gstelementfactory.c: Microoptimization that saves stunning 80 bytes.

Original commit message from CVS:
* gst/gstelementfactory.c: (__gst_element_details_clear):
Microoptimization that saves stunning 80 bytes.

17 years agodocs/plugins/: Update docs with caps info.
Stefan Kost [Mon, 25 Jun 2007 12:35:46 +0000 (12:35 +0000)]
docs/plugins/: Update docs with caps info.

Original commit message from CVS:
* docs/plugins/gstreamer-plugins.args:
* docs/plugins/inspect/plugin-coreelements.xml:
* docs/plugins/inspect/plugin-coreindexers.xml:
Update docs with caps info.

17 years agopo/it.po: Updated Italian translation.
Thomas Vander Stichele [Sat, 23 Jun 2007 22:56:28 +0000 (22:56 +0000)]
po/it.po: Updated Italian translation.

Original commit message from CVS:
* po/it.po:
Updated Italian translation.

17 years agofix win32 arch
Thomas Vander Stichele [Sat, 23 Jun 2007 11:19:16 +0000 (11:19 +0000)]
fix win32 arch

Original commit message from CVS:
fix win32 arch

17 years ago80 line fix
Thomas Vander Stichele [Sat, 23 Jun 2007 11:18:46 +0000 (11:18 +0000)]
80 line fix

Original commit message from CVS:
80 line fix

17 years agopo/: Update Vietnamese translations.
Thomas Vander Stichele [Sat, 23 Jun 2007 11:15:11 +0000 (11:15 +0000)]
po/: Update Vietnamese translations.

Original commit message from CVS:
* ChangeLog:
* po/vi.po:
Update Vietnamese translations.

17 years agolibs/gst/base/gstbasesink.c: Remove unused signal enum.
Tim-Philipp Müller [Thu, 21 Jun 2007 22:37:27 +0000 (22:37 +0000)]
libs/gst/base/gstbasesink.c: Remove unused signal enum.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
Remove unused signal enum.

17 years agoupdate MAINTAINERS file to reflect current realities better
Christian Schaller [Thu, 21 Jun 2007 18:00:58 +0000 (18:00 +0000)]
update MAINTAINERS file to reflect current realities better

Original commit message from CVS:
update MAINTAINERS file to reflect current realities better

17 years agoBeef up and include the docs for gst_type_register_static_full and gst_element_class_...
Jan Schmidt [Thu, 21 Jun 2007 16:39:01 +0000 (16:39 +0000)]
Beef up and include the docs for gst_type_register_static_full and gst_element_class_set_details_simple and add the A...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.c:
* gst/gstutils.c: (gst_type_register_static_full):
Beef up and include the docs for gst_type_register_static_full and
gst_element_class_set_details_simple and add the API keyword
in the ChangeLog.

17 years agoplugins/elements/gstmultiqueue.c: Fix setting max-* properties after adding queues.
Wim Taymans [Thu, 21 Jun 2007 14:35:03 +0000 (14:35 +0000)]
plugins/elements/gstmultiqueue.c: Fix setting max-* properties after adding queues.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
(update_time_level), (gst_single_queue_push_one),
(gst_multi_queue_chain), (gst_multi_queue_sink_event),
(single_queue_overrun_cb), (single_queue_underrun_cb),
(single_queue_check_full):
Fix setting max-* properties after adding queues.
Use IS_FILLED for checking visible items.
Signal overrun if multiple queues overrun.
Add extra debug output.
Patch by: Wim Taymans <wim@fluendo.com>

17 years agoSaving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
Stefan Kost [Thu, 21 Jun 2007 14:29:05 +0000 (14:29 +0000)]
Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_set_details_simple):
* gst/gstelement.h:
* gst/gstutils.c: (gst_type_register_static_full):
* gst/gstutils.h:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
* plugins/elements/gstidentity.c: (gst_identity_base_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
* plugins/elements/gstqueue.c: (gst_queue_base_init),
(apply_buffer), (gst_queue_chain):
* plugins/elements/gsttee.c: (gst_tee_base_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_base_init),
(gst_type_find_element_class_init):
Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.

17 years agodocs/pwg/advanced-types.xml: Fix typo in iana.org URI.
Tim-Philipp Müller [Thu, 21 Jun 2007 09:46:02 +0000 (09:46 +0000)]
docs/pwg/advanced-types.xml: Fix typo in iana.org URI.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Fix typo in iana.org URI.

17 years agotests/check/pipelines/simple-launch-lines.c
Andy Wingo [Tue, 19 Jun 2007 21:58:30 +0000 (21:58 +0000)]
tests/check/pipelines/simple-launch-lines.c

Original commit message from CVS:
2007-06-19  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/simple-launch-lines.c
(test_state_change_returns): Enable pull-mode tests now that
basesink has been fixed.

* libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
Changed from gst_base_sink_is_prerolled, reversing the sense of
the return value. Returns FALSE also if the sink is in pull mode,
in which case it needs no preroll.
(gst_base_sink_query, gst_base_sink_change_state): Update for
needs_preroll change.
(gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
chaining up, in which we return SUCCESS directly if we activated
in pull mode instead of ASYNC. Involves countering an async_start
message sent before chaining up; not sure if this is correct, in
an ideal world we only send async-start when activating in push
mode.

17 years agotests/check/pipelines/simple-launch-lines.c
Andy Wingo [Tue, 19 Jun 2007 21:28:54 +0000 (21:28 +0000)]
tests/check/pipelines/simple-launch-lines.c

Original commit message from CVS:
2007-06-19  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/simple-launch-lines.c
(test_state_change_returns): New test, partially disabled until
basesink is fixed.

17 years agoplugins/elements/gstmultiqueue.c: Fix event leak.
Wim Taymans [Tue, 19 Jun 2007 16:05:11 +0000 (16:05 +0000)]
plugins/elements/gstmultiqueue.c: Fix event leak.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (apply_buffer),
(gst_multi_queue_sink_event):
Fix event leak.

17 years agogst/gstbin.c: Move the common code for posting state-change messages into one function.
Wim Taymans [Tue, 19 Jun 2007 10:41:33 +0000 (10:41 +0000)]
gst/gstbin.c: Move the common code for posting state-change messages into one function.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_change_state_func), (bin_push_state_continue),
(bin_handle_async_start), (bin_handle_async_done),
(gst_bin_handle_message_func):
Move the common code for posting state-change messages into
one function.
Broadcast the state signal after we posted the messages.
Mark the bin as busy when it's doing a state-change.
Make sure async-start/done messages don't interfere with the bin's
state when it's busy.
After the state change, let the bin check which elements completed the
state change while it was busy so that it can update its state.

17 years agodocs/random/release: Add a note about updating the doap file to the release checklist
Jan Schmidt [Tue, 19 Jun 2007 10:38:39 +0000 (10:38 +0000)]
docs/random/release: Add a note about updating the doap file to the release checklist

Original commit message from CVS:
* docs/random/release:
Add a note about updating the doap file to the release checklist

17 years agoplugins/elements/gstmultiqueue.c: Make sure we don't reference the buffer/event after...
Wim Taymans [Mon, 18 Jun 2007 16:44:07 +0000 (16:44 +0000)]
plugins/elements/gstmultiqueue.c: Make sure we don't reference the buffer/event after we have given away ownership in...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (apply_buffer),
(gst_single_queue_push_one), (gst_multi_queue_chain),
(gst_multi_queue_sink_event):
Make sure we don't reference the buffer/event after we have given away
ownership in the queue.

17 years agoplugins/elements/gstmultiqueue.c: Update queue state _after_ adding the item in the...
Wim Taymans [Mon, 18 Jun 2007 15:15:32 +0000 (15:15 +0000)]
plugins/elements/gstmultiqueue.c: Update queue state _after_ adding the item in the queue because else we could end u...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
(gst_multi_queue_chain), (gst_multi_queue_sink_event):
Update queue state _after_ adding the item in the queue because else we
could end up being full without the element added yet.

17 years agogst/gstbin.*: Immediatly commit the toplevel bin state when receiving an async-done...
Wim Taymans [Mon, 18 Jun 2007 15:12:28 +0000 (15:12 +0000)]
gst/gstbin.*: Immediatly commit the toplevel bin state when receiving an async-done message. This enables us to avoid...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
(gst_bin_remove_func), (gst_bin_get_state_func),
(gst_bin_element_set_state), (gst_bin_continue_func),
(bin_push_state_continue), (bin_handle_async_start),
(bin_handle_async_done), (gst_bin_handle_message_func):
* gst/gstbin.h:
Immediatly commit the toplevel bin state when receiving an async-done
message. This enables us to avoid spawning a thread to commit the state
in some common cases and it also avoids some races.
Avoid spawning a state thread when adding/removing async elements to a
toplevel bin. Instead we immediatly update the bin state.
Get rid of iterating all the children when getting the state in the bin
because it is now always up-to-date.
Fix bug where locked elements would always return _SUCCESS even it they
returned NO_PREROLL before being locked.
Fix the order of the state_change, async-start/done messages that was
sometimes incorrect.
Mark the state_dirty field as deprecated, we don't need it anymore as we
are always up-to-date.
* gst/gstelement.c: (gst_element_get_state_func),
(gst_element_continue_state):
Small debug inprovements.
Return the previous element state return when nothing is pending instead
of blindly returning SUCCESS.
* tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
(gst_sinks_suite):
Add a whole bunch of new testcases.

17 years agopo/: Update translations.
Thomas Vander Stichele [Sun, 17 Jun 2007 17:26:48 +0000 (17:26 +0000)]
po/: Update translations.

Original commit message from CVS:
* po/uk.po:
* po/vi.po:
Update translations.

17 years agogst/gstpad.c: Fix typo in the docs.
Jan Schmidt [Fri, 15 Jun 2007 14:37:28 +0000 (14:37 +0000)]
gst/gstpad.c: Fix typo in the docs.

Original commit message from CVS:
* gst/gstpad.c:
Fix typo in the docs.

17 years agodocs/libs/gstreamer-libs-sections.txt: Add docs for new methods.
Wim Taymans [Fri, 15 Jun 2007 11:49:24 +0000 (11:49 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add docs for new methods.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add docs for new methods.

17 years agoplugins/elements/gstmultiqueue.c: Don't use GSlice because we don't depend on >=...
Wim Taymans [Fri, 15 Jun 2007 11:35:22 +0000 (11:35 +0000)]
plugins/elements/gstmultiqueue.c: Don't use GSlice because we don't depend on >= 2.10 yet.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
(gst_multi_queue_item_new):
Don't use GSlice because we don't depend on >= 2.10 yet.

17 years agoplugins/elements/gstmultiqueue.c: Remove debug printf.
Wim Taymans [Fri, 15 Jun 2007 11:09:38 +0000 (11:09 +0000)]
plugins/elements/gstmultiqueue.c: Remove debug printf.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
(update_time_level), (apply_segment), (apply_buffer),
(gst_single_queue_push_one), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
(gst_multi_queue_sink_event), (single_queue_overrun_cb),
(single_queue_underrun_cb), (single_queue_check_full):
Remove debug printf.

17 years agolibs/gst/base/gstdataqueue.*: Various cleanups.
Wim Taymans [Fri, 15 Jun 2007 11:00:32 +0000 (11:00 +0000)]
libs/gst/base/gstdataqueue.*: Various cleanups.

Original commit message from CVS:
* libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
(gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
(gst_data_queue_set_flushing), (gst_data_queue_push),
(gst_data_queue_pop), (gst_data_queue_drop_head),
(gst_data_queue_limits_changed), (gst_data_queue_get_level):
* libs/gst/base/gstdataqueue.h:
Various cleanups.
Added methods to get the current levels and to inform the queue that the
'full' limits changed.
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
(gst_multi_queue_finalize), (gst_multi_queue_set_property),
(gst_single_queue_flush), (update_time_level), (apply_segment),
(apply_buffer), (gst_single_queue_push_one),
(gst_multi_queue_item_steal_object),
(gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_chain),
(gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
(gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
(gst_multi_queue_src_query), (single_queue_overrun_cb),
(single_queue_underrun_cb), (single_queue_check_full),
(gst_single_queue_new):
Keep track of time in the queue by measuring the difference between
running_time on input and output. This gives more accurate results and
can compensate for segments correctly.
Make a queue by default only 5 buffers deep. We will now increase the
buffer size depending on the filledness of the other queues.
Factor out commong flush code.
Make sure we don't add additional refcounts to buffers when we can avoid
it.
Propagate GstFlowReturn differently.
Use GSlice for intermediate GstMultiQueueItems.
Keep track of EOS.
Resize queues on over and underruns based on filled level of other
queues.
When checking if the queue is filled, prefer to measure in time if we
can and fall back to bytes when no time is known.
* plugins/elements/gstqueue.c:
Fix return value.

17 years agolibs/gst/base/gstbasetransform.c: Work around the brokenness of the event vmethod...
Wim Taymans [Fri, 15 Jun 2007 10:48:19 +0000 (10:48 +0000)]
libs/gst/base/gstbasetransform.c: Work around the brokenness of the event vmethod in basetransform. Prefer to return ...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_event):
Work around the brokenness of the event vmethod in basetransform. Prefer
to return TRUE when the subclass returned FALSE (meaning don't forward
the event).
* libs/gst/base/gstbasetransform.h:
Clarify the docs.

17 years agoImprove debugging.
Wim Taymans [Fri, 15 Jun 2007 10:43:51 +0000 (10:43 +0000)]
Improve debugging.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_get_range),
(gst_base_src_start):
* tests/check/pipelines/parse-launch.c: (setup_pipeline):
Improve debugging.

17 years agodocs/pwg/advanced-types.xml: Added more formats to caps table.
Stefan Kost [Fri, 15 Jun 2007 07:27:00 +0000 (07:27 +0000)]
docs/pwg/advanced-types.xml: Added more formats to caps table.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Added more formats to caps table.

17 years agotools/gst-launch.c: Remove crufy code. GOption does not need this workaround.
Stefan Kost [Fri, 15 Jun 2007 07:02:04 +0000 (07:02 +0000)]
tools/gst-launch.c: Remove crufy code. GOption does not need this workaround.

Original commit message from CVS:
* tools/gst-launch.c: (main):
Remove crufy code. GOption does not need this workaround.

17 years agolibs/gst/controller/gstcontroller.c: Fix wrong getter for enums in controller.
Stefan Kost [Thu, 14 Jun 2007 20:29:09 +0000 (20:29 +0000)]
libs/gst/controller/gstcontroller.c: Fix wrong getter for enums in controller.

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
Fix wrong getter for enums in controller.

17 years agolibs/gst/check/gstcheck.c: Intercept criticals and warnings in the Gst-Phonon log...
Tim-Philipp Müller [Thu, 14 Jun 2007 17:36:19 +0000 (17:36 +0000)]
libs/gst/check/gstcheck.c: Intercept criticals and warnings in the Gst-Phonon log domain, so

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_init):
Intercept criticals and warnings in the Gst-Phonon log domain, so
ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
well.

17 years agogst/gstparamspecs.c: Since this file doesn't include "gst.h" it will not go through...
Edward Hervey [Thu, 14 Jun 2007 16:07:09 +0000 (16:07 +0000)]
gst/gstparamspecs.c: Since this file doesn't include "gst.h" it will not go through the macros that disable GST_LOG i...

Original commit message from CVS:
* gst/gstparamspecs.c: (_gst_param_fraction_validate):
Since this file doesn't include "gst.h" it will not go through the
macros that disable GST_LOG if debugging was disabled.

17 years agoUgly 'fix' for the controller unit test on the p5 bot: in fail_unless_equals_float...
Tim-Philipp Müller [Thu, 14 Jun 2007 15:56:03 +0000 (15:56 +0000)]
Ugly 'fix' for the controller unit test on the p5 bot: in fail_unless_equals_float() check whether the values are 'al...

Original commit message from CVS:
* libs/gst/check/Makefile.am:
* libs/gst/check/gstcheck.h:
* pkgconfig/gstreamer-check-uninstalled.pc.in:
* pkgconfig/gstreamer-check.pc.in:
Ugly 'fix' for the controller unit test on the p5 bot: in
fail_unless_equals_float() check whether the values are 'almost
equal' by allowing a small absolute error, which should be good
enough for our use cases (normal numbers and values close to 0).
Proper fixage left to floating point arithmetic aficionados.

17 years agolibs/gst/base/gstbasesink.c: Add two breaks thats where missing.
Stefan Kost [Thu, 14 Jun 2007 12:03:44 +0000 (12:03 +0000)]
libs/gst/base/gstbasesink.c: Add two breaks thats where missing.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
(gst_base_sink_render_object), (gst_base_sink_get_position):
Add two breaks thats where missing.

17 years agoAPI: add fail_unless_equals_float() and assert_equals_float().
Tim-Philipp Müller [Thu, 14 Jun 2007 11:56:44 +0000 (11:56 +0000)]
API: add fail_unless_equals_float() and assert_equals_float().

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/check/gstcheck.h:
API: add fail_unless_equals_float() and assert_equals_float().
Add documentation for some of the macros.
* tests/check/libs/controller.c: (GST_START_TEST):
Use newly-added asserts.

17 years agogst/gstpad.c: Show the caps change in the log to help spotting the case of not exactl...
Stefan Kost [Thu, 14 Jun 2007 10:33:28 +0000 (10:33 +0000)]
gst/gstpad.c: Show the caps change in the log to help spotting the case of not exactly matching caps.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
Show the caps change in the log to help spotting the case of not
exactly matching caps.